Home » Search

About types

101-110 of 200Refresh
Forum
12

Eager Fetch is not stable for collection or map types?

Hi, thanks very much for your helpful software. The problem is the storage of collection or map types is not stable, we lost them sometimes after JVM restarted. Eager fetch is properly set.And we still found that the storage is stable when we not use generic, such as "private List users = new
Forum
12

Entity Type is not found (error 301) in Query

] select u from ==> User <== u where u.email = :email javax.persistence.PersistenceException Type
Issue
12

type in http://www.objectdb.com/java/jpa/query/criteria serParameter -> setParamether

type in http://www.objectdb.com/java/jpa/query/criteria serParameter -> setParamether Thanks. It was fixed now to setParameter. ravshansbox
Issue
12

Wrong type on SUM function

that have only one object with a BigDecimal value that has no decimals, for this group it returns a Long type value
Manual
12

FROM clause (JPQL / Criteria API)

at the FROM clause level. JPA 2, however, adds support for filtering instances of specific types at the WHERE clause level by using a type expression. For example, in the following query, c iterates ... variables represent iteration over all the database objects of a specified entity type. JPQL provides
Manual
12

Index Definition

a value of one of the following persistable types: Primitive types: boolean, byte, short, char, int, long ... , java.sql.Date, java.sql.Time, java.sql.Timestamp. Any enum type. Reference to an entity object. Arrays and collections that contain values of the above types (including null). Indexes
Manual
12

JPA Query API

should be used mainly when the query result type is unknown or when a query returns polymorphic ... result type is expected queries should usually use the TypedQuery interface. It is easier to run queries and process the query results in a type safe manner when using the TypedQuery interface
Manual
12

Running JPA Queries

, but the version of Query returns a result list of a raw type (non generic) instead of a parameterized (generic) type: Query query = em.createQuery("SELECT c FROM Country c"); List results = query.getResultList(); An attempt to cast the above results to a parameterized type (List) will cause
Manual
12

SELECT clause (JPQL / Criteria API)

Result expressions that represent anything but entity objects (e.g. values of system types ... .get("currency")).distinct(true); The select method takes one argument of type Selection and sets it as ... on the query result type (as set when CriteriaQuery is instantiated): For expected Object
JPA Doc
12

javax.persistence.TypedQuery

the execution of typed queries. Since: JPA 2.0 See Also: Query Parameter Learn how to define and use JPA ... > type) Get the parameter object corresponding to the declared positional parameter with the given position and type. Get the parameter object corresponding to the declared positional parameter