I am trying to do a simple persistence with jpa 2.0 and derby but I keep getting a NullPointerException.
I have a simple class CustomQuoteRequest: public class CustomQuoteRequest { private String requestId; private String currencyPairCode;
I have the following two annotated classes that I use to build a graph: @Entity @Table(name = \"Edge\")
Let\'s say we have an entity @Entity public 开发者_开发知识库class Person { @Id int id; @Basic String name;
Let\'s say we have an entity object. Is there a way to extract a primary key from it? I want to do something like this:
I have a CriteriaBuilder and am trying to create a predicate to restrict results in a CollectionAttribute. I would like to say something like get all entities in this collection where the entity\'s at
Is there a possiblity in JPA 2.0 to set a collection for in-clause in jpql-query? (I\'m using EclipseLink)
I use Eclipselink as my JPA provider, 开发者_如何学编程how can I make a field auto increment?
I have the following entities: @Entity @Inheritance(开发者_运维技巧strategy=InheritanceType.SINGLE_TABLE)
I am a developer for a global application, which was deployed in a few countries whose languages were not a problem for us. But now, we\'re going to Slovakia, and we\'re having a bit of trouble with E