Fast Object Database for Java - with JPA/JDO support

Internal Website Search

51-60 of 200 resultsRefresh
10

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
10

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
10

[ODB1] Chapter 3 - Persistent Classes

), 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 (and also from
8

javax.persistence.metamodel.MappedSuperclassType

,Y> getDeclaredId(Class 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
8

javax.persistence.metamodel.IdentifiableType

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: IllegalArgumentException
8

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
8

Schema Update

The configuration element supports renaming packages, classes and fields in ObjectDB databases as a complementary operation to renaming or moving these elements in the IDE during source code ... with persistable classes that have been renamed or moved in the IDE, with no matching schema configuration
8

Spring MVC JPA Tutorial - Maven Project

the Maven project in your IDE: NetBeans IDE and IntelliJ IDEA have built in Maven support.
8

JPA Annotations for Classes

policy (as explained in chapter 3): Another JPA class annotation defines an ID class: ID classes
8

Java EE JPA Tutorial - Maven Project

your GlassFish server. You may also open and run the Maven project in your IDE: NetBeans IDE and IntelliJ IDEA have built in Maven 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