Home » Search

About value

161-170 of 200Refresh
Manual
11

Literals in JPQL and Criteria Queries

Literals in JPQL, as in Java, represent constant values. JPQL supports various types of literals ... . 'abc'), enum literals (e.g. mypackage.MyEnum.MY_VALUE) and entity type literals (e.g. Country). JPQL ... values. Literals should only be embedded in JPQL queries when a single constant value is always used
Manual
11

Paths and Types in JPQL and Criteria API

. But more often they are used in JPQL path expressions that navigate to values of simple types (number, boolean, string, date). Simple type values are more useful in queries. They have special operators ... ) and uses the dot (.) operator to navigate through persistent fields to other objects and values
JPA Doc
11

javax.persistence.criteria.CollectionJoin

( PluralAttribute attribute) Create a fetch join to the specified collection-valued attribute using an inner join. Create a fetch join to the specified collection-valued attribute using an inner join ... ( SingularAttribute attribute) Create a fetch join to the specified single-valued attribute using
JPA Doc
11

javax.persistence.criteria.ListJoin

) Create a fetch join to the specified collection-valued attribute using an inner join. Create a fetch join to the specified collection-valued attribute using an inner join. Parameters: attribute - target ... > attribute) Create a fetch join to the specified single-valued attribute using an inner join. Create
JPA Doc
11

javax.persistence.criteria.PluralJoin

( PluralAttribute attribute) Create a fetch join to the specified collection-valued attribute using an inner join. Create a fetch join to the specified collection-valued attribute using an inner join ... > fetch( SingularAttribute attribute) Create a fetch join to the specified single-valued attribute
JPA Doc
11

javax.persistence.criteria.SetJoin

a fetch join to the specified collection-valued attribute using an inner join. Create a fetch join to the specified collection-valued attribute using an inner join. Parameters: attribute - target ... > attribute) Create a fetch join to the specified single-valued attribute using an inner join. Create a fetch
Forum
11

Missing Data on Retrieval (0, null values)

contains all necessary Data. Most of the others  contains all  Object-Rows', but most Values ... (); -> resultlist2  Bad - many null and 0 Values. Secound try: List resultList1 = em.createQuery ... the two Resultlists Tested with  Version 2.6.7 and 2.4.5  - same behaviour.       The null and 0 values
Forum
11

"Unsupported auto value type java.lang.String" when persisting new instance

"main" [ObjectDB 2.3.2] javax.persistence.PersistenceException Unsupported auto value type java.lang ... (NetworkInformationDatabase.java:71) Caused by: com.objectdb.o.UserException: Unsupported auto value type java.lang.String ... ; You cannot use @GeneratedValue for string Id only for numeric Ids. Id fields whose type is string have to be assigned a value by the application. kiki
Forum
11

Error: Failed to write value of field X using reflection (oneToMany relation)

._PersistenceException: Failed to write the value of field field entidades.Cliente.pedidos using ... up. So, the program works fine on the first run. But after that I recieve the "Failed to write the value of field ... . You have to change the value of the mappedBy attribute: @OneToMany(mappedBy="cliente") i.e. specify
Forum
11

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

"Attempt to reuse an existing primary key value". In this particular instance, the error is: Attempt to reuse an existing primary key value (com.x.y.z.UserPassword:1) (error 642) at com.objectdb.jpa ... .EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)   The attempted PK value to be re-used