ObjectDB ObjectDB

Internal Website Search

41-50 of 144 resultsRefresh
9

Double persist of Entity field with Cascade.ALL

follows: @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String ... > chapters; The Chapter fields are as follows: @Id @GeneratedValue(strategy = GenerationType.AUTO
9

EntityManager refresh problem

entities; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public class SimpleEntity {     @Id @GeneratedValue private Long
9

Join query problem with new statetment

Inspiration extends BaseEntity implements Serializable, Convertable {     @GeneratedValue(strategy ... public class Product extends BaseEntity implements Serializable, Convertable {     @GeneratedValue
9

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
9

EntityManager getMetamodel() causes crash

.GeneratedValue; import javax.persistence.Id; /** * MyEntity */ @Entity public class MyEntity implements ... @GeneratedValue private long id; private String name; MyEntity(String name) { this.name
9

Error occured during initialization of boot layer

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

Beginners questions

") @GeneratedValue(strategy = GenerationType.AUTO) private Long id; @OneToMany (fetch=FetchType.LAZY,cascade ... serialVersionUID = 1L; @Id @Column(name = "ID") @GeneratedValue(strategy = GenerationType.AUTO) private Long
9

Date field Index is corrupted due to time change

; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax ...         @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="DateTime_sequence")         public Long getId
9

Database size is much larger than expected (x2)

.persistence.DiscriminatorValue; import javax.persistence.Entity; import javax.persistence.GeneratedValue ... false; } @Override public int hashCode() {   return sUrl.hashCode(); } @Id     @GeneratedValue
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