ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
101

Explorer shows Long id, but should be Integer

Hi! I have seen a strange behavior of ObjectDB Explorer: it shows @Id as being Long, not Integer as ... used for one project. If I open one of the entities in the explorer, then I click on it's id (in the sample on parts of the Embedded id) as if I would want to edit, then I press enter and ObjectDB
100

Possible issue for default id generator

First all, congratulations to Objectdb team for the excellent work. Possible issue for default id generator when strategy is sequence. Error: Incomplete definition of auto value in field MyTestCase ... and 36: @GeneratedValue(strategy=GenerationType.SEQUENCE)//, generator="seq") @Id
19

Page #9 entry 0 (key 'bjjl') has 75 extra bytes / Unexpected last index ID: -119 (expected -116)

Please check the attached database file. When running the Doctor, I get Global Value Errors ------------------- [1] Unexpected last index ID: -119 (expected -116) Page Content Errors ------------------- [1] Page #9 entry 0 has unexpected object format [2] Page #9 entry 0 (key 'bjjl') has 75 extra
18

ObjectDB Object Database Features

/JDO annotations (e.g. @Entity, @Id, @Index). Transparent activation (no activation depth) - objects ... Databases. Primary Key Modes Hidden - primary key is automatically managed by ObjectDB with no @Id field. Simple primary key - a single @Id field. Composite primary key - multiple @Id fields or
15

JPA Entity Fields

(Mapped By) fields Primary key (ID) fields Version field The first three groups (transient, persistent ... (AccessType.PROPERTY) public static class PropertyAccess { private int _id; @Id int getId() { return _id; } void setId(int id) { _id = id; } private String str; String getStr
14

Database Transaction Replayer

contains two types of files: Backup files - with names of the form <transaction-id>.odb Recording files - with names of the form <transaction-id>.odr A backup file is an ordinary ObjectDB database file that reflects the state of the database at the end of a specific transaction. The ID
13

JPA Metamodel API

has a single ID attribute: boolean hasSingleId = entityType.hasSingleIdAttribute(); // Gets a single ID attribute - including inherited: SingularAttribute<MyEntity,Long> id1 = entityType.getId(Long.class); // Gets a single ID attribute - excluding inherited: SingularAttribute<MyEntity,Long
4

Step 1: Create a Java EE Web Project

Explains how to create a NetBeans Java EE 6 (J2EE) project with ObjectDB/JPA support.
4

Step 1: Create a Java EE 6 Web Project

Explains how to create an Eclipse Java EE 6 (J2EE) project with ObjectDB/JPA support.
3

Step 1: Install BIRT and ObjectDB Driver

of the Eclipse IDE that includes BIRT built in. This option may be useful if you are not using the Eclipse IDE for Java EE Developers. Update your existing Eclipse IDE for Java EE Developers environment by installing the BIRT plugins using the Eclipse Update Manager (updating Eclipse IDE with no Java EE support

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