I have built an application using JPA in an EJB container. Here\'s my code @PersistenceContext(unitName = \"damate-pu\")
I\'m doing some JPA 2.0 queries inside my JEE6-app, where I use Named Queries with Parameters. My current query is a \"find-by-all\" query with just one parameter.
Auto generating entities from a legacy database. Many of the tables have non standard date formats. All kinds of esoteric use of 开发者_如何学Cint fields... where one may contain century, year, month,
I am trying to do mapping in JPA. @Entity public class Auction { @Id private Integer auctionId; @OneToMany(mappedBy=\"auctionId\")
It is possible to inject entity manager (or its factory) into jsf managed bean using @PersistenceContext (or @PersistenceUnit)?
I am using Hibernate as persistence provider and modelling my entities with JPA 2. Now a question came up and i hope you can help me.
I am using OpenJPA and HSQLDB for my current project. But I am unable to generate JPA entities from the HSQLDB because eclipse plugin is not giving me an option to select the schema.
I\'m using the OpenJPA implementation of JPA 2 and am having problems persisting an object to the database. I want to use transactions managed by the container (Websphere), so my understanding is that
I am using JPA 2.0 (EclipseLink provider) with Glassfish v3.0.1 and NetBeans 6.9.1 and am NOT able to see the queries and other logging information from JPA 2.0. Essentially I want to be able to see a
Which of the following collection types do you use in your JPA domain model and why: java.util.Collection