About check

issue

Exception on the recovery of a database

I've also had this similar exception on the recovery of a database: ... - did you have any problems with the database? Can you check it with the Doctor? ObjectDB Support ...

 
forum_thread

pm.newObjectIdInstance returns null

I am on an emergency upgrade mission. Our production odb file currently corrupts when written to. Importing to 2.6.8. has seemed to fix the corruption problem. So....I am in the middle of testing a 2.6.8 upgrade from 104se_2522. It was plugged in to the existing legacy code (2005'ish). Trying to modify as little as possible.... and if this fails a null is returned. You can check that operation directly: Class c = getObjectIdClass ( ...

 
forum_thread

Activation error on Schema change

Hi, 1) Is @OrderBy annotation supported ? When I add this annotation to my entity I get an error, saying that I did not activate my ObjectDB (which I did) : ... not a big problem. Activation is quite fast and I did check upgrade on our dev env first :) ...

 
forum_thread

An InternalException occurs when gets an result list

[ObjectDB 2.6.4_04] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.8.0_51 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.VAR.S(VAR.java:297) at com.objectdb.o.VAR.R(VAR.java:259) at com.objectdb.o.SYR.y(SYR.java:515) at com.objectdb.o.QRC.x(QRC.java:192) at com.objectdb.o.QRM.Vm(QRM.java:272)... in checking the variable type. Could you please check if  ArchitectureImpl is defined as an entity class? Does it have ...

 
forum_thread

What algorithm in find()

I test the time cost for find(), obtain a linear complexity with the following codes: ... enhancement and not calling clear . Please check this forum thread that might be relevant. ...

 
forum_thread

remove() and persist() in same transaction => Attempt to reuse an existing primary key value

Hello Support, in our configuration (FlushModeType.AUTO) is the execution of  em.find(Entity.class, <id>) much faster than an equivalent query. To optimize the Performance we define a special Entity (A) with additional data that use an existing ID of another Entity (B) from another class (another table). On this point we get no conflicts. If we remove additional data for Entity (B) and then the special Entity (A) is empty, we remove the special Entity (A). ... (A). If we add additional data for Entity (B) we check if an Entity (A) with the ID of Entity (B) exist. If it exist we put the ... instead of removing and persisting it. But we will check if we can release a quick patch to support this without the workaround. ...

 
forum_thread

Login Error (bad username 'admin' or password)

I am getting following error when i am trying to connect to server: [com.objectdb.o._PersistenceException: Login Error (bad username 'admin' or password)] with root cause com.objectdb.o.UserException: Login Error (bad username 'admin' or password) at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.HND.K(HND.java:210) at com.objectdb.o.SHN.K(SHN.java:208) at com.objectdb.o.HND.run(HND.java:132) at java.lang.Thread.run(Thread.java:662) Here is my connection string: #1 2013-03-31 01:41 I am getting following error when i am trying to connect to server: [com.objectdb.o._PersistenceException: ...

 
forum_thread

JDO sequences from ORM file

I want to use sequences in JDO without using annotations. Normally this is done with a package-X.orm file, where X is a value passed to the PersistenceManagerFactory as the value of property "mapping". I'm encouraged to see that the JDO zip that comes with ObjectDB includes the DTD/XSD for this type of file, though I can't see a mention of it in the manual. ... Maybe the problem is in loading the XML metadata? Can you check that other settings in that XML file affect? Could you try putting it in ... See s1 below. But the test uses an internal way to check for the sequence, rather than getSequence() . <?xml ...

 
forum_thread

Embedding ObjectDB on server application

I'm trying to integrate ObjectDB as part of a server software I am developing. I'm a little lost at the connection file path for the persistent factory. So if I want to pass in the database file path, with relative path, where exactly is it relative to? So I did a test and just wrote: EntityManagerFactory emf = Persistence.createEntityManagerFactory("test.odb"); But I got: Exception: javax.persistence.PersistenceException Message: No Persistence provider for EntityManager named test.odb ... the project...at least on Eclipse. Is there some way I can check on runtime? Still getting this: Message: No ...

 
forum_thread

NullPointerException in ENH.g(ENH.java:401)

Hi, I experience a NullPointerException inside the objectdb code with the following stacktrace: ... a list of objects from the database. Please check your database file for errors using the ObjectDB Doctor, and if necessary ... 11:56 We can check the database and possibly repair it (by finding why the Doctor ...