Tagged Questions
-2
votes
0answers
16 views
JPQL Query ManyToOne [closed]
JPQL query for both ManyToOne Unidirectional and Bidirectional Relationship
class ParentEntity{
@Id
String parentId1; //composite key
@Id
String parentId2;
...
0
votes
1answer
35 views
Creating a separate project for JPA entities
Where I work it is a common practice to create a separate for JPA entities and a project for the web application (the WAR). So basically you have (at least) two project for each application - appJPA ...
-2
votes
0answers
48 views
Which features in java.util.concurrent are used in spring & JPA real applications [closed]
I'm a java developer, and in the last 4 months i have studied spring,hibernate and JPA.
I've heard that java server side developers that use this frameworks also combining it with java's ...
2
votes
2answers
184 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 ...
3
votes
3answers
367 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
900 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 ...
1
vote
2answers
808 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: ...
2
votes
1answer
562 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
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, ...
1
vote
1answer
314 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
555 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
votes
5answers
2k 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
...
