i am using hibernate jpa, i can use jpql query successfully but i can\'t use criteria api. i have read JPA Criteria API missing and jar file for JPA 2.0, i added hibernate-jpa-2.0-api-1.0.1.Final file
I\'m working with JPA 2.0-EclipseLink-Hibernate 3 on MySQL 5. My classes structure is like below (I simplified it)
I\'m trying to create a custom way of computing and passing unique id\'s that follow my own pattern. Hibernate has the @GenericGenerator annotation that lets you map a custom class for computing a un
I\'m a bit confused while creating a criteriaQuery with JPA 2.0. Prerequisites: I have a Gui, where the user can mark some checkboxes of (let us say) wheatherstations with some options like temperatu
I am using EclipseLink in my web application, and I am having a hard time gracefully catching and handling Exceptions it generates.I see from this thread what seems to be a similar problem, but I don\
Is possible do injection in EntityManager with EclipseLink 2.3 ? This is my persistence.xml file: <?xml version=\"1.0\" encoding=\"UTF-8\"?>
I have Java EE application, where I have list of groups. I want to display number of items in every group, so I do:
I\'ve reverse engineered a sample MySQL database with Spring Roo, and I\'m trying to insert a record using the Customer entity in this way:
Is there any benchmark comparison of JPA 2 implementations? I need comparison from several aspects: simple entity ope开发者_如何学编程rations, collections, etc.This one might help:
For example I have the following two entity classes with a one-to-many relationship: public class A implements Serializable {