ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh
7

EntityManager getMetamodel() causes crash

; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence ... Serializable { private static final long serialVersionUID = 1L; @Id
7

Error occured during initialization of boot layer

objectDB; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence ... Serializable { /** * */ private static final long serialVersionUID
7

Composite Index error 328

Hi , when i try to use this entity as shown below: package persistence.jpa.models; import javax.jdo.annotations.Indices; import javax.persistence.*; import java.io.Serializable; import ... UsrlistEntity implements Serializable { private static final long serialVersionUID
7

OrphanRemoval not working?

Dear all, I have entities Invoice and InvoiceItem, their relation is defined: public class Invoice implements Serializable { ... @OneToMany(mappedBy="invoice", fetch=FetchType.EAGER ... ; ... } public class InvoiceItem implements Serializable { ... @ManyToOne private
7

New to Product & Having An Issue

.equals(:id)") }) public class Department implements Serializable { public static final long ... .... @Embeddable @Access(AccessType.PROPERTY) public class DomainId implements Serializable { public
7

Unexpected behaviour upon update. Bug?

This sample does not work as I expect. Why? Is it a bug? Below is the complete program. Expect: 3 Get: 4 import java.io.Serializable; import java.util.List; import javax.persistence.*; @Entity public class Update implements Serializable { @Id int i; int v; public
7

can't get HashMap out of the database

public class Guest implements Serializable { private static final long serialVersionUID = 1L ... is: @Embeddable public class Guest implements Serializable { private String name; private
7

ObjectDB JDO - foreign key constraints

Serializable{ @PrimaryKey private String name; private int age; ...} @Entity public class Company implements Serializable{ @PrimaryKey private String name; private Person
7

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

.persistence.NoResultException ex) { return -1; } } } mport java.io.Serializable; import ... ) public class CompoundKeyMapItem { public static class CompoundKeyMapItemId implements Serializable
1

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

class @Entity @Access(AccessType.PROPERTY) public class Chart implements Serializable ... Serializable { private long beginTime; private long endTime; private String periodType

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