Home » Search

About GeneratedValue

101-110 of 131Refresh
Forum
1

Lazy loading does not work - crud takes long

Project implements Serializable {     @Id     @GeneratedValue(strategy = GenerationType.SEQUENCE
Forum
1

LifeCycle Event with Embeddable classes

Hello, is there a way that lifecycle events like prepersist or preupdate are also fired for embeddable classes, not just for entities? My case looks as follows: @Entity public class Foo { @Id @GeneratedValue private Long id; private String description; @OneToMany(cascade
Forum
1

Listing large number of complicated objects with paging.

MyEntity {         @GeneratedValue @Id long id;         @Index int value;         byte[] data = new
Forum
1

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

    static public class A {         @Id         @GeneratedValue         Long id;         String
Forum
1

Mismatch client-server protocol prefix

@GeneratedValue public Long getId() { return Id; } Regarding #2 and #3 - are these new issues
Forum
1

Navigation through Path to evaluate collection

; } @Entity public class ProductData implements Serializable {     @Id @GeneratedValue     private
Issue
1

Negative snapshot user count

();     }     @Entity     public static class MyEntity {         @GeneratedValue @Id long id;     } } Build 2.3.3_04 should fix this bug. felixobjectdb
Forum
1

Newbie : How to return the auto-generated ID

Hello, I am new to this community, as well as JPA and ObjectDB. I want to read the auto-generated ID when I persist a new entity (with @Id @GeneratedValue annotations applied). I am following the following link : http://www.objectdb.com/tutorial/jpa/eclipse/web/entity Thanks. The id is available in
Issue
1

NPE when doing a find()

I added a simple User entity during Tomcat startup: class User {  @Id @GeneratedValue private long id; @Basic(optional = false) private String firstName; private String middleName; @Basic(optional = false) private String lastName; } Everything works fine until I restart the server, which does a em
Forum
1

Null enums and IS (NOT) NULL: NullPointerException

@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "asd") private int id