ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
18

ObjectDB Object Database Features

to ObjectDB. Persistence is set using JPA/JDO annotations (e.g. @Entity, @Id, @Index). Transparent ... managed by ObjectDB with no @Id field. Simple primary key - a single @Id field. Composite primary key - multiple @Id fields or a @EmbeddedId field. Primary Key Data Types Primitives (boolean, byte, short
16

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
15

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
14

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
3

Step 1: Create a Maven Web Project

Name (e.g. Guestbook) and select Java EE 5. Enter Maven Group Id (e.g. com.objectdb.tutorial.spring ... .sourceEncoding> </properties> <repositories>   <repository>    <id>objectdb</id>    <name>ObjectDB ... >        <id>enhance</id>        <phase>process-classes</phase>        <goals>         <goal>java
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
2

Step 2: Define a JPA Entity Class

implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue private long id; private int x; private int y; public Point ... () { return id; } public int getX() { return x; } public
2

Step 2: Define a JPA Entity Class

{ private static final long serialVersionUID = 1L; @Id @GeneratedValue private long id; private int x; private int y; public Point() { } Point(int x, int ... id; } public int getX() { return x; } public int getY
2

Step 2: Define a JPA Entity Class

.GeneratedValue; import javax.persistence.Id; @Entity public class Guest implements Serializable { private static final long serialVersionUID = 1L; // Persistent Fields: @Id @GeneratedValue Long id; private String name; private Date signingDate
1

[ODB1] Chapter 9 - ObjectDB Explorer

classes to the database using the Explorer, first create and compile the classes externally in your IDE ... in the IDE) is applied to the database automatically when the application stores an object ... a class is useful as a complementary operation to renaming the class in the IDE, to avoid losing old

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