Home » Search

About GeneratedValue

61-70 of 130Refresh
Forum
1

List always null

I have the following classes: @Entity public class Noticia implements Serializable {     private static final long serialVersionUID = 1L;     @Id     @GeneratedValue(strategy ... static final long serialVersionUID = 1L;         @Id     @GeneratedValue(strategy
Forum
1

mappedBy problem

If I put the mappedBy element to the @OneToMany, the owned side (the many side) will never persist ! for example @Entity public class Employee { @Id @GeneratedValue(strategy = GenerationType ... { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) public Long id; public String line
Forum
1

Multi part paths in a composite index must have the same length

static final long serialVersionUID = 998L;     @Id @GeneratedValue long id;     @Index private Long ... ={"tStamp.value", "instrumentId"})     public static class OBN {         @Id @GeneratedValue long id
Forum
1

multiple LEFT JOINs do not work as expected

);                     }         return node;     }     @Entity     public static final class Node {         @GeneratedValue ... { @GeneratedValue @Id private long id; Node parent; int depth; String nodeId
Forum
1

Mysterious "Attempt to persist a reference to a non managed instance" error

.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import ... implements Serializable {     @Id @GeneratedValue private long id;     @OneToOne(fetch=EAGER, cascade
Forum
1

openejb jpa jaas module

; @GeneratedValue(strategy = GenerationType.SEQUENCE , generator = "gen") @Id private int ... = :mail") }) public class UserInfo implements Serializable { @GeneratedValue(strategy
Forum
1

Primary key generation problem after changing entity package

) @GeneratedValue(generator = "SEQ_BOARD", strategy = GenerationType.SEQUENCE) Also, when I modify ... )         @GeneratedValue(generator = "SEQ_BOARD", strategy = GenerationType.SEQUENCE)         Long id
Forum
1

Trouble bug on explorer

", initialValue=10000) @Entity public class User implements Serializable { @Id @GeneratedValue ... Language implements Serializable {     @Id @GeneratedValue // ID will be generated automatically
Forum
1

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
1

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