0% found this document useful (0 votes)
17 views

What Kind of Database Do You Use? Do You Use A Static or Dynamic/configurable Domain Model? What Is The Main Focus of Your Use Cases?

The document discusses factors to consider when determining whether to use JPA for a project, including database type (NoSQL vs relational), domain model flexibility, use case focus (CRUD, reporting, etc.), and complexity of queries. It provides a decision tree to help evaluate these factors and determine if JPA is a good fit or alternative options may be better suited.

Uploaded by

Adolf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

What Kind of Database Do You Use? Do You Use A Static or Dynamic/configurable Domain Model? What Is The Main Focus of Your Use Cases?

The document discusses factors to consider when determining whether to use JPA for a project, including database type (NoSQL vs relational), domain model flexibility, use case focus (CRUD, reporting, etc.), and complexity of queries. It provides a decision tree to help evaluate these factors and determine if JPA is a good fit or alternative options may be better suited.

Uploaded by

Adolf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Should you use JPA for your next project?

What kind of database do you use?


NoSQL Relational database

Do you use a static or dynamic/configurable


domain model?
dynamic static

What is the main focus of your use


cases?
Complex A little bit of Standard
reporting both CRUD
/ data
mining

How many highly complex


queries, stored procedures,
and custom database
functions will you have?
No, the A lot A few Not that
mapping many
define-
tion is
No, JPA pretty No, it’s No, JPA Yes, JPA
and static easier to and and Yes, this
Hibernate and imple- Hibernate Hibernate is a great
are not a can’t be ment the are not a can be a applica-
good fit easily required good fit good fit tion for
for adapted complex for this for this JPA and
NoSQL at queries applica- applica- Hiber-
databases. runtime. with SQL. tion. tion. nate.

www.thoughts-on-java.org

You might also like