Home » Search

About class

71-80 of 200 Refresh
Manual
17

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
17

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
16

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
Manual
16

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

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
Forum
16

Using your own classes in the entity class?

Using your own classes in the entity class?
Manual
15

Database Explorer

objects. The [Schema] window shows the user defined persistable types (entity and embeddable classes ... 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
15

ObjectDB Object Database Features

entity classes per database file. Up to 2,147,483,648 indices per database file ... . Class hierarchy changes are handled automatically. New added fields are handled automatically ... fields up and down in the class hierarchy is transparent. Support for renaming types, fields
Tutorial
15

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
14

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