ObjectDB ObjectDB

Internal Website Search

131-140 of 144 resultsRefresh
6

Lazy loading does not work - crud takes long

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

Null enums and IS (NOT) NULL: NullPointerException

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

Extra uninitialised entities spawned on merge()

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

Object comparation never matches

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

Listing large number of complicated objects with paging.

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

How to query for list of lists ?

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

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
6

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
6

"where in" query

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

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