Home » Search

About array

1-10 of 200Refresh
Manual
106

SELECT clause (JPQL / Criteria API)

Object[] elements, one per result. The length of each result Object[] element is 2. The first array cell contains the country name (c.name) and the second array cell contains the capital city name (c ... an alternative to representing compound results by Object arrays, JPA supports using custom result classes
JPA Doc
84

array(selections)

Method javax.persistence.criteria.CriteriaBuilder CompoundSelection array(   Selection... selections ) Create an array-valued selection item. Parameters: selections - selection items Returns: array-valued compound selection Throws: IllegalArgumentException - if an argument is a tuple- or array-valued selection item Since: JPA 2.0
JDO Doc
82

Constants.OPTION_ARRAY

Static Field javax.jdo.Constants String OPTION_ARRAY "javax.jdo.option.Array" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()
Forum
40

persisting object with long[][] arrays of array

.clear();         emg.close();         EMF.close();     } as a comparison I ran it with simple arrays (not arrays of arrays) -    @Entity public class TESTObject2 implements Serializable ... ();         EMF.close();     } note that the dimension of the first object's arrays of arrays are n x 1
Manual
28

JPA Persistable Types

, Date and Math types. Multi value types - Collections, Maps and Arrays. Miscellaneous types: Enum types ... : HashMap, Hashtable, WeakHashMap, IdentityHashMap, LinkedHashMap, TreeMap and Properties. Arrays (including multi dimensional arrays). Both generic (e.g. ArrayList) and non generic (e.g. ArrayList
Forum
27

Query by array element

since you cannot access arrays in queries. You can implement a method in MyEntity that wraps the array access
Forum
27

Problem with byte arrays in JDO - ClassCastException

A bizarre ClassCastException is thrown if I attempt to obtain a byte array field as the result of a Query: Exception in thread "main" java.lang.ClassCastException: java.lang.Boolean cannot be cast to [B at spiffy.test.ObjectdbTest.main(ObjectdbTest.java:44) package spiffy.test; import java
Issue
25

not possible to add an existing object to an array via explorer

not possible to add an existing object to an array via explorer
Forum
25

Problem with byte arrays in JDO - internal exception

Problem with byte arrays in JDO - internal exception
Manual
25

Updating JPA Entity Objects

in chapter 5. However, detecting changes to arrays requires using snapshots even if the entity classes are enhanced. Therefore, for efficiency purposes, the default behavior of ObjectDB ignores array ... ().commit(); As demonstrated above, array changes are not detected automatically (by default