About identity

161-170 of 200Refresh
Issue
2

InternalException

-Existing/0 ERROR WorkflowRunner - The identity must not be null. javax.jdo.JDONullIdentityException: The identity must not be null. at javax.jdo.identity.SingleFieldIdentity.assertKeyNotNull(SingleFieldIdentity.java:92) at javax.jdo.identity.ObjectIdentity.(ObjectIdentity.java:60) at com
Issue
2

NullpointerException at a normal select

{     logger.debug("Ident: "+ident);     result = em.createQuery("Select c from Customer c where c.identifier=:id", Customer.class).setParameter("id", ident).getSingleResult(); } catch (javax.persistence ... -exec-9] DEBUG s.t.c.o.OrganizationService - Ident: default Oct 14, 2014 9:08:49 AM org.apache
Forum
1

A bidirectional OneToOne association with a shared primary key

one to one association, but it cannot be based on identical primary keys, i.e. the primary key will be stored at least on one side of the relationship, even if it is identical to the primary key
Forum
1

Attempt to execute a query using a closed EntityManager

(strategy = GenerationType.IDENTITY). 5. Any ideas why this would happen? @Stateless ClientC ... (strategy = GenerationType.IDENTITY)? Shouldn't it be there after the object's persistence/creation
Forum
1

Change Sequcene Id

("MyEntity$identity"); long currentValue = seq.currentValue(); // I would like to change currentValue ... (strategy=GenerationType.IDENTITY)     private Long id; }   You cannot set the next id of an existing
Forum
1

Database size is much larger than expected (x2)

. This is how it works in JPA (and JDO). Only entity objects have identity and support multiple references ...     @GeneratedValue(strategy=GenerationType.IDENTITY) int id; int iSize; String sUrl; public
Forum
1

Failed to generate dynamic type objectdb.java.util.ArrayList

(one for each class) that are identical to the one posted above. Any other ideas on what might cause ... build - the stack traces might be similar but not identical and that additional info could help
Forum
1

failure to enforce NOT NULL for java.lang.String

=GenerationType.IDENTITY) private Long id; @Unique @Persistent(nullValue=NullValue.EXCEPTION ... {         public Request() {         }         @Id @GeneratedValue(strategy=GenerationType.IDENTITY
Forum
1

Find the error...JPA ENTITY HIBERNATE

") @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; @Column(name = "username ... = GenerationType.IDENTITY) @Column(name = "id") private int id; @Column(name = "message") private String
Forum
1

find() cost unreasonable time!

    @GeneratedValue(strategy=GenerationType.IDENTITY) private int id; @ManyToOne @JoinColumn(name ... .IDENTITY) private int id; @ManyToOne @JoinColumn(name="parent") protected Nodes parent