Home » Search

About GeneratedValue

71-80 of 127Refresh
Forum
2

Unable to persist fields in subclass

; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javafx.beans.property ... SimpleAbstractPersonTest { /** * */ @Id @GeneratedValue private long id; private int medicalRecordNumber
Forum
2

Version 2.2.7 build 7/8 issue

Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue ... { private static final long serialVersionUID = 1L; @Id @GeneratedValue private Long id
Forum
2

Wrong data stored in time only fields

.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.GeneratedValue; import ... ();             }         }                 @Id         @GeneratedValue(strategy=GenerationType.SEQUENCE
Forum
1

"where in" query

{         @Id @GeneratedValue long id;     } } Thanks. That would be fine if upgrading didn't break
Forum
1

@Column( name = "columnName") doesn't work

I have created following entity class with custom fields @Entity public class AfwDataKey { @Id @GeneratedValue @Column(name = "KEY_ID") private long id; private Long timestamp; @ManyToOne @Column(name = "KEY_DESCRIPTOR") private AfwKeyDescriptor keyDescriptor
Forum
1

@ElementCollection of type enum

MyEntity {         @Id @GeneratedValue Long id;                 @ElementCollection @Enumerated
Forum
1

_PersistenceException: Type is not found on getSingleResult.

Greetings. I'm new to ObjectDB. I'm using an ObjectDB local database for a Java SE standalone application and i'm having issues querying for an object of this entity: @Entity public class Estudiante{     @Id     @GeneratedValue     private Integer id;         @Column     private String
Forum
1

Accessing objects to make them available after EntityManager close?!

; @Id @GeneratedValue Long id; @Unique private String word; private Set meanings
Forum
1

Bulk Delete and Update - best practice?

.close(); } @Entity public static class CacheData { @GeneratedValue @Id long id
Forum
1

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

static final long serialVersionUID = 6677607256121084732L;     @Id     @GeneratedValue