ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
32

Persist error @ManyToMany how to define correct entities relationships

Category but they are all refering to same limited set of Category entities (via ID). There is not changes made to Category from Product. The category ID is taken from the webservice Object ID (unique too). @Entity public class Product implements Serializable { @Id @GeneratedValue
8

JPA Annotations for Classes

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

Chapter 1 - Quick Tour

your IDE refer to one of the following tutorials: Getting Started with JPA and Eclipse Tutorial Getting ... on how to start using JPA in your IDE with the ObjectDB object database. Given the simplicity of ObjectDB, that should be quick and easy even for a novice.
7

javax.persistence.TableGenerator

{ ... @TableGenerator( name="empGen", table="ID_GEN ... _ID", allocationSize=1) @Id @GeneratedValue(strategy=TABLE, generator="empGen") int id; ... } Example 2: @Entity public class Address
6

Is ObjectDB better than competing object databases?

community, forums, IDEs support, tools, books, tutorials and sample code. ObjectDB is also unique in
6

JPA / JDO Class Enhancer

. Setting a Java Agent Enhancer in the IDE In Eclipse JVM arguments can be set globally at: Window
1

Step 5: Add a JSP Page

import="guest.*"%> <jsp:useBean id="guestDao" type="guest.GuestDao" scope="request" /> <!DOCTYPE
1

Eclipse/JPA Spring MVC Web Tutorial

above). Eclipse IDE for Java EE Developers. m2eclipse (Maven plugin) including Maven Integration
1

Java EE 6 JPA Tutorial - Eclipse Project

only if Maven Integration for WTP is installed when the Maven project is imported into the IDE). Choose
0

javax.jdo.spi.PersistenceCapable

. For example, an ObjectId class that has three key fields (int id, String name, and Float salary ... ) { EmployeeKey oid = (EmployeeKey)objectId; fm.storeIntField (0, oid.id); fm.storeStringField (1, oid ... jdoCopyKeyFieldsToObjectId(Object oid) Copy fields from this PersistenceCapable instance to the Object Id

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