Internal Website Search

41-50 of 200 resultsRefresh

Database Schema Evolution

of the up to date entity class. This is done automatically in memory each time the entity object is loaded ... . If the old type is inconvertible to the new type (for instance a change from int to Date ... enum types (when applicable). From any date type to any date type.

FROM clause (JPQL / Criteria API)

_LENGTH, CHARACTER_LENGTH, CLASS, COALESCE, CONCAT, COUNT, CURRENT_DATE, CURRENT_TIME, CURRENT

Retrieving JPA Entity Objects

> annotations (currently ObjectDB does not distinguish between the two) excludes the field from ... /java/jpa/ManyToMany">@ManyToMany annotations (currently ObjectDB does not distinguish ... of an entity object can be accessed freely, regardless of the current fetch policy, as long as the

Paths and Types in JPQL and Criteria API

, string, date). Simple type values are more useful in queries. They have special operators ... , maps and values of simple types (number, boolean, string, date). For a path expression ... reference. In JPQL, the current FROM variable (or FROM tuple when there are multiple variables) is simply

GROUP BY and HAVING clauses

. Only identification variables and path expressions are currently ... > MIN - returns the minimum of comparable values (numeric, strings, dates ... , dates). The following query counts for every letter the number of countries

javax.persistence.TypedQuery

> Get the current lock mode for the query. Get the current lock mode for the query.

JPA Query Expressions (JPQL / Criteria)

#criteria_query_literals">Literals and Dates (literal, nullLiteralsubstring, ...). date#date_and_time_in_criteria_queries

Index Definition

">name="u2") Date indexedField5; // unique } java.lang.String. java.util.Date, java.sql.Date, java.sql.Time, java.sql.Timestamp.

Step 2: Entity Class and Persistence Unit

.sql.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax ... ; private String name; private Date signingDate; // Constructors: public Guest ... Date(System.currentTimeMillis()); } // String Representation: @Override public

javax.jdo.JDOEntityManager

is a managed entity instance belonging to the current persistence context. current persistence context. current transaction