Home » Search

About step by step

141-150 of 200Refresh
Forum
2

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 ... ?   It may be a class loader conflict, i.e. the Enhancer and your classes are loaded by different class loaders and the Enhancer do not have access to the classes. Enhancing by invoking the Enhancer from
Forum
2

a second mapping-file is ignored in persistence.xml by enhancer

> We start the enhancer and the entities of orm.xml will be enhanced by following output: enhancer ... will be enhanced by following output, because the enhancer is apparently ignored the ormreq.xml
Forum
2

Bug: ClassCastException by retrieval

("find by retrieval : %s %n",tn3.getTa()); System.out.printf("Arrays : %s %n",Arrays.toString(tn3 ... , l, l, o, W, o, r, l, d, 2] find by retrieval : H Arrays : [H, e, l, l, o, W, o, r, l, d, 2
Forum
2

Getting java.lang.ArithmeticException: / by zero

ava.lang.ArithmeticException: / by zero at com.objectdb.td.remove(td.java:131) at com.objectdb.af.VW ... which is being used is 2302.  Regards, Binit Bhaskar This division by zero occurs in some hash table
Issue
2

InternalException caused by OOM: Metaspace

.5.5_05] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_05 ... .persistenceManagerInit(JDOConnection.java:386) and the next part: Caused by: java.lang.OutOfMemoryError: Metaspace
Issue
2

Lazy retrieval by access not working correctly

I have a problem loading lazy associations by access/navigation with an @Embedded attribute containing an @ElementCollection which is lazy loaded.  I'm not sure if the same problem exists ... { ... @ElementCollection // lazy loaded by default private Map values
Forum
2

NULL prefered in ORDER BY?

Hi! Is there a way to NOT prefer NULL in Order BY? I.e. assume this: @Entity class Hint {     private String name; } @Entity class Test {     private Hint hint; } I've got a few Test ... Test ORDER BY hint.name It orders ASC like this (assuming I've got three Test Entities whereas first
Forum
2

Null returned by Persistence.createEntityManagerFactory

get an exception. The exception is ultimately caused by a null pointer on the line "em = emf.createEntityManager ... where you think it is, because stack traces are occasionally inaccurate. Try to change your code by moving suspected lines to separate methods, etc. elks
Issue
2

Removed entities can be found by query in the same transaction

Hello, we opened a transaction, load an entity from database and removed this entity by em.remove(). Afterwards the entity can be load again by query although the resulted entity have an attribute __odbtracker/m (type STA, value=Persistent-Deleted-Flushed) which shows that the entity is deleted
Forum
2

Replication error on slave restart

previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart ... UP TO DATE] 6) got this on slave after step 3: com.objectdb.o.UserException: Optimistic lock failed ... .java:203) at java.lang.Thread.run(Unknown Source) 7) got exception from step 6 every time