The jpa tag has no wiki summary.
8
votes
3answers
2k views
“Oracle Certified Expert, Java Platform, Enterprise Edition 6 Java Persistence API Developer” Preparation
I have been working with Hibernate for a fews years now, and I want to solidify and demonstrate my knowledge by taking the Oracle JPA certification, also known as:
"Oracle Certified Expert, Java ...
3
votes
3answers
354 views
When Business Object fields should not exactly reflect database columns
Main advantage with Hibernate annotations is the fact that a simple POJO (also called a Business Object the most of time) can become persistent through Hibernate annotations (or actually JPA) .
In ...
3
votes
1answer
829 views
IntelliJ with Maven compilation
I have a project that needs Hibernate jars.
I added them as dependencies in the pom.xml and Maven compiles my project well.
However, in the IDE, all annotations and calls to Hibernate API are marked ...
2
votes
3answers
250 views
in doubt of using code generators
I am now entering the world of java ee 6. And I am supposed to used different technologies like jsf, jpa, different kinds of beans and all that stuff.
I am learning using the netbeans IDE, which is, ...
2
votes
2answers
101 views
Entity to DTO Usage
Been trying to come up with a flow for a basic tiered web application, and have been reading conflicting information online. What I'm trying to figure out is if there is an advantage to still using ...
2
votes
1answer
538 views
When using Java Persistence API (JPA), which layer owns the entities?
When working with annotations on entities in JPA, do these entities belong to the model layer or the persistence layer?
Does there have to be some kind of clone of the entities (simple JavaBeans) in ...
2
votes
4answers
221 views
Should OO design, or database design, drive the coding of my @Entity classes?
I have two classes that I want related to each other in an JEE application using JPA2. In an OO world, I would say that a Chatroom has an attribute List messages. In the relational world composition ...
2
votes
2answers
256 views
When designing data models for JPA, what's the best way to make use of polymorphism?
I've been asked to support a Java EE application. The data model was poorly-designed and will not support several necessary use cases; so I'm developing a new data model using EclipseLink (the old one ...
1
vote
2answers
537 views
Is JSF and JPA worth learning?
I'm attending a company sponsored training event for JSF and JPA that crams 10 days of training into 5 days. I plan on getting all that I can out of the class, but there is no "final exam".
1
vote
1answer
293 views
Has JPA replaced CMP?
No question too stupid right :)
Came across this on wikipedia
The Java Persistence API replaces the persistence solution of EJB 2.0
CMP (Container Managed Persistence).
My understanding was ...
1
vote
2answers
776 views
Designing complex query builders in java/jpa/hibernate
I need to build complex sql queries programatically, based on large filter conditions.
For example, below are few sample/hypothitical filter conditions, based on which i need to fetch users
Country: ...
0
votes
0answers
29 views
Uniqueness: “automatic detection” using reflection or by abstract method implementation
I'm creating a framework for a certain use case. The framework uses spring data and JPA and provides abstract entities and services the user must extend according to his needs.
The service classes ...
-1
votes
5answers
1k views
Which simple Java JPA ORM tool to use ?
What Java ORM library implementing JPA that match following criteria would you recommend and why ?
free & open source
alive (at least bug fixes and a mailing list)
with good documentation
...
