ObjectDB Database Search
1-50 of 62 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
|
|
PostUpdate on array changes
objectdb.conf file I will revisit the issue of dirty tracking of arrays . However, I have these new ... ? dmoshal David Moshal Can't seem to get array tracking to work. Given an entity (class A)  ... on JDO. Question: Is array tracking only available with the JDO api ? dmoshal David Moshal  
|
|
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 exception
Problem with byte arrays in JDO - internal exception
|
|
Database Schema Evolution
to any other date/time type. From any collection or array type to any other collection or array type ... to any collection or array that can contain that object as an element. From any map type to any
|
|
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
|
|
JPA Query Structure (JPQL / Criteria)
( select , distinct , multiselect , array , tuple , construct ) Criteria FROM ( from , join , fetch
|
|
jakarta.persistence.criteria.CriteriaBuilder
. Since: Jakarta Persistence (JPA) 1.0 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
|
|
jakarta.persistence.criteria.CriteriaQuery
method. An argument to the multiselect method must not be a tuple- or array -valued compound selection ... class X, an instance of type X[] will be returned for each row. The elements of the array ... of type Object[] will be instantiated and returned for each row. The elements of the array
|
|
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
|
|
Entity Update - Is the documentation up to date?
automatically. Second, I'm using an array of entities inside another entity, and setting the elements of that array without calling JDOHelper.makeDirty. These changes are also automatically ... well but it may be less portable. I'm using an array of entities inside another entity, and setting the elements of that array
|
|
Exception on comparing array fields against parameters in queries
Exception on comparing array fields against parameters in queries
|
|
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.Tuple
(JPA) 1.0 Object[] toArray () Return the values of the result tuple elements as an array . Returns
|
|
jakarta.persistence.criteria.CompoundSelection
Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.CompoundSelection Type Parameters: - the type of the selection item Super Interfaces: Selection , TupleElement The CompoundSelection interface defines a compound selection item (a tuple, array , or result of a constructor
|
|
jakarta.persistence.Basic
should use the date/time types defined in the package java.time , or the primitive array types char
|
|
[ODB1] Chapter 3 - Persistent Classes
.BigDecimal Any array of persistent type, including multi dimensional arrays Some of the persistent types above are defined as optional by JDO ( arrays and most of the collection classes), but ObjectDB ... persistence aware. One exception, however, is in working with persistent array fields (persistent
|
|
[ODB1] Chapter 6 - Persistent Objects
can become persistent, either by multiple calls to makePersistent( ... ) , or by passing a collection or array ... . The makePersistentAll( ... ) method stores all the elements in the specified collection or array in the database, but not the collection or array itself (unlike passing a collection to Utilities.bind
|
|
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
|
|
jakarta.persistence.NamedNativeQueries.value
Jakarta Persistence (JPA) Method in jakarta.persistence.NamedNativeQueries NamedNativeQuery[] value (Required) Array of NamedNativeQuery annotations. Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.NamedStoredProcedureQueries.value
Jakarta Persistence (JPA) Method in jakarta.persistence.NamedStoredProcedureQueries NamedStoredProcedureQuery[] value (Required) Array of NamedStoredProcedureQuery annotations. Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.NamedQueries.value
Jakarta Persistence (JPA) Method in jakarta.persistence.NamedQueries NamedQuery[] value (Required) An array of NamedQuery annotations. Since: Jakarta Persistence (JPA) 1.0
|
|
Dirty checking
thinking, I need to: 1) set the config file to track array changes. 2) capture all entities changed ... another transaction. Note that you have to enable array change tracking only if you have Java arrays (e.g ... portable and more efficient) are automatic. support Support Great, thanks, I'm not using Java Arrays
|
|
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
|
|
Saving custom list which implements java.util.List fails
: ... For example, the Arrays .asList method returns an instance of an internal Java collection type ... EntityWithList { private List words = Arrays .asList("not", "ArrayList"); } @Entity public class Point ... defined classes. Notice, however, that similarly to the Arrays .asList example from the manual
|
|
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
|
|
Insertion Speed Rate and Batch Load
Device instances per second. But Device is a large object with an array of 100 strings (by the way ... instances per second, and with null in the String[] array the rate goes up to 200,000 entity objects
|
|
OutOfMemoryError on search after update on DB created with DB Doctor
. Arrays .copyOfRange( Arrays .java:2694) at java.lang.String. (String.java:203) at com.objectdb.o.BYR.N
|
|
Strange behaviour with ORDER BY and IN
.objectdbtest; import de.solvit.objectdbtest.entity.Location; import java.util. Arrays ; import java.util.List ... ; private static final List locations = Arrays .asList( new
|
|
JPA JPQL WHERE clause for IN :variable not working if variable is a list of Enums
;query.setParameter("enumFieldList", Arrays .asList ... .setParameter("enumFieldList", Arrays
|
|
[ODB1] Chapter 9 - ObjectDB Explorer
types. For instance, most system types require specifying an initial value and arrays require specifying an array length. Click the "OK" button to construct the new persistent objects
|
|
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
|
|
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
|
|
Enhanced classes problem
a CacheableJobAccountingInfo[] array into a CacheableJobAccountingInfo field ... , which should solve the problem. Using arrays for relationships is non standard (not supported by JPA ... with the List instead of array and another problem occurs: java.lang.ArrayIndexOutOfBoundsException: -1
|
|
[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
|
|
Page #9 entry 0 (key 'bjjl') has 75 extra bytes / Unexpected last index ID: -119 (expected -116)
), but still, if there is a bug that may cause storing arrays in a bad format - exploring it requires a way ... in checking byte arrays . Build 2.4.1 fixes this problem. support Support
|
|
ObjectDB 2.5.1
) to-many relationship into an array field ([]) ( issue #1131 ). Fixed a bug in loading mapped (inverse
|