ObjectDB Database Search

51-100 of 116 results

Object belongs to another EntityManager - ERROR

[stderr] (http--10.23. 3 .98-8081-5) Failed to commit transaction: Object 'pbdmodel.impl.OrgJedinicaImpl#8' belongs to another EntityManager (error 613) 10:29:14,887 ERROR [stderr] (http--10.23. 3 .98-8081-5) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290) 10:29:14,895 ERROR [stderr] (http--10.23. 3 .98

problem with lazy loading - unittest project attached

4 requests 1. save entity 2. read an existing entity, add onetomany relation 3 . read an existing ... :308) ~[spring-test- 3 .0.5.RELEASE.jar: 3 .0.5.RELEASE] at org.springframework.test.context.support ... .java:109) ~[spring-test- 3 .0.5.RELEASE.jar: 3 .0.5.RELEASE] at org.springframework.test.context.support

How to Use a SF with extended Persistence Context?

: JBoss AS 7.1.1.Final "Brontes" starting 13:52:01,959 INFO  [org.xnio] XNIO Version 3 .0. 3 .GA 13 ... -binding (management-http) 13:52:01,968 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3 .0. 3 .GA 13:52:01,975 INFO  [org.jboss.remoting] JBoss Remoting version 3 .2. 3 .GA 13:52:01,996 INFO

Possible cause for "Enhancement of type ... is old and cannot be used"

.ScopeRequirementContainerImpl is not enhanced. [2015-06-08 13:07:02 # 3 type.user] Enhancement of type com.btc.ep ... . But what is a possible cause for the messages #1 and # 3 "Enhancement of type ... is old ... with objectdb-2.6. 3 _04 (from around Jun 2015) on any of these projects. In all cases I

Double persist of Entity field with Cascade.ALL

I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3 .1 and ObjectDB 2. 3 . 3 . I ... . The enterprise application ( Book_dberror ) which contains the EJB module ( Book_dberror-ejb ) 3 . A Java ... the application using Netbeans 7.0.1, Glassfish 3 .1 and ObjectDB 2. 3 . 3 To run the application: Unzip

Activation Issue

the jar, and everything was happy. (this was with 2. 3 .7). However after a reboot I'm now getting ... the activation key in objectdb.conf). I tried upgrading to 2. 3 .7_02 and updating objectdb.conf ... of objectdb.conf:   [ObjectDB 2. 3 .7_02] javax.persistence.PersistenceException Too many

Exception on creation when running multithreaded

to check if it already exists 3 . if it exists it will be updated, otherwise it will be created   ... are of type CDI and in addition, as a setup for the test I'm creating another 3 objects of type PDI ... the following query "select $1 from CDI $1" and I get back 803 objects including the 3 PDI objects

Activation error on Schema change

the configuration of the server. Version 2. 3 .7 is more strict in checking this. support Support That explains why I had to generate 3 new license after migrating to 2. 3 .7 because all old ones stopped working ... about that, this shouldn't happen. Pre 2. 3 .7 activation codes should work with 2. 3 .7. But in the logs I

General Performance Issues Illustrated with a Specific Method

Cloud HIMS is a JSF/JPA (EclipseLink 2. 3 )/MySQL application designed to capture data in Health ... : listPatientsByIDsWithBasicData Duration: Takes around 3 seconds to search   Search Method public List ... of Health Sri Lanka You should be able to get the results in milliseconds rather than 3 seconds

Cascading makeTransient

Gergely Jakab Build 2.6. 3 adds an option to treat embedded objects on detachment (eventually ... with the build 2.6. 3 _01, but it's still not solved. When I use this build with the above mentioned ... the following error:   Exception in thread "main" [ObjectDB 2.6. 3 _01] Unexpected exception (Error

Installing a VM security fix leads to inactive DB

stability issues have been fixed in version 2.9. 3 and there are no new known issues. If you create a new activation using version 2.9. 3 or later and still have issues (except when the MAC addresses ... you are using an old 5-year version of ObjectDB. Newer versions (starting 2.9. 3 ) are much better

jakarta.persistence.criteria.CriteriaBuilder.desc(Expression,Nulls)

nullPrecedence - the precedence of null values Returns: descending ordering corresponding to the expression. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.TypedQuery.setCacheRetrieveMode(CacheRetrieveMode)

the entity manager. Parameters: cacheRetrieveMode - cache retrieval mode Returns: the same query instance. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.TypedQuery.setCacheStoreMode(CacheStoreMode)

. Parameters: cacheStoreMode - cache storage mode Returns: the same query instance. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.TypedQuery.setTimeout(Integer)

milliseconds, or null to indicate no timeout Returns: the same query instance. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.UniqueConstraint.options

Jakarta Persistence (JPA) Method in jakarta.persistence.UniqueConstraint String options (Optional) A SQL fragment appended to the generated DDL which creates this constraint. Default: "" Since: Jakarta Persistence (JPA) 3 .2

InternalError on query of empty database

.attributeList $ 3 WHERE ((($2.name='firstname') AND ($2.valueAsString='Alex')) AND (($ 3 .name='lastname') AND ($ 3 .valueAsString='Baldwin'))) There is nothing in the database at this point. I was capturing ... (BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$ 3 .run(ParentRunner.java:193) at org.junit.runners

Update Entity references if we change the type of an entity

.", but in your example there are 3 objects in the same type hierarchy with the same id #2. Unfortunately this is the best solution we can offer now. support Support There are 3 objects with ID #2 ?   We simplified the example. We look into the DB and we have just 3 Objects: EntityC with id # 3

Join query problem with new statetment

above statement, there is exception: 2011-07-05 06:40:34.781 ["http-bio-8080"-exec- 3 ] DEBUG p.h.dao.impl.InspirationDAOImpl - getPerSupplier. supplier id: 52 2011-07-05 06:40:34.847 ["http-bio-8080"-exec- 3 ... available 2011-07-05 06:40:34.847 ["http-bio-8080"-exec- 3 ] DEBUG o.s.orm.jpa.JpaTransactionManager

Error when trying to open the Explorer (failed to find Java VM)

; On console:  By trying explorer.exe I get the following: [info] Module INI: C:\dbs\objectdb-2.5. 3 \bin\explorer.ini [info] Module Dir: C:\dbs\objectdb-2.5. 3 \bin\ [info] INI Dir: C:\dbs\objectdb-2.5. 3

query on calendar class

.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:725) at cdr_analiza.GUI$ 3 .actionPerformed(GUI.java:150 ... .access$200(EventQueue.java:103) at java.awt.EventQueue$ 3 .run(EventQueue.java:694) at java.awt.EventQueue$ 3 .run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

to deploy to Karaf 2) the objectdb bundle I use 3 ) a zip file containing the source project (Eclipse Neon.1, Bndtools 3 . 3 .0). In order to build the code, you need to have lombok in the classpath (https

EntityManager.merge gives EntityNotFoundException

Just started using objectdb (2. 3 .4). Calling EntityManager.merge for a new (non-managed) object ... for your assistance. Full error output is: Exception in thread "main" [ObjectDB 2. 3 .4] javax.persistence ... ), and build 2. 3 .4_01 fixes it. Notice, however, that persist is more efficient than merge  in

Pessimistic Lock Timeouts setting

.lock.timeout ) was just added in build 2.2. 3 _02. Please check the documentation and try it. support ... you for the update. support Support Hi. I am using Objectdb version 2. 3 .7_01. I am developing a test program

Not releasing locked MST object

that the issue exist in version 2.9. 3 _01 it would help. Although a deadlock is not mentioned in the change log since version 2.8. 3 , there is always a chance that an issue happens only in specific versions

Mismatch client-server protocol prefix

this method for over 3 years now. It's from the early days of our software when we used MySQL ... and # 3 - are these new issues, started after switching to new Spring / Tomcat? support Support Yes

find() cost unreasonable time!

child : 2 child : 3 Iterator time @ 0.000000 find time @ 0.000000 getSons time @ 0.000000 2 : type:Nodes, sons:2 child : 4 child : 5 Iterator time @ 0.000000 find time @ 0.000000 getSons time @ 0.000000 3

Possible issue for JPQL "LEFT [OUTER] JOIN"

Possible issue for JPQL "LEFT [OUTER] JOIN" is doing "[INNER] JOIN".   Thanks. eurojet P. F. Martinez Thank you for this report. Please try build 2. 3 .7_18 that should fix this issue. support ... IS EMPTY") Thanks.   eurojet P. F. Martinez You are right. Please try build 2. 3 .7_20 that should cover this case as well. support Support

Problem with distinct select, order by and equivalent alias/attribute path

Location("2", "B"),         new Location(" 3 ", "C")    ... get the same error still. It is a Java EE 7 project running in wildfly 9 using JPA and JTA (EJB 3 .1

zip file or JAR manifest missing

pass, saying "use the same prime key" something. and version 2.2.9_ 3 passed, but with the message ... the full stack trace?   support Support My codes will pass through with version_2.2.9_ 3 . The message

Jboss 6 persistence.xml startup error

Hi,  I'm trying to migrate a small EJB 3 .1 project from Postgres to ObjectDb to test out feasibility, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS. Here is my setup: com.objectdb.jpa.Provider and here is the error: 2011-04-04 18:35:23,098 ERROR [org.jboss.kernel

Embedded List

about the question. On #1 and # 3 you provided code. Is it runnable? What is the exact issue? support

Spring + Maven + persitence.xml

Hi, I tested ObjectDB embedded and it is really fast! Everything worked out of the box. Maven:    com.objectdb    objectdb    2.4. 3   Persistence.xml com.objectdb.jpa.Provider   My goal now is to realize same thing using a client version. I started

Duplicate Entity class names causes Exception in Query

. If you have an Eclipse EE install ( I have helios ) you only need install the glassfish 3 .1 plugin

Online backup problem

:636) [2011-06-04 05:34:14 # 3 type.loader] java.lang.ClassNotFoundException: java.lang.org

Trouble viewing db in Explorer.

.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$ 3 .run(Unknown

com.objectdb.o._RollbackException: Failed to commit transaction

Check the Exception below: (occurs sometimes, ObjectDB 2. 3 .6_14) com.objectdb.o._RollbackException: Failed to commit transaction: at com.objectdb.o.JPE.g(JPE.java:89) ~[JPE.class:na] at com.objectdb.o.ERR.f(ERR.java:59) ~[ERR.class:na] at com.objectdb.o.OBC.onObjectDBError(OBC.java:1493) ~[OBC

ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`)

;   ... 64 more Caused by: java.lang.RuntimeException: Operation failed after 3 retries

Speeding up reporting queries with size() on list

Lukasz Walkowski Please try build 2. 3 .5_03 that includes a new optimization for this case. support

joining of tables

Hi In objectdb site i found : Note: This ORM/SQL annotation is silently ignored by ObjectDB so i want  join tow table and generate a third table. Ex:  table 1: employee    table 2: address  and the generate table will be table 3 : emp_add employee: e_id, e_name address: add

Multiple Collection Fields not update correctly

has values 1.0f, 2.0, 3 .0 rotation has values 4.0f, 5.0, 6.0   This works fine. But when I load

Query Execution Error

JOIN $1.mitgliedschaft $2 LEFT JOIN $2.abteilungen $ 3 LEFT JOIN $ 3 .abteilung $4 WHERE (((NOT ((($2 IS NOT NULL) AND ($ 3 IS NOT NULL) AND ($4 IS NOT NULL) AND ($4.qubletID=383))) OR NOT (((com.lexware ... JOIN $2.abteilungen $ 3 LEFT JOIN $ 3 .abteilung $4 WHERE (((NOT ((($2 IS NOT NULL) AND ($ 3 IS NOT NULL

ArrayIndexOutOfBoundsException on flush

mentioned above is this: [ObjectDB 2. 3 .2_08] javax.persistence.PersistenceException Attempt ... is embedded 3 ) The database was created in place by objectdb (i.e. on a clean file system). It hasn't ... , filename is Issue87_odr.zip The first error to occur in the application was: [ObjectDB 2. 3 .2_04] javax

Why does ObjectDB duplicate classes from javax.jdo:jdo-api?

. To use the @Index annotation, I had to add a dependency to the JDO API version 3 .1 (old link: https://mvnrepository.com/artifact/javax.jdo/jdo-api/ 3 .1). The code works just fine, but when I use ... you do not use JDO 3 .1 except for the Index annotation (actually ObjectDB supports JDO 2

NullPointer when accessing persistent field

your end.   [ObjectDB 2. 3 .2] Unexpected exception (Error 990)   Generated by Java HotSpot ... on accessing an inverse collection in an entity that has been garbage collected. Build 2. 3 .2_01 fixes ... Unfortunately I have a similar problem, now I have passed the type 301 error.   [ObjectDB 2. 3 .2

reading from table gives Unexpected exception

reading from table gives Unexpected exception [ObjectDB 2.6. 3 ] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_131 (on Windows 10 10.0). Please report ... the problem. Note, however, that many issues have been fixed since version 2.6. 3 (which is more than 3 years

Unexpected Exception

Just got this: SCHWERWIEGEND: Terminal error: [ObjectDB 2. 3 . 3 ] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_26 (on Mac OS X 10.6.8). Please report this error ... .o.HND.run(HND.java:133) at java.lang.Thread.run(Thread.java:680) quasado Alexander Adam Thank you for this report. Build 2. 3 .4_02 should fix it. support Support

new database error

Exception in thread "main" [ObjectDB 2.7. 3 ] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.8.0_31 (on Windows 8.1 6. 3 ). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: com.objectdb.o.UserException: Failed

InternalException: null

.extech.serverImpl.QuantServerImpl.access$ 3 (QuantServerImpl.java:4851) at eu.extech.serverImpl

Unexpected exception (Error 990) com.objectdb.o.InternalException

ArrayList();     } } It is the same problem as demonstrated by the test case in # 3