About array

1-10 of 200Refresh
JPA Doc
75

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
73

Constants.OPTION_ARRAY

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

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
33

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
Issue
26

Can not have unique index on Byte Array

on a collection or array (including byte[]) treats every element in the collection or the array as a separate entry. Therefore, if a field of collection or array type is declared as unique an exception is thrown if any element is repeating more that once even if there are no 2 arrays or collections
Manual
25

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
24

Query by array element

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

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
Manual
23

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
Issue
22

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

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