ObjectDB ObjectDB

Internal Website Search

131-139 of 139 resultsRefresh

Performance issues on aggregate query

final long serialVersionUID = 1L; @Id @GeneratedValue public long id; @Index public Double

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

: @Id     @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="user_pwd_seq

problem with lazy loading - unittest project attached

GeneratedValue's strategy (in ObjectDB the SEQUENCE and TABLE strategies generate automatic values as

Object comparation never matches

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

Navigation through Path to evaluate collection

; } @Entity public class ProductData implements Serializable {     @Id @GeneratedValue     private

@Column( name = "columnName") doesn't work

I have created following entity class with custom fields @Entity public class AfwDataKey { @Id @GeneratedValue @Column(name = "KEY_ID") private long id; private Long timestamp; @ManyToOne @Column(name = "KEY_DESCRIPTOR") private AfwKeyDescriptor keyDescriptor

Problem with @UniqueConstraint

= { @UniqueConstraint(columnNames = { "NAME" }) }) public static final class CI { @Id @GeneratedValue

Change Sequcene Id

MyEntity is defined with JPA @Entity public class MyEntity {     @Id     @GeneratedValue

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