About step by step

121-130 of 200Refresh
Forum
3

Mapped By Fetch is very Slow

Well ! I think i pointed out a HUGE performance issue with mapped-by attribute (yeah ... , go the MyEntity class and remove "mapped-by". You obtain 1 second max of query fetch. So my performance issue ... .ALL,mappedBy = "myEntity") // Test by adding / remove "mappedBy" public MyEntityChild getEntityChild
Forum
3

Strange behaviour with ORDER BY and IN

Hi, after trying out objectdb for a while now and being quite impressed by its speed and overall performance I noticed a strange behaviour where an ORDER BY - directive isn't executed as ... by a simple member (e.g. a String) being the Entity-ID and, at the same time, filter on this member
Manual
3

Storing JPA Entity Objects

New entity objects can be stored in the database either explicitly by invoking the persist method ... is committed. An IllegalArgumentException is thrown by persist if the argument is not an instance ... is thrown. The exception is thrown either by persist (if that existing entity object is currently
Manual
3

JPA Primary Key

the database is uniquely identified (and can be retrieved from the database) by the combination of its type ... have their own separate identity. Automatic Primary Key By default the primary key is a sequential 64 bit number (long) that is set automatically by ObjectDB for every new entity object that is stored
Issue
3

Blocked by find

, Object obj)" method which is synchronized and attempts to load an object by id using the EntityManager ... .ObjectDbInstanceContainer@9c71a4 owned by: DEV1-WSAgent-1-Existing/3 Total blocked: 190 Total waited: 69 ... : BLOCKED on com.objectdb.o.LKM@254e85f4 owned by: ODB-FileWriter Total blocked: 789 Total waited: 616
Forum
3

ORDER BY problem, when String starts with language specific character

Dear all, I have a problem with ORDER BY clause. I have a simple query: select u from User u order by u.name When the name starts with "normal/english" character, records are ordered correctly ... to JPQL and JDOQL) you can use the Normalizer expression directly in the query ORDER BY clause
Forum
3

Suspected memleak caused by bad state of EntityManager

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 ... and retrieved by EntityManagerFactory, and the instances of Entity constructed by ObjectDB
Forum
3

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
Forum
3

Unable to run NetBeans/JPA Web Application Tutorial

downloading and running the tutorial, if following step by step doesn't work. pryashrma ... I followed each and every step of NetBeans/JPA Web Application Tutorial but when i am trying to run the web application the following error is prompted on the run console: Start is in progress
Forum
3

Should derived fields of an EmbeddedId be manually maintained by app code?

, of type ECompoundKeyMapItem, identified by their "key" within the EContainer class. The items ... "ECompoundKeyMapSubItem", identified by their keys. The embeddedId for the item class, ECompoundKeyMapItemId ... = parent; } [ObjectDB 2.3.0_01] Unexpected exception (Error 990) Generated by Java HotSpot(TM