Internal Website Search

11-20 of 200 resultsRefresh

GROUP BY and HAVING clauses

: The properties that are used for grouping (each group has a unique value combination). Aggregate calculations ... of SQL: COUNT - returns a long value representing the number of elements. SUM - returns the sum of numeric values . AVG - returns the average of numeric values as a double value . MIN - returns the minimum

JPA Persistable Types

, Date and Math types. Multi value types - Collections, Maps and Arrays. Miscellaneous types: Enum ... persistable classes that function as value types. As with other non entity types, instances of an embeddable ... Value Types The following multi value types are persistable: Collection types from package java

Query Parameters in JPA

with different parameter values to retrieve different results. Running the same query multiple times with different parameter values (arguments) is more efficient than using a new query string for every query ... ). getSingleResult (); } The WHERE clause reduces the query results to Country objects whose name field value

JPA Primary Key

keys and automatic sequential value generation . This is a very powerful feature of ObjectDB ... and its primary key. Primary key values are unique per entity class. Instances of different entity classes, however, may share the same primary key value . Only entity objects have primary keys

JPA Entity Fields

that do not participate in persistence and their values are never stored in the database (similar ... the database every persistent field must contain either null or a value of one of the supported ... a generic java.lang.Object , as long as the type of the actual value at runtime is persistable (or null

Index Definition

represents a unique index that prevents duplicate values in the indexed field. A PersistenceException is thrown on commit (or flush) if different entities have the same value in a unique field (similar ... is stored in the database every indexed field must contain either null or a value

javax.persistence.DiscriminatorValue.value

JPA Annotation Attribute in javax.persistence.DiscriminatorValue String value default null (Optional) The value that indicates that the row is an entity of the annotated entity type ... function will be used to generate a value representing the entity type. If the DiscriminatorType

[ODB1] Chapter 8 - ObjectDB Server

how often (in seconds) the server checks the configuration file for changes. For instance, a value ... specify a value of "0" for the reload attribute. In this case the server has to be restarted manually ... above, there is no point to specifying different values for the max and user-max attributes (if different values

javax.jdo.annotations.Value

JDO Annotation Value Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for the value of a map relation. Corresponds to the xml element " value ". Since: JDO 2.1 Public Annotation Attributes String column default "" Name of the column to store the value in

[ODB1] Chapter 7 - JDOQL Queries

if the field exists but its type cannot be compared with an int value , a JDOUserException is thrown ... more generic. Parameter values are provided when the query is executed so that the same query can be executed with different parameter values . The 'this' Keyword During query evaluation, each object in