ObjectDB ObjectDB

Internal Website Search

61-70 of 139 resultsRefresh
8

@SequenceGenerator and single id in whole database

both the strategy and the generator attributes of the @GeneratedValue annotation. By using the IDENTITY ... (name = "XXX", sequenceName = "Seq_XXX", initialValue = 1000) @GeneratedValue(generator = "XXX") @Id
8

Wrong data stored in time only fields

.EntityManagerFactory; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType ...         @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="DateTime_sequence
8

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
8

openejb jpa jaas module

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

Bug: ClassCastException by retrieval

; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax ... .close();   emf.close(); } } @Entity class Node<TN> { @Id     @GeneratedValue(strategy
8

Does ObjectDB support lazy loading?

A { @Id @GeneratedValue Long id; @OneToMany(fetch=FetchType.LAZY, cascade=CascadeType.ALL) List list; } @Entity static class B { @Id @GeneratedValue public Long id
8

Relationships and tracking changes

static final long serialVersionUID = 1L; @Id @Column(name = "ID") @GeneratedValue(strategy ... @Column(name = "ID") @GeneratedValue(strategy = GenerationType.AUTO) private Long id; @ManyToOne
8

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
8

Trouble bug on explorer

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

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

_id") @GeneratedValue(strategy= GenerationType.TABLE) protected Long id; @Override ... > { @Id @Column(name = "project_id") @GeneratedValue(strategy= GenerationType.TABLE

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support