ObjectDB ObjectDB

Internal Website Search

71-80 of 179 resultsRefresh
13

Database(*.odb) file size on disk

size. import java.util.ArrayList; import java.util.List; import javax.persistence.Basic ... ++;   }   @Id   int id;   @Basic   Integer value;   @Basic   String strValue;   @OneToOne ... {   public EntityB() {    id = idCounter++;   }   @Id   int id;   @Basic   String strValue
13

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

javax.persistence.Basic; import javax.persistence.Entity; import javax.persistence.EntityManager ... @Version private int version; @Basic protected java.lang.Integer lastInstanceInMap; protected ... javax.persistence.Basic; import javax.persistence.Entity; import javax.persistence.FetchType
13

@ElementCollection of type enum

{ BASIC, COACH, ADMIN } Use case: there are users which contain the first 2 permissions (BASIC and COACH, so the first 2 entries). Bug: If UserPermission enum is modified by adding, for example, BASIC231 between BASIC and COACH values, data in ObjectDB will be altered in a way
11

Performance issue in a query due to compareTo calls

; @Basic private String comment; @Basic private boolean isVisible; @Basic private int numberOfDefinedValues = 0; @Basic private int lastIdentifierIndex
11

failure to enforce NOT NULL for java.lang.String

my test cases are indicating that @Basic(optional=false) and @Persistent(nullValue=NullValue ... )         @Basic(optional=false)         private String username;                 //@Basic ... well for relationships but not for basic reference types such as String. Build 2.3.7_14 fixes this issue. support
11

First query takes 4+ minutes to complete

. The class has data members that are basic Java types. Here is extract of the code (related ... to 50 records. Basically we wish to get the last 50 records stored in the database, or youngest 50 ... that uses the DB in embedded mode. So we basically start the application and let is stabilise for about 60
11

Wrong data stored in time only fields

; import java.util.Iterator; import java.util.List; import javax.persistence.Basic; import ... ) {             this.version = version;         }         @Basic(optional = false)         @Temporal(TemporalType ... = startDateTime;         }         @Basic(optional = false)         @Temporal(TemporalType.DATE
2

com.objectdb.o.InternalException: null

) at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1185) at com.apple.laf.AquaTreeUI ... ) at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1185) at com.apple.laf.AquaTreeUI.paint ... :203) at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1185) at com.apple.laf
2

Schema-Update: Rename superclass and remove one subclass

: @Entity @Access(AccessType.FIELD) public class ChildClassA extends SuperClass { @Basic public String kind; @Basic public String mode; protected ChildClassA() { } } ChildClassB: @Entity @Access(AccessType.FIELD) public class ChildClassB extends SuperClass { @Basic public
2

Entity field renaming does not work

(AccessType.FIELD) public class ToleranceDeviationImpl {     @Basic     private String referenceDatatype;     @Basic     private String comparisonDatatype; } to:     @Basic     private String referenceDisplayDataTypeName;     @Basic     private String comparisonDisplayDataTypeName; We added

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