About class

71-80 of 200Refresh
Manual
20

Paths and Types in JPQL and Criteria API

Instances of user defined persistable classes (entity classes, mapped super classes and embeddable classes) are represented in JPQL by the following types of expressions: Variables - FROM identification variables and SELECT result variables. Parameters - when instances of these classes are assigned
Manual
20

JPA Named Queries

is attached to exactly one entity class or mapped superclass - usually to the most relevant entity class. But since the scope of named queries is the entire persistence unit, names should be selected ... to add the above @NamedQuery to the Country entity class: @Entity @NamedQuery(name="Country.findAll
Manual
19

Index Definition

.annotations.Unique; @Entity public class EntityWithSimpleIndex { @Index String ... , float, double. Equivalent wrapper classes from package java.lang: Byte, Short, Character, Integer ... ","firstName"}) public class EntityWithCompositeIndex { String firstName; String lastName
Tutorial
19

Step 3: Define an EJB Session Bean

Operations on the database will be performed by an instance of a session bean (EJB) class that we will define in this step: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window) and selecting New > Class. The package name should be guest
Manual
19

Retrieving JPA Entity Objects

of entity classes and to keep them simple as possible. Retrieval by Class and Primary Key Every entity object can be uniquely identified and retrieved by the combination of its class and its primary key ... whose primary key is 1: Employee employee = em.find(Employee.class, 1); Casting of the retrieved
Forum
19

Using your own classes in the entity class?

Using your own classes in the entity class?
Manual
18

Database Explorer

objects. The [Schema] window shows the user defined persistable types (entity and embeddable classes) in ... an element for viewing (an entity class in the [Schema] tabbed window, a bookmark in the [Database ... the entity class and specify the number of objects to construct. Click the Create and Persist button
Result
18

ObjectDB Object Database Features

file size up to 128 TB (= 131,072 GB = 134,217,728 MB). Up to 2,147,483,648 entity classes ... deployment). Schema Evolution Fully automatic schema evolution and type versioning. Class hierarchy ... the class hierarchy is transparent. Support for renaming types, fields and properties. Object Model
Tutorial
18

Step 3: Define an EJB Session Bean

Operations on the database will be performed by an instance of a session bean (EJB) class ... ) > Session Bean and clicking Next. Enter GuestDao as the EJB class name - use exactly that case sensitive class name. The Java package name should be guest. Click Finish to create the new session bean (EJB
Forum
17

persistence.xml classes not respected by ObjectDB

Hi! I have the following persistence.xml. The problem is that ObjectDB loads all the classes in P1 (+ their embeddable classes). P2 is created properly, but P1 gets all entity classes (from P2 also). How can this be avoided, so that both P1 and P2 get just the classes that were specified to each