Home » Search

About class

21-30 of 200 Refresh
JDO Doc
123

JDO Annotations for Classes

JDO supports two modes of persistable classes that can be set by the following annotations: Non persistable classes that should be enhanced (because of accessing persistent fields of other classes directly) can be marked with: The identity mode of persistence capable classes can be specified by using:
Tutorial
123

Step 3: Add a Main Class

In this step we will add code to the Main class (that was generated with the project) in order ... to replace the content of the Main class with the following content: package tutorial; import javax.persistence.*; import java.util.*; public class Main { public static void main(String[] args
Tutorial
123

Step 4: Add a Servlet Class

... Enter GuestServlet as the class name - use exactly that case sensitive class name. The Java package name should be guest. Click Finish to create the new servlet class. Now replace the content ... "}) public class GuestServlet extends HttpServlet { private static final long serialVersionUID = 1L
Tutorial
123

Step 4: Add a Servlet Class

GuestServlet as the class name - use exactly that case sensitive class name. Click Finish to create the new servlet class. Now replace the content of the new source file with the following code: package guest ... ="GuestServlet", urlPatterns={"/guest"}) public class GuestServlet extends HttpServlet { private static
Manual
71

JPA Persistable Types

. ObjectDB supports all the JPA persistable types, which are: User defined classes - Entity classes, Mapped superclasses, Embeddable classes. Simple Java data types: Primitive types, Wrappers, String ... and Serializable types (user or system defined). Note: Only instances of entity classes
Manual
63

Schema Update

The configuration element supports renaming packages, classes and fields in ObjectDB ... is required when persistable classes are renamed or moved to another package. Running the application with persistable classes that have been renamed or moved in the IDE, with no matching schema configuration
Manual
60

JPA Persistence Unit

A JPA Persistence Unit is a logical grouping of user defined persistable classes (entity classes, embeddable classes and mapped superclasses) with related settings. Defining a persistence unit ... .jar < class>sample.MyEntity1 class> < class>sample.MyEntity2 class
Manual
52

Database Schema Evolution

Modifications to entity classes that do not change their persistent field definitions (their schema ... of an entity class are detected by ObjectDB. New entity objects have to be stored in the new class schema, and old entity objects, which were stored previously in the old class schema
JDO Doc
49

javax.jdo.spi.JDOImplHelper

javax.jdo.spi Class JDOImplHelper java.lang.Object javax.jdo.spi.JDOImplHelper This class is a helper class for JDO implementations. It contains methods to register metadata for persistence-capable classes and to perform common operations needed by implementations, not by end users
JDO Doc
42

javax.jdo.JDOHelper

javax.jdo Class JDOHelper java.lang.Object javax.jdo.JDOHelper Implemented Interfaces: Constants This class can be used by a JDO-aware application to call the JDO behavior ... a PersistenceManagerFactory via various methods. This helper class defines static methods that allow a JDO