Internal Website Search

131-140 of 145 resultsRefresh

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

;  @GeneratedValue         Long id;     

Lazy loading does not work - crud takes long

; @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "PROJECT_SEQUENCE")   

Null enums and IS (NOT) NULL: NullPointerException

{ P1, P2 } @Id @GeneratedValue(strategy = GenerationType.SEQUENCE

Extra uninitialised entities spawned on merge()

;     @Id         @GeneratedValue   

Object comparation never matches

@GeneratedValue     private Long id; public void setPrincipal(PhoneNumber number){  

Listing large number of complicated objects with paging.

;      @GeneratedValue @Id long id;       

How to query for list of lists ?

{ private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy

How to apply constraints in collection attributes of entity.

How to apply constraints like unique, not null ...etc in collection attribute of a entity. Example : @Entity @Table(name = "agent") public class Agent implements Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO

How to create a Unique constraint?

Hi, I'm trying to create a unique constraint. Here is a simple example: @Entity public class Account { @Id @GeneratedValue private long id; @Index(unique="true") private String name; } The code

"where in" query

@GeneratedValue long id;     } } support Support Thanks.