ObjectDB ObjectDB

Internal Website Search

131-140 of 144 resultsRefresh

Lazy loading does not work - crud takes long

Project implements Serializable {     @Id     @GeneratedValue(strategy = GenerationType.SEQUENCE

Null enums and IS (NOT) NULL: NullPointerException

@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "asd") private int id

Extra uninitialised entities spawned on merge()

+ ")";         }         private Long id;         @Id         @GeneratedValue         public Long

Object comparation never matches

is: @Entity public class MobileCustomer extends Customer {     @Id @GeneratedValue     private

Listing large number of complicated objects with paging.

MyEntity {         @GeneratedValue @Id long id;         @Index int value;         byte[] data = new byte

How to query for list of lists ?

; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Basic(optional = false

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) private Long Id; private List<String

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 runs and my Account objects are persisted. But no exception is thrown

"where in" query

();     }         @Entity     public static final class Prez {         @Id @GeneratedValue long id

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null

WebReference implements Serializable { private @Id @GeneratedValue long id; public WebReference

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