ObjectDB Database Search
1-29 of 29 resultsjakarta.persistence.criteria.CriteriaBuilder.array(Selection...) 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: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.array(List) array ( List selections ) Create an array -valued selection item. Parameters: selections - list of selection items Returns: array -valued compound selection. Throws: IllegalArgumentException - if an argument is a tuple- or array -valued selection item. Since: Jakarta Persistence (JPA) 3.2 | |
SELECT clause (JPQL / Criteria API)[] elements, one for each result row. Each array contains two elements: the first is the country name ... ]); } As an alternative to representing compound results with Object arrays , JPA supports using ... . The CriteriaBuilder interface provides three factory methods for building CompoundSelection instances: array | |
persisting object with long[][] arrays of array arrays (not arrays of arrays ) - @Entity public class TESTObject2 implements ... object's arrays of arrays are n x 1 - so the amount of data saved is exactly the same - So it looks like there is something ObjectDb (2.7.1) does not like about arrays of arrays . Thanks EKK EKK | |
JPA Persistable Types`, `Date`, and math types. Multi-value types: Collections, maps, and arrays . Miscellaneous types: Enum ... , and Properties . Arrays , including multi-dimensional arrays . Both generic ( for example, `ArrayList ... their values (that is, elements in collections and arrays , and keys and values in maps) are either `null | |
Query by array element This query is not supported since you cannot access arrays in queries. You can implement a method in MyEntity that wraps the array access operation and then use that method in the query. It is supported by | |
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.util | |
Problem with byte arrays in JDO - internal exceptionProblem with byte arrays in JDO - internal exception | |
Index Definition to an entity Arrays and collections that contain values of the above types, including null You can define ... -tree keys are all the unique values from the indexed field (or arrays of values for composite indexes | |
Can not have unique index on Byte Array an index that does not allow duplicate keys. An index 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 | |
Bug: ClassCastException by retrieval Hi, when a generic array put into ObjectDB, its type changed to Object[]! codes: package test; import java.util. Arrays ; import javax.persistence.Entity; import javax.persistence.EntityManager ... .getTa()); System.out.printf(" Arrays : %s %n", Arrays .toString(tn2.getTa())); Character[] la | |
Navigation to Collection Elements") // the element itself is a map How about arrays like x. array [1] and x. array [1][2] ? Thanks & Best ... it to be done in JPA/JDO queries. How about arrays like x. array [1] and x. array [1][2] ? If such navigations ... expressions (by using JPA's JOIN or JDO's contains). The array expressions that you wrote are not | |
jakarta.persistence.NamedNativeQueries NamedNativeQuery[] value (Required) Array of NamedNativeQuery annotations. Since: Jakarta Persistence (JPA) 1 | |
jakarta.persistence.criteria.CriteriaBuilder.tuple(Selection...): IllegalArgumentException - if an argument is a tuple- or array -valued selection item. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.tuple(List): IllegalArgumentException - if an argument is a tuple- or array -valued selection item. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.criteria.CriteriaBuilder.construct(Class,Selection...) item. Throws: IllegalArgumentException - if an argument is a tuple- or array -valued selection item. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Tuple.toArray() Jakarta Persistence (JPA) Method in jakarta.persistence.Tuple Object[] toArray() Return the values of the result tuple elements as an array . Returns: tuple element values. Since: Jakarta Persistence (JPA) 1.0 | |
Problem with distinct select, order by and equivalent alias/attribute path de.solvit.objectdbtest.entity.Street; import java.util. Arrays ; import java.util.List; import java.util ... class Main { private static final List locations = Arrays .asList(   ... ; ); private static final List streets = Arrays .asList(   | |
Unable to convert 1.x odb file to 2.x check the attachments. I believe this could be caused by having an array of objects as the value in ... data. support Support Thanks for your help. The issue with the object array in a map I will solve via some migration to a structure where the value in the map will be a user defined class containing the array . jakab Gergely Jakab | |
Soft Reference Object Cache Recommendation", only contains a byte[] and uses a soft reference to make that array eligible for GC when the JVM does a full GC. private byte[] data;// use makeDirty() when changing this array or any | |
member visiting in jpql gzdillon Lai Yang The length field of arrays is not supported by JDOQL / JPQL queries. You may maintain an ordinary int field (holding the array length) for this purpose. support Support | |
Explorer in 2.3 a very large array in the debugger). This will limit retrieval to open branches in the tree. 3 | |
ObjectDB embeddable Springboot;How does odb handle byte[]. A byte[] field is stored in the containing object, as any other array | |
ORDER BY problem, when String starts with language specific character.getNormName()"); query.setParameter("names", Arrays .asList | |
List of Enum Values in an entity without any problem. In the explorer I can see that it is stored as array of Strings. Unfortunately | |
Use temporary files to enable very large transactions the first level cache (by flush() and detach()). But an array of bytes, any ObjectDB memory ... will be bigger after flush. Also we see in a heap dump many byte arrays which are referenced by ObjectDB classes. The count of byte arrays grows after flush and clear, although we start the GC | |
[ObjectDB 2.3.7_25] Unexpected exception (Error 990) There is a problem with 2 Person instances, apparently in their salt byte[] array . There was a change in the way byte[] arrays are stored in ObjectDB. In theory this should not affect existing | |
ObjectDB 2.5.1) to-many relationship into an array field ([]) ( issue #1131 ). Fixed a bug in loading mapped (inverse | |
I can't get cascading delete to work in JDO; this.id = id; this.dependents = Arrays .asList |