ObjectDB Database Search
101-150 of 200 resultsReplaying recorded requests... it? Another possibility is that your configuration file is not read - you can check it by putting invalid ... is that your configuration file is not read - you can check it by putting invalid content in the configuration ... then it should be located in the parent directory. In order to use the same objectdb.conf file | |
Incremental online backup to perform backups more often, several times a day, in order to always have a backup that's closer ... up incrementally twice a day, and one day we realize that the database has been corrupted ( by which i mean ... to a current state, whereas here I am talking about basically reverting changes by choosing | |
zip file or JAR manifest missing(txt2db.java:82) at src.run.txt2db.main(txt2db.java:57) Caused by : com.objectdb.o.TEX: Type ItemList ... Yang Maybe the objectdb.jar in one site is corrupted (e.g. copied by FTP in ASCII mode instead ... is needed in order to locate the cause of this error. support Support very normal operation. public class | |
EntityManagerFactory objects being locked during EntityManager creation.jpa.EMF ) owned by " https-openssl-nio-8443-exec-132 " t@330 at com ... this behavior is not trival, as it would change the order of locks, which must be preserved | |
Trouble viewing db in Explorer. though) -Objectdb v2.4.0_03 -db was converted from 1.04 then fixed by the Doctor with no errors. -I ... is DEBUG, in order to track searching for classes). If possible, please publish a database file that demonstrates the problem. support Support | |
Speeding up reporting queries with size() on list Inspiration insp order by date(insp.lastModificationDate) desc insp.description is normal String | |
Low performance when getting grove roots). Are there other ways to configure JDO (not by means of annotations)? Regards, Vladimir tsichevski Vladimir ... would be needed in order to understand the empty results. Does it happen also with a new database file | |
Attempt to begin a new transaction when a transaction is active in order to persist records. For example : @EJB RecordDao recordDao; recordDao.storeRecord ... is started automatically by the application server, and as the error message states, you are trying | |
Selecting random rows Hello is there way to get random rows? Functions like rand(), random(), newid() doesn't work ;/ for example: em.createQuery("SELECT s FROM StawkaVat s ORDER BY rand()").setMaxResults(5).getResultList(); gives exception: Exception in thread "AWT-EventQueue-0" [ObjectDB 2.5.6_02] SELECT s FROM StawkaVat s == rand | |
Cast exception? because that class is loaded by two different class loaders. An instance of a class that is loaded by one class loader cannot be cast to the same class that is loaded by another class loader. support Support That seem to be the issue here, but I'm not doing any casting in the code! Is it some casting done by | |
How to Use a SF with extended Persistence Context? by the SL which can control it So I tried to loose the use of transactions in it by using ... by their names using findGuest(String name) method. The updateGuest(String name) simply look ... .jar:1.7.0_21] Caused by : java.lang.IllegalStateException: JBAS011048: Failed to construct component | |
Mismatch client-server protocol prefix starts with a prefix that is checked by the server before handling the request. That check could fail ... for more than one request, failure to read a full request by the server can cause next requests to fail ... checked the DB two times and installed the copy generated by the Doctor. It found no errors. We use | |
Cross-platform license work properly. Please fill a support ticket with your computer and operating system details, in order to solve this issue. support Support | |
Get database schema from objectDB file I am a little bit confused about that Can someone explain what steps do I have to do in order to get the database schema in java given only the objectdb file? i.e. database.odb ezazop Akis Zazopoulos See the JPA Metamodel API . support Support | |
OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011); (It helped me find a build order priority issue. I will also use the technique to put a safety | |
ManyToMany Set is null is needed in order to answer your question. Please post a minimal program in this format that demonstrates the scenario. support Support | |
Level 2 cache not hit in @ManyToOne. Level 2 JPA cache is activated and it works ok for find by id (tested by changing data in explorer and reading in my app). Problem 1: find by id on Item it's good, it hits the cache, but not for its field "user". "user" is loaded each time from the DB (tested by changing data in explorer and reading in | |
UTF Error I tested ObjectDB. When I write JPQL, I get this error. Caused by : com.objectdb.o ... .run(Thread.java:829) Caused by : com.objectdb.o.InternalException: Error reading UTF string at com ... .java:549) at java.base/java.lang.Thread.run(Thread.java:829) Caused by : javax.el.ELException: javax | |
ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`). This is the stack trace (i can send by email more info) There was an exception while trying to navigate ... .java:1166) at java.base/java.lang.Thread.run(Thread.java:842) Caused by : java.lang ... ; ... 64 more Caused by : java.lang.RuntimeException: Operation failed after 3 retries | |
IDs of Entities suddenly became UUIDs? that all Databases we use are affected by this. Many of them having mixed Long and UUID String ids in ... by your application. Please check that you have only one version of every entity class, since that problem may be caused by having different versions of the same entity class (e.g. one with  | |
Is 2 level cache in use? You cannot check if the L2 cache is enabled directly but you can check its content , by using emf ... by setting its size to 0. The main problem with the default implementation is that the server doesn't know what is cached on the client side, and therefore when a query is executed by the server | |
Missing Data on Retrieval (0, null values) by reflection (and not by invoking property methods or accessing the fields directly ... . This could be done, for example, by accessing a persistent field directly (with no reflection) from an enhanced class (e.g. by invoking a property method in the entity class if the class is enhanced | |
Filename.odb$ Persisting Issue by Eclipse. I can't seem to manually terminate the file either. I usually have to fully close ... to my class - so I assume this should work? Termination of the application is handled by using ... can happen just by starting and stopping the program in quick succession or after running it for extended | |
ways to recover from DB curruption Hi, I have a database file which was mistakenly opened by a different version of my entities model ... the Doctor on it I get this exception: Caused by : com.objectdb.o.UserException: Failed to generate dynamic ... .lang.Thread.run(Thread.java:636) Caused by : java.lang.NoClassDefFoundError: com/contextspace/myclass2 | |
Duplicate Entity class names causes Exception in Query of one of these entities. If I execute that query I get an exception; Caused by : com.objectdb.o ... .containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:206) ... 40 more Caused by ... ); } return c; } @Id protected String id = "1"; @SuppressWarnings("unused") // used by JPA @Version private | |
Enhancer failure: Failed to process class file of type; at com.objectdb.Enhancer.main(Enhancer.java:33) Caused by : com.objectdb.o.UserException: Failed ... .objectdb.o.JEL.A(JEL.java:436) ... 2 more Caused by : com ... ; ... 28 more Caused by : java.lang.IllegalAccessError: class jdk.internal.reflect | |
jakarta.persistence.PersistenceContext.synchronization to the current transaction by means of the EntityManager.joinTransaction method. Default | |
jakarta.persistence.metamodel.ManagedType.getDeclaredPluralAttributes() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getDeclaredPluralAttributes() Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) declared by the managed type. Returns empty set if the managed type has no declared multivalued | |
jakarta.persistence.metamodel.ManagedType.getDeclaredAttribute(String) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Attribute getDeclaredAttribute ( String name ) Return the attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns | |
jakarta.persistence.PersistenceUnit.name Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnit String name (Optional) The name by which the entity manager factory is to be accessed in the environment referencing context; not needed when dependency injection is used. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.ManagedType.getDeclaredMap(String) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType MapAttribute getDeclaredMap ( String name ) Return the Map-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute | |
jakarta.persistence.metamodel.ManagedType.getDeclaredSet(String) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType SetAttribute getDeclaredSet ( String name ) Return the Set-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute | |
jakarta.persistence.metamodel.ManagedType.getDeclaredList(String) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType ListAttribute getDeclaredList ( String name ) Return the List-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute | |
jakarta.persistence.metamodel.StaticMetamodel.value Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.StaticMetamodel Class value Class being modelled by the annotated class. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.IdentifiableType.getDeclaredVersion(Class) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType SingularAttribute getDeclaredVersion ( Class type ) Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass. Parameters: type - the type | |
jakarta.persistence.metamodel.IdentifiableType.getSupertype() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType IdentifiableType getSupertype() Return the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass. Returns: supertype of identifiable type or | |
jakarta.persistence.metamodel.IdentifiableType.getDeclaredId(Class) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType SingularAttribute getDeclaredId ( Class type ) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented | |
jakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttribute(String,Class) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType SingularAttribute getDeclaredSingularAttribute ( String name , Class type ) Return the single-valued attribute declared by the managed type that corresponds to the specified name and Java type | |
jakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttributes() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getDeclaredSingularAttributes() Return the single-valued attributes declared by the managed type. Returns empty set if the managed type has no declared single-valued attributes. Returns: declared single-valued attributes. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TypedQuery.setCacheRetrieveMode(CacheRetrieveMode) Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setCacheRetrieveMode ( CacheRetrieveMode cacheRetrieveMode ) Set the cache retrieval mode that is in effect during query execution. This cache retrieval mode overrides the cache retrieve mode in use by | |
jakarta.persistence.TypedQuery.setCacheStoreMode(CacheStoreMode) Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the cache storage mode that is in effect during query execution. This cache storage mode overrides the cache storage mode in use by the entity manager | |
jakarta.persistence.metamodel.ManagedType.getDeclaredAttributes() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getDeclaredAttributes() Return the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes. Returns: declared attributes of the managed type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.ManagedType.getDeclaredList(String,Class) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType ListAttribute getDeclaredList ( String name , Class elementType ) Return the List-valued attribute declared by the managed type that corresponds to the specified name and Java element type | |
jakarta.persistence.metamodel.ManagedType.getDeclaredMap(String,Class,Class) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType MapAttribute getDeclaredMap ( String name , Class keyType , Class valueType ) Return the Map-valued attribute declared by the managed type that corresponds to the specified name | |
jakarta.persistence.metamodel.ManagedType.getDeclaredCollection(String,Class) Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType CollectionAttribute getDeclaredCollection ( String name , Class elementType ) Return the Collection-valued attribute declared by the managed type that corresponds to the specified name and Java | |
new objects not available in mappedBy associations This seems to be the normal behavior - according to JPA the application has to update both sides in order ... one refresh an object? https://www.objectdb.com/java/jpa/persistence/retrieve#Retrieval_ by _Refresh ... it by email). support Support That doesn't happen with ordinary queries. Only with automatic | |
Best practice for history tracking We would like to add to records start and end timestamp fields. When end field is null, it indicates the last version of this item. Few questions: in terms of performance, what would be faster, having a single timestamp and looking for the top1 when ordered by time or the above solution, looking | |
ArrayIndexOutOfBoundsException on flush The following exception was thrown when my app attempted to flush an objectdb database: Caused by ... (BeanUtils.java:100) ... 32 more Caused by : com.objectdb.o.InternalException: Unexpected internal ... ) ... 40 more Caused by : java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native | |
Unexpected exception (Error 990) com.objectdb.o.InternalException. [ObjectDB 2.6.0_04] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server ... , but only for this specific scenario as demonstrated by the test case above. support Support The build 2.6 ... ; Generated by Java HotSpot(TM) 64-Bit Server VM 1.7.0_71 (on Windows 7 6.1). Please report this error | |
retrieval again and again started, etc., which cannot be explained by high load and re-running of failed queries. support Support there is a 100 ... . Build 2.9.0_02 fixed the original issue by adding a synchronized block, which apparently ... that could be caused by that synchronized block. If you can generate a thread dump when this happens |