ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh
9

javax.persistence.metamodel.EntityType

that corresponds to the id attribute declared by the entity or mapped superclass. Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared id attribute Returns: declared id attribute Throws
9

javax.persistence.metamodel.MappedSuperclassType

,Y> getDeclaredId(Class<Y> type) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared id
2

Step 2: Define a JPA Entity Class

.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public ... ; // Persistent Fields: @Id @GeneratedValue Long id; private String name; private ... in the database. Besides the @Entity annotation and the id field (and its annotations) - the Guest
2

Step 2: Entity Class and Persistence Unit

.persistence.Id; @Entity public class Guest implements Serializable { private static final long serialVersionUID = 1L; // Persistent Fields: @Id @GeneratedValue Long id
2

Getting Started with JPA and Eclipse

. For this tutorial, besides the Java JDK (5 or above) and the Eclipse IDE (either Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers), you only need to download and extract the ObjectDB distribution
2

Step 2: Entity Class and Persistence Unit

.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; // Constructors
2

Step 2: Entity Class and Persistence Unit

.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity ... ; // Persistent Fields: @Id @GeneratedValue Long id; private String name
2

Step 2: Entity Class and Persistence Unit

; 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; // Constructors: public
1

[ODB1] Chapter 4 - JDO Metadata

always uses datastore identity with its own object-id class). 4.3 Metadata for Fields Unlike ... objects can reduce storage space and improve efficiency, but they do not have an object ID ... that every String or Date is stored as a non embedded object (with a unique object ID). The embedded-key
1

[ODB1] Chapter 3 - Persistent Classes

ANT for example), but in most Java IDEs a plugin is required to integrate a JDO enhancer into the IDE Build command. A simple alternative that does not require a plugin and works on any Java IDE

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