Internal Website Search

41-50 of 145 resultsRefresh

Double persist of Entity field with Cascade.ALL

. The Book fields are as follows: @Id @GeneratedValue(strategy ... are as follows: @Id @GeneratedValue(strategy = GenerationType.AUTO

ManyToMany Set is null

> Person implements Serializable,Subject {     @Id @GeneratedValueGeneratedValue     private long id;     @ManyToMany

EntityManager refresh problem

-------------------- package entities; import javax.persistence.Entity; import javax.persistence.GeneratedValue ... @GeneratedValue private Long primaryKey;     private String fieldA;    

Join query problem with new statetment

;@GeneratedValue(strategy = GenerationType.AUTO)     @Id      ... ;   @GeneratedValue(strategy = GenerationType.AUTO)     @Id

Does ObjectDB support lazy loading?

static class A { @Id @GeneratedValue Long id; @OneToMany(fetch=FetchType.LAZY ... @GeneratedValue public Long id; int value; B(int value) { this.value = value

EntityManager getMetamodel() causes crash

.persistence.GeneratedValue; import javax.persistence.Id; GeneratedValue private long id; private String name;

Error occured during initialization of boot layer

.persistence.GeneratedValue; import javax.persistence.Id; @Entity public class RequirementDBEntity ... = 5019171545896480392L; @Id @GeneratedValue private long id; private String name; private String

Beginners questions

serialVersionUID = 1L; @Id @Column(name = "ID") @GeneratedValue(strategy = GenerationType.AUTO) private ... serialVersionUID = 1L; @Id @Column(name = "ID") @GeneratedValue(strategy = GenerationType.AUTO) private Long

Date field Index is corrupted due to time change

.EntityManagerFactory; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType

After using the enhancer, Lazy loaded collections are no longer loading. They are set as null

@Column(name = "account_id") @GeneratedValue(strategy= GenerationType.TABLE) protected Long ... ") @GeneratedValue(strategy= GenerationType.TABLE) protected Long id; @Override