ObjectDB Database Search
151-200 of 200 resultsCannot sort descending, when ordering by caluculated float in a method Hi, I have found an issue in ordering by a method. I have two entities : Invoice and InvoiceItem ... this query: (I know, it's not very efficient...) select i from Invoice i order by i.getPrice() desc/asc ... Invoice(); i1.getItemList().add(new InvoiceItem( 1 , 1 ));   | |
Suspected memleak caused by bad state of EntityManager.java:619) [na: 1 .6.0_21] Caused by : java.lang.NullPointerException: null   ... and using. We find a slow memleak in our application recently, and by trace of Entity construct and finalize, we found the problem is caused by bad state of EntityManager. After first throwing | |
how to query by properties of onetomany relations? (Error 990) the following code fails em.createQuery("select f from Foo f where f.bars.name = ? 1 ", Foo.class).setParameter( 1 , barName) stacktrace: [ObjectDB 2.2.4] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1 .6.0_23 (on Windows 7 6. 1 ). Please report this error | |
Extending model by "common entity":662) [na: 1 .6.0_22] Caused by : java.lang.ClassNotFoundException: pl.hplxtool.model.BaseEntity at com ... /hplxtool/model/BaseEntity at java.lang.ClassLoader.defineClass1(Native Method) ~[na: 1 .6.0_22] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) ~[na: 1 .6.0_22] at java.lang.ClassLoader | |
Getting java.lang.ArithmeticException: / by zero HI, I am using ObjectDb 1 .x and getting the following exception while calling the following code ... () is throwing the following exception ava.lang.ArithmeticException: / by zero at com.objectdb.td.remove(td.java ... , Binit Bhaskar binitbhaskar Binit Bhaskar ObjectDB 1 .x is not supported | |
Mapped By Fetch is very Slow, go the MyEntity class and remove "mapped- by ". You obtain 1 second max of query fetch. So my performance ... Well ! I think i pointed out a HUGE performance issue with mapped- by attribute (yeah again :( ). Here is the test case : 1 - Create 100 000 entities with for each 1 entity with @OneToOne(mappedBy | |
objectdb explorer in ver 2.2 and 1.0 Hi In first step I have evaluated JPA API now I'm testing JDO API and I'have spotted ... You are right - some important features of ObjectDB 1 .0 Explorer are not implemented yet in ObjectDB 2.2 ... to the Explorer in future versions. Support of ObjectDB 1 .x is now limited, so new application | |
UserException: Package com.example.model is not found by the enhancer get the exception: com.objectdb.o.UserException: Package com.example.model is not found by ... and build my dist directory contains: 1 . lib directory with all the jars 2. example.jar 3. README.txt ... by different class loaders and the Enhancer do not have access to the classes. Enhancing by invoking | |
Need help to analyse very high memory usage by objectdb (PRU, SEV, VAL[]) exceeded" exception. Nearly 90% of the memory are taken by com.objectdb.o.PRU (49%) com.objectdb.o.SEV ... the following message after save this thread: SMTP - ERROR: RCPT not accepted from server: 554 5.7. 1 ... .spamhaus.org/query/domain/objectdb.com SMTP - ERROR: RCPT not accepted from server: 554 5.7. 1 Service | |
order by string with numbers The sql that works is ORDER BY CAST(SUBSTR(username FROM 4) AS UNSIGNED) ASC Using JPQL SELECT u FROM Users u ORDER BY SUBSTRING(u.username,4)* 1 ASC If you have other alternative for JPA ... It seems that this is not supported by JPA criteria queries. If you need a solution only for ObjectDB | |
Master database switching to read-only mode, possibly caused by slave failure, slave became unresponsive and the master switched to read-only mode. By the look of it the slave ... seconds. The GC time on the slave instance continued to grow rapidly until it reached almost 1 minute ... ) .............................................................. Caused by : com.objectdb.o.UserException: Connection is closed at com | |
NULL prefered in ORDER BY? Hi! Is there a way to NOT prefer NULL in Order BY ? I.e. assume this: @Entity class Hint {   ... do something like SELECT FROM Test ORDER BY hint.name It orders ASC like this (assuming I've got ... } and third one to NULL: Test 3 (with hint = NULL) Test 1 (with hint = A ) Test 2 (with hint = B) And descending: Test 2 | |
Bug: ClassCastException by retrieval tn3 = em.find(tNode.class, 1 ); System.out.printf("find by retrieval : %s %n",tn3.getTa ... .createEntityManagerFactory("objectdb://127.0.0. 1 /trie.odb;user=admin;password=admin"); EntityManager em = emf.createEntityManager(); EntityTransaction trans = em.getTransaction(); //* block- 1 | |
Update more than 10000 entities by an update query fails Hello, following example tries to update more than 10000 entities by an update query ... { static int idCounter = 1 ; public static void main(String[] args) { EntityManagerFactory emf; emf ... * */ private static void create10001Elements(EntityManager emOne) { for (int i = 1 ; i | |
Internal ObjectDB error by read the primary key.getUid(ModelElementImpl.java: 1 ) ~[na:na] btc_es BTC EmbeddedSystems This seems to be related ... covered by the fix of 2.6.6_05. Build 2.6.6_06 should fix it. Unfortunately it is difficult to cover | |
Retrieval by Access bug?, 1 ); for (ClassB objectB : objectA.getListB()) { ClassC objectC = objectB ... of objectC, and I cant find any reason for that. Could be any bug in ObjectDB when I retrieve by navigation | |
A lot of ENT and SIV instances which are not cleared by GC and fixed (in build 2.6. 1 _01) a bug in cascading detach through mapped by to-many relationships | |
getting "Unexpected total page count" error when diagnosis mu db by ObjectDB doctor. When am diagnosis my db it gave following report Global Value Errors ------------------- [ 1 ] Unexpected total page count: 512 (expected 449). On repair the db some of query are not working. can you please tell me what does the above error mean and how can i resolve this? Thanks Manoj | |
Restrict by class in query iterate using a foreach loop, I only get the folder. I can, however do a .get( 1 ) call to fetch the result | |
Upgrade to 2.4.1_01 Hi, We tried to upgrade from 2.3.7_18 to 2.4. 1 _01 to pickup some fixes. We discovered that our code no longer works when using 2.4. 1 _01. We did some probing and found one thing. I have attached ... with 2.4. 1 _01, with each giving a different error. @Embedded gives: [ObjectDB 2.4. 1 _01] javax | |
Unable to convert 1.x odb file to 2.x if you can complete the remaining 1 % by your own simple console application that would port any problematic ... Hi, my company is just about to switch from ObjectDB 1 .04.2487 (SE) to ObjectDB 2. So I ... well, but then on converting 1 of the DB files I got this error: java -jar converter.jar ../old.odb ../new.odb ObjectDB 1 .0 | |
Upgrade to 2.4.1_03 Right, that fix to 2.4. 1 _02 got us past the previous issue. Now I'm not sure ... test. They are used by AbstractContactDetail. On line 372 of the attached test, AbstractContactDetail ... is: [ObjectDB 2.4. 1 _03] javax.persistence.PersistenceException Failed to clear field property com | |
Reading 1.x odb files in ObjectDB 2.x without upgrading binitbhaskar Binit Bhaskar Old ObjectDB 1 .x databases cannot be opened directly by ObjectDB 2.x ... db odb file from version 1 .x to 2.x, user is unable to open the odb files in the application which is having object db 1 .x installed. Is there any way to read odb files from 1 .x in object db 2.x | |
Apache Tomee 1.5.2: Failed to use JTA (TransactionManager is not found) 1 .5.2 with transaction-type="JTA". I don't have any configurations in Tomee (objectdb.jar is in ... application failed: C:\Users\Mircea\Documents\NetBeansProjects\natural7\target\natural7- 1 .0-SNAPSHOT ... .Thread.run(Thread.java:722) Caused by : org.apache.openejb.OpenEJBException: org.apache.openejb | |
Upgrade to 2.4.1_02 Hi there, The upgrade to 2.4. 1 _02 fixed the initial problem ... Sorry forgot the stack trace: [ObjectDB 2.4. 1 _02] javax.persistence.PersistenceException Failed ... ) at org.junit.runners.model.FrameworkMethod$ 1 .runReflectiveCall(FrameworkMethod.java:44) at org.junit | |
JBoss 7.1 and EAP 6 support version by RedHat which is based on 7. 1 , has been released recently. I would really like to use ... I understand that keeping up with a new version can be difficult. Having said that, JBoss 7. 1 . 1 ... with JBoss 7. 1 . 1 but was unable to get it to deploy. I also tried the recent releases of ObjectDB | |
objectdb:2.8.4 & 2.6.1.b06 backward compatibility We are decided to move our products from 2.6. 1 .b06 to 2.8.4, could you confirm that new objectDb 2.8.4 is fully compatible with many already created databases based on 2.6. 1 ? So, it means that we need to be sure that new objectDb 2.8.4 could read/write to databases created by 2.6. 1 . Please confirm | |
ObjectDB Unable to process 1.6 L records. Hi I have a db of around 1 .6 lakh records. But now am getting some unexpected error ... of ObjectDB are you using? Can you try the last ObjectDB build and publish a track trace generated by ... build and publish a track trace generated by it? It is in production so not able to change the build | |
ObjectDB version 2.1 has been released ObjectDB 2. 1 has been released and it includes important additions and fixes: Added Online Backup utility ( issue #16 ). Added Master-Slave Replication / Clustering (issue #17 ). Added a PDF ... viewing TreeSet and TreeMap in the Explorer. Fixed detachment of entities by replacing proxy objects | |
javax.transaction.Synchronization with Java SE 10.0.1;at eu.extech.serverImpl.jdo.JDOConnection.persistenceManagerInit(JDOConnection.java:384) Caused by ... (using Java SE 10.0. 1 ). So I tried to track down why it is not found via runtime and discovered | |
License Key on macOS Sequoia 15.6.1 Regarding the OEM license I've another issue: I've updated my macbook to the latest version of macos Sequioa 15.6. 1 (24G90). Unfortunately since then the mac-id behavior drives me crazy ... that use older versions of ObjectDB. It will not help if the main MAC address as reported by Java | |
Alias not used in ORDER BY would have expected the alias to be used in the ORDER BY clause, something like SELECT $ 1 , UPPER($ 1 .someStringProperty) AS TEST FROM T ORDER BY TEST However what I actually get as query string is SELECT $ 1 , UPPER($ 1 .someStringProperty) AS TEST FROM T ORDER BY UPPER($ 1 .someStringProperty) This doesn't | |
jakarta.persistence.Column: Annotation Target: Method, Field Specifies the column mapped by the annotated persistent property or field. If no Column annotation is explicitly specified, the default values apply. Example 1 : @Column ... of type numeric or decimal . Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements String name | |
InternalException caused by OOM: Metaspace.5_05] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1 .8.0 ... ) and the next part: Caused by : java.lang.OutOfMemoryError: Metaspace at java.lang.ClassLoader | |
Managing JPA Entities when it is persisted to the database by using an EntityManager 's persist method, which must be invoked ... about making changes to entities. A managed entity can be marked for deletion by using ... is retrieval by refresh , which always requires database access. The main role of the persistence context | |
Incorrect entity returned by query.offsetEntry.offset = 1 AND dep.source.row.q + dep.source.row.offsetEntry.offset 1 We expect ... does not fulfill the provided conditions: source.row.q = 2 source.row.offsetEntry.offset = 1 dep.target.row.q = 2 dep.target.row.offsetEntry.offset = 1 Can you please investigate this issue or | |
ArrayIndexOutOfBoundsException: -1 more Caused by : java.lang.ArrayIndexOutOfBoundsException: - 1 at com.objectdb.o.HTB.t(HTB.java:448) at com ... I've attached a test which fails with the error "ArrayIndexOutOfBoundsException: - 1 ". It runs 10 ... . I'm running with 64bit JVM 1 .6.0_30 on windows 7 The first thread to fail output the following | |
[ObjectDB 2.4.1] Unexpected exception (Error 990) Hi, getting this unexpected exception, would welcome advice: [ObjectDB 2.4. 1 ] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1 .6.0_29 (on Windows 7 6. 1 ... ; } } A better error message is produced by build 2.4. 1 _01. support Support | |
jakarta.persistence.Subgraph within an EntityGraph . See Also: EntityGraph AttributeNode NamedSubgraph Since: Jakarta Persistence (JPA) 2. 1 Public ... is not an attribute of this managed type.. Since: Jakarta Persistence (JPA) 1 .0 void addAttributeNodes ... - if this EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 1 .0 Subgraph | |
queries more than 10 times slower using 2.8.1 versus 2.7.6 - we restarted to try to use 2.8. 1 instead of 2.7.6 - we did a doctor on the database ... in 2.7.6 around 5-10 seconds takes in 2.8. 1 around 150-200 seconds: SELECT DISTINCT o.parentNode ... .linkedObjects.objectNameUpper = "ORG" and o.linkedObjects.type = 1 and o.linkedObjects.state = 0 | |
jakarta.persistence.TableGenerator Persistence (JPA) 1 .0 int allocationSize (Optional) The amount to increment by when allocating id numbers from ... that may be referenced by name when a generator element is specified for the GeneratedValue annotation. A table ... generator name, and its other properties are determined by the members of the package TableGenerator | |
queries under 2.7.6_4 significantly slower than under 2.7.6.classIdentifier='(TC)')). [ Step 1b] Order the results of step 1a by : v$ 1 . [ Step 1c] Scan index com.agile ... )')). [ Step 1d] Order the results of step 1c by : v$ 1 . [ Step 1e] Merge the results of steps 1b ... ============================ Step 1 : Process ObjectNode (o) instances ---------------------------------------- [ Step 1a] Scan | |
[ObjectDB 2.5.1_05] Unexpected exception (Error 990) I have this error in log. The query can't return result. Thanks for help. LOG: [ObjectDB 2.5. 1 _05] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Server VM 1 .7.0_55 (on Windows Server 2008 R2 6. 1 ). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb | |
[ObjectDB 2.8.1] Unexpected exception (Error 990) [ObjectDB 2.8. 1 ] Unexpected exception (Error 990) Generated by OpenJDK 64-Bit Server VM 1 .8.0_212 (on Linux 5.0.0-27-generic). Please report this error on http://www.objectdb.com/issue/new com ... .persist(EMImpl.java:415) at javax.persistence.EntityManager$persist$ 1 .call(Unknown Source) at org | |
[ObjectDB 2.4.1] Unexpected exception (Error 990) on getObjectById In this code: String id = "my key"; ABC itemDb = pm.getObjectById(ABC.class, id); I get this: [ObjectDB 2.4. 1 ] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1 .6.0_29 (on Windows 7 6. 1 ). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o | |
Different behavior for two equal queries Description ====================== Step 1 : Process IndividualContact ($ 1 ) instances ... .contact.individual.IndividualContact locating all the IndividualContact ($ 1 ) instances. [ Step 1b] Evaluate fields in IndividualContact ($ 1 ) instances. Step 2: Process OrganisationContact (v$ 1 | |
ObjectDB 2.5.1 Added support of editing enum values in the Explorer. Added logging of type registration . Added error message when using mapped by (inverse) collections and maps of invalid types. Changed JOIN ... switching in master-slave replication. Fixed a bug in applying orphanRemoval=true by default on mapped by | |
version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:662) Caused by : com.objectdb.o ... (EJBLocalObjectInvocationHandler.java:214) ... 75 more Caused by : com.objectdb.o.TEX: Type User is not | |
Detached JPA Entities Detached entities are objects in a special state where they are not managed by an EntityManager ... have limited functionality: Many JPA methods, for example, lock , do not accept detached objects. Retrieval by ... EntityManager instances. Explicit detach You can detach an entity by using the detach method: em | |
JPA Connections and Transactions A connection to a database is represented by an EntityManager instance, which also provides methods ... connection by using a separate EntityManager instance for each HTTP request. The main role ... transactions. Transactions are managed by an EntityTransaction instance, which is obtained from |