ObjectDB Database Search
101-150 of 160 resultsEntity 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 | |
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 | |
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 | |
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 | |
Storing Images/UML2. to persist the images, i just store an array of bytes (byte[]) representing the encoded images. i.e. a class which has a field of type byte array . to turn the bytes into an image, i ... well for me, but I'm guessing there's an easier way. so, yes, the equivalent of blobs (byte arrays ) are supported | |
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 | |
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 | |
@OneToMany(fetch = FetchType.LAZY) list is always null the entity containing another one (OneToOne) entity with a byte[] array without calling the getter of the array of the child entity, the array becomes null. public class ByteData { // ... id private byte | |
High memory consumption even after close() of EntityManagerFactory which the execution of multiple queries increasingly byte array were generated (about 1.5 GB) which from GC ... byte array are still not released. The option objectdb.temp.avoid-page-recycle makes no change ... (line 92). btc_es BTC EmbeddedSystems Addendum: With the configuration is the byte array only 3MB. I | |
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(   | |
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 | |
"where in" query; query.setParameter("names", Arrays .asList("a", "c"));   ... FROM Prez p WHERE p.id MEMBER OF :ids", Prez.class); prezs.setParameter("ids", Arrays .asList(1,3 | |
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 | |
JPA JPQL WHERE clause for IN :variable not working if variable is a list of Enums;query.setParameter("enumFieldList", Arrays .asList ... .setParameter("enumFieldList", Arrays | |
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 | |
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 | |
JPA query of a Set of terms Hi, Is it possible to write a JPA query to select objects that contain a collection of elements? For example, suppose I have a table that maps a search terms to pages: @Entity public class SearchIndex { @Index SearchTerm term; @Index Page page; } Now suppose I have an array of SearchTerm objects | |
@AttributeOverrides , and postgresql + own TYPE.If there will be getAddress method what data type it will be ? Array ? 4.I uploaded for you my entity class | |
Different behavior with persist() and queried instances? it becomes a regular java.util. Array again which of course doesn't mark the object dirty when getting changed | |
ORDER BY problem, when String starts with language specific character.getNormName()"); query.setParameter("names", Arrays .asList | |
Explorer in 2.3 a very large array in the debugger). This will limit retrieval to open branches in the tree. 3 | |
Query vs Extent for retrieving data out all empty arrays for the lists of PositionReportBeans contained within the PositionReportManagerBean | |
Index causes increased memory usage and without, the object that JVisualVM showed as the biggest memory user was byte arrays - usually | |
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 | |
Getting sales quantity per country with a query, an idea anyone? in case anyone need to achieve the same. This call will retrieve a list of 3 dimensional Object array | |
Query to find object from element of a contained collection addition, replace the ordinary array with a collection (e.g. ArrayList ). You may also need to use | |
Unexpected internal exception during set field of an Embeddable to null the array of persistent fields of the SignalValueImpl embedded class, which unexpectedly happens | |
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 | |
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 | |
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 | |
Transaction size limit, so we could even prevent the overflow of array index. For example via providing a public method ... : java.lang.OutOfMemoryError: Requested array size exceeds VM limit at com.objectdb.o.FIW.m(FIW.java | |
ObjectDB 2.2.9 persistent array fields with parameterized type . Added error on using transient fields (or properties | |
New entity objects are duplicated on merge cascading = Arrays .asList(new Chapter()); em.merge(book);   | |
ObjectDB 2.4.1 Fixed a bug of duplicating new objects during merge . Fixed a username/password issue in using EntityManagerFactory 's getMetamodel . Fixed a bug in detachment of hollow objects on close ( issue #799 ). Fixed a Doctor exception ( issue #796 ). Fixed a Doctor bug in checking byte[] arrays | |
ObjectDB 2.5.1) to-many relationship into an array field ([]) ( issue #1131 ). Fixed a bug in loading mapped (inverse | |
JDOException.getNestedExceptions() - JDO Method JDO Method in javax.jdo.JDOException Throwable[] getNestedExceptions () The exception may have been caused by multiple exceptions in the runtime. If multiple objects caused the problem, each failed object will have its own Exception . Return: the nested Throwable array . Since: JDO 1.0 | |
javax.jdo.JDOFatalException the problem, each failed object will have its own Exception . Return: the nested Throwable array . Inherited | |
javax.jdo.JDOOptimisticVerificationException array contains an exception for each instance that failed the optimistic verification. Since: JDO 1 | |
PersistenceManager.deletePersistentAll(pcs) - JDO Method JDO Method in javax.jdo.PersistenceManager void deletePersistentAll ( Object... pcs ) Delete an array of instances from the data store. Parameters: pcs - a Collection of persistent instances See Also: deletePersistent (Object pc) Since: JDO 1.0 | |
PersistenceManager.makeTransientAll(pcs) - JDO Method JDO Method in javax.jdo.PersistenceManager void makeTransientAll ( Object... pcs ) Make an array of instances transient, removing them from management by this PersistenceManager . The instances lose their JDO identity and they are no longer associated with any PersistenceManager | |
PersistenceManagerFactory.supportedOptions() - JDO Method.option.Map javax.jdo.option.List javax.jdo.option. Array javax.jdo.option.NullCollection javax.jdo | |
PersistenceManagerFactory.addFetchGroups(groups) - JDO Method are internally serialized. Parameters: groups - an array of FetchGroups Throws: SecurityExceptionif | |
PersistenceManagerFactory.removeFetchGroups(groups) - JDO Method , and removeAllFetchGroups are internally serialized. Parameters: groups - an array of FetchGroups Throws | |
javax.jdo.Query for all variables for which the filter expression evaluates to true . Parameters: parameters - the Object array | |
Query.executeWithArray(parameters) - JDO Method expression evaluates to true . Parameters: parameters - the Object array with all of the parameters. Return: the filtered Collection . Since: JDO 1.0 | |
javax.jdo.annotations.Element JDO Annotation Element Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for the element of a collection/ array relation. Corresponds to the xml element "element". Since: JDO 2.1 Public Annotation Attributes String column default "" Name of the column | |
javax.jdo.spi.I18NHelper: messageKey - the message key args - the array of arguments Return: the resolved message text | |
I18NHelper.msg(messageKey,args) - JDO Method JDO Method in javax.jdo.spi.I18NHelper String msg ( String messageKey, Object[] args ) Message formatter Parameters: messageKey - the message key args - the array of arguments Return: the resolved message text Since: JDO 1.0 |