About array

api-jpa

toArray()

Return the values of the result tuple elements as an array.(Method of javax.persistence.Tuple)

 
forum_thread

List of Enum Values in an entity

Hello, I'm new with ObjectDB and just tried out the example in the Eclipse/Glassfish tutorial (http://www.objectdb.com/tutorial/jpa/eclipse/ee). After testing was successful, I extended the Guest class with an ArrayList of Enums: private ArrayList<GuestFlag> flags; The flags are stored into the database without any problem. In the explorer I can see that it is stored as array of Strings. ... problem. In the explorer I can see that it is stored as array of Strings. Unfortunately, when I try to load the flags from the ...

 
api-jdo

javax.jdo.spi.I18NHelper

Helper class for constructing messages from bundles.(Class of JDO)

 
api-jpa

NamedQueries.value

(Required) An array of NamedQuery annotations.(Annotation Element of javax.persistence.NamedQueries)

 
api-jdo

executeWithArray(parameters)

Execute the query and return the filtered Collection.(Method of javax.jdo.Query)

 
api-jdo

getNestedExceptions()

The exception may have been caused by multiple exceptions in the runtime.(Method of javax.jdo.JDOException)

 
api-jdo

setGroups(fetchGroupNames)

Set a collection of groups.(Method of javax.jdo.FetchPlan)

 
issue

New entity objects are duplicated on merge cascading

When merge is cascaded to a new entity object that has not been persisted yet - it becomes persisted twice. This was demonstrated by a Java EE application in this forum thread but may be reproduced also in a simple console test case: Bug Version: 2.3.4 Priority: High Status: Fixed Replies: 3 Type:  Bug ...

 
api-jdo

deletePersistentAll(pcs)

Delete an array of instances from the data store.(Method of javax.jdo.PersistenceManager)

 
forum_thread

Query to find object from element of a contained collection

I have an OrderData class, containing an ItemData collection, i would like to find OrderData elements by ItemData.items.itemId. I cant get a proper query with MEMBER OF or IN. Does anyone have an idea on how i could formulate that as Typed or CriteriaBuilder query? Thanks.   ... class . In addition, replace the ordinary array with a collection (e.g. ArrayList ). You may also need to use ...