Internal Website Search
81-90 of 145 resultsRefreshMysterious "Attempt to persist a reference to a non managed instance" error.util.Map; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax ... class Index implements Serializable { @Id @GeneratedValue private long id | |
How to avoid NULL values on Embedded entities @GeneratedValue private long id;   | |
_PersistenceException: Type is not found on getSingleResult.; @GeneratedValue private Integer id;   | |
Performance issues on aggregate query> @Id @GeneratedValue public long id | |
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 | |
query on calendar class final long serialVersionUID = 1L; @Id @GeneratedValue   | |
Immediately retrieve unique id; private String sampleName; @GeneratedValue(strategy = GenerationType.SEQUENCE, generator | |
problem with lazy loading - unittest project attached_strategy">GeneratedValue's strategy  | |
Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance for the id: @Id @GeneratedValue | |
JPQL support for mapped by (inverse) collections; static class A { @Id @GeneratedValue long id ... ; static class B { @Id @GeneratedValue long id;   |