Home » Search

About IDE

1-10 of 200 Refresh
JDO Doc
199

JDO Predefined ID Classes

An object ID is a combination of a persistence capable class and a primary key. It provides a unique representation of a persistent object. The following classes serve as predefined ID classes for persistence capable classes with a simple single field primary key: Object IDs are used in many
Tutorial
84

Step 1: Create a Maven Web Project

a filter, select maven-archetype-webapp in the artifact list and click Next. Enter Group Id (e.g. Guestbook), Artifact Id (e.g. Guestbook), Version (e.g. 1.0) and Package (guest), and click Finish ... >      < id>objectdb id>    ObjectDB Repository
Tutorial
83

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>      < id>objectdb id>    ObjectDB ... >        < id>enhance id>        process-classes                java
Manual
75

JPA Primary Key

an object database, ObjectDB supports implicit object IDs, so an explicitly defined primary key is not ... key field: @Entity public class Project { @ Id @GeneratedValue long id; // still set automatically : } The @ Id annotation marks a field as a primary key field. When a primary key field
JPA Doc
60

javax.persistence.Id

javax.persistence Annotation Id Target: Fields (including property get methods) Specifies the primary key of an entity. The field or property to which the Id annotation is applied ... : @ Id public Long getId() { return id; } Since: JPA 1.0 See Also: Column GeneratedValue Learn
JDO Doc
58

Constants.PMF_ATTRIBUTE_SERVER_TIME_ZONE_ID

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_SERVER_TIME_ZONE_ ID The name of the persistence manager factory element's "server-time-zone- id" attribute. Since: JDO 2.1
JDO Doc
57

Constants.PROPERTY_SERVER_TIME_ZONE_ID

Static Field javax.jdo.Constants String PROPERTY_SERVER_TIME_ZONE_ ID Mapping "javax.jdo.option.ServerTimeZoneID" Since: JDO 2.1
Tutorial
56

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
Tutorial
56

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
Tutorial
56

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