About between

forum_thread

internal object DB locking in an embedded multi threaded application

Hi, we are using Embeded objectDB 2.4.4_06 in a highly multithreaded concurrent manner and we have noticed a performance problem in our application that seems to be attributed to ObjectDb's internal locking. When profiling our app in JVisualVm we notice a large number of threads are blocked and when doing a threaddump we notice that they are all blocked in the same place: ... how we can improve / elviate this? our database files are between 100 and 500 meg when this occurs. It doesnt happen all the time but ...

 
release

2.6.3

... Fixed very slow processing of a composite BETWEEN query. Fixed NullPointerException when using AND ... than 2GB. Fixed a bug in running queries between flush and commit. Fixed a deadlock ( issue #62 ). ...

 
manual

Database Schema Evolution

Explains how ObjectDB handles automatically schema changes.... insensitive to class hierarchy changes (e.g. moving fields between classes in the hierarchy, removing an intermediate class in the ...

 
forum_thread

Class loading problem with private packages in OSGi environment

Our Business Objects are the JPA entities. We develop our product domain driven. This means we have several domains. Each domain is split into business layer and persistence layer (others are not relevant here). Per domain and per layer, we have an OSGI bundles. The business layer should have no dependency down (an exception is the dependency to the ObjectDB for the enhanced entities).  The persistence Layers have a dependency to the business layer and to the central DataAccess Layer.... What is the relationship between CodeArchitectureExt and  CodeArchitectureImpl ? ... The relationship between CodeArchitectureExt and CodeArchitectureImpl is that the entity class ...

 
forum_thread

Possible issue with Spring JPA and Embedded

Hello, ... 01:06 The difference between the two tests is that Spring JPA returns detached objects. A ...

 
forum_thread

Level 2 cache not hit in @ManyToOne

Hi! I have 2 entities: User and Item, both @Cacheable. Item has @ManyToOne private User user. Level 2 JPA cache is activated and it works ok for find by id (tested by changing data in explorer and reading in my app). Problem 1: find by id on Item it's good, it hits the cache, but not for its field "user". "user" is loaded each time from the DB (tested by changing data in explorer and reading in my app). "user" should also be taken from L2 cache, shouldn't it? Otherwise...it's a huge performance hit. ... can save a client-server round trip. Similarly, traversal between objects which requires transparent retrieval of referenced objects, ...

 
issue

Error whilst running

ObjectDB 2.6.0] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.7.0_17 (on Windows 2003 5.2). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: null com.objectdb.o.InternalException at com.objectdb.o.BYR.o(BYR.java:113) at com.objectdb.o.BYR.w(BYR.java:206) at com.objectdb.o.VUT.j(VUT.java:350) at com.objectdb.o.RST.C(RST.java:194) at com.objectdb.o.RTT.l(RTT.java:134) at com.objectdb.o.RST.l(RST.java:24)... on this forum thread . It seems that a change between builds 2.4.4_10 to 2.4.4_17 causes this error, but probably only in ...

 
forum_thread

Missing Data on Retrieval (0, null values)

I try  to export all Objects in an Flatfile-Hiearchy (.csv). But only the first exported Table contains all necessary Data. Most of the others  contains all  Object-Rows', but most Values of the Columns are missing. With a  em.clear() inside the Loop, all tables are exported correctly but the Enity-Keys do not match. I can't get the point - what am i doing wrong?   emf = Persistence.createEntityManagerFactory(dbFile); em = emf.createEntityManager(); ...  OK, but persistence.Person@... -Key do not match between the two Resultlists Tested with  Version 2.6.7 and 2.4.5 ...

 
release

2.6.2

... Fixed very slow processing of a composite BETWEEN query. Fixed NullPointerException when using AND ... than 2GB. Fixed a bug in running queries between flush and commit. Fixed a deadlock ( issue #62 ). ...

 
forum_thread

Persisting collection where members are subclasses

OK, I have a number of classes which are all subclasses of Entry (e.g., Folder, Link, Book). In the Folder class, there is a @OneToMany Map<String, Entry> children If I store something in that map which is an Entry, then I can persist just fine. But if I try to put any of the subclasses into the map, then I get  ... enabled by default in JDO, but that is the only difference between JPA and JDO in this context). If you still cannot make it work ...