About value

issue

File lock exception on odb$

Not sure if this is an objectdb issue or not but I thought I'd raise it just in case. We had a server failure which caused an unexpected reboot. As a result, the application services which use objectdb were not shutdown properly which in turn meant we had several odb$ files left behind. I had assumed that objectdb would reprocess these when the services restarted but instead we got the exception below. ... : <property name="javax.persistence.jdbc.url" value="$objectdb://localhost:8080/db/guests.odb"/>   ...

 
forum_thread

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

Hi, while working with a (standard-)JPA-query generating framework we run into an exception when ordering the results of some projection when the order by expression is different (though logically equivalent) to the projection expression. Here is the example: #1 2016-01-10 10:19 Hi, while working with a (standard-)JPA-query generating framework we run into an exception when ordering ...

 
forum_thread

New to Product & Having An Issue

Greetings ObjectDB Users! I'm new to the product, and I've setup a simple test after reading the tutorial, and I'm running into some issues with queries, specifically querying by primary key.   I have a domain object class Called Department, which has a member of type DomainId.  DomainId has two member fields:  String accountId and String objectId.  The following code shows these two classes. #1 2010-12-16 19:42 Greetings ObjectDB Users! I'm new to the product, and I've setup a simple test after reading the ...

 
forum_thread

Optimistic locking: prevent version increment on entity collection attribute

Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) with an optimistic locking strategy supported by a version field. Is it possible to prevent the increment of the version of entity E when entities are added to or removed from the collection? Something like the equivalent of @OptimisticLock(excluded=true) in Hibernate? Thanks, Farid ... EntityManager it all works fine because I have the cached value of the Document returned.   @ Entity ...

 
issue

Issue with DISTINCT Select

It is getting more and more frustrating :( We've introduced distinct select instead of regular selection in our code (no changes else) and suddenly receive invalid identifiers in queries exceptions in various queries. Here's the stacktrace: ... that if profile is a collection then the same $1 value may represent more than on tuple, e.g. if (1,2a) and (1,2b) are both ...

 
forum_thread

Join performance in Objectdb

select count(e) from Meta e, ImageNet i, Page p where e.idImage=i.id and e.idPage=p.id; So simple a command cause me half an hour and is running now! Each table has about 160K records. What formula can predict the time for such counting? TIA ... em. createQuery ( "SELECT COUNT(a.value) FROM A a" , Long. class ) ; result = q2. ... GeneratedValue long id ; int value = 1000000 ; String str = ...

 
forum_thread

Index causes increased memory usage

Hello, ... Yes, we were tinkering with that value yesterday and I recorded some results.  I don't have the numbers ...

 
forum_thread

Out of memory

Hi, Today in the middle of the night ODB just crashed leaving this on console screen: ... latest build. However message from doctor: Global Value Errors ------------------- [ 1 ] Unexpected last index ... there are many operations). However, if you decrease that value then temporary files will be used and that may decrease the application ...

 
issue

Error on commit

I get the following on commit:  (v2.3.7_15) Let me know if you need more info. ... -11 [2012-04-20 11:56:07 #211 store] Request Value: 25:1411611 [2012-04-20 11:56:07 #212 server] [ObjectDB ...

 
issue

Weird issue with variable naming

hi, ... this happens during debugging because when you check the value of a path (which calls toString()), your whole query goes wrong after ...