About long

forum_thread

Searching lists within objects

Hi everyone,  I've a problem with searching on lists. I'm uncertain as to what the best form is, so I've created a maven project with all the classes and a unit test showing my issue. Pretty much I want to search using cb.isMember passing an object. This however does NOT work. I'm uncertain how the database is doing its matching, but it looks to me like it matches using objectids, which means you can only match isMember if you have a database object. This does not help as I'm never going to have the real object at search time. ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
release

2.6.5

... Fixed a bug in handling large objects with long primary keys as query results ( issue #260 ). Fixed ... bug in displaying Integer embedded ID fields as Long . Version 2.5.4 Added empty implementation of ...

 
page

Posting to ObjectDB Website - Important Instructions

Instructions for posting to ObjectDB website (to the forum, the issue tracking and the help desk).... overflow of published source code examples by breaking long lines. Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) ... because ObjectDB has no control on soft references (as long as ObjectDB use soft references rather than strong references when ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ...

 
forum_thread

Pre-detach loading: retrieval by navigation not working in if statement

objectdb-2.6.3_04 JDK1.7 VM option at runtime: -javaagent:lib/objectdb.jar Experimental mode: objectdb.temp.no-detach NOT USED ... accessing the lz.present.id) is not: Long idPresent = lz. getPresent ( ) . getId ( ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ...

 
forum_thread

Unable to execute update query

Hello! I'm trying to do an update query via the explorer to set a new field value for around 400k objects. UPDATE Position p SET p.originalData = null This exception raises when I try to do it: ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
forum_thread

Entity is not related to ObjectDB, but i get exception from ObjectDB

Here is the description of the problem we are facing:
We have an entity DialogActionNew which previously was located in ObjectDB and recently has been transferred to PostreSQL. We are using ORM Hibernate
When getting this entity from PostgreSQL with the key EntityManager.find(id), we receive another entity - DialogNew, which has an exception: ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
forum_thread

Activation Issue

Hi, We bought a site license the yesterday. I ran the activation class this morning. That generated the activation key. I took that key as per the instructions, added it to the objectdb.conf inside the jar, and everything was happy. (this was with 2.3.7). However after a reboot I'm now getting the evaluation license restriction message again at compile time (which was I was seeing before putting the activation key in objectdb.conf). I tried upgrading to 2.3.7_02 and updating objectdb.conf with the activation key, but get the same behaviour. ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
issue

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

NB: the following issue only happens with ObjectDB, it does not happen with EclipseLink.  Glassfish3.0.1 objectdb-2.2.5_10 JavaEE6 web app The error reports as: javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getWidthPxSideBarLeft Where getWidthPxSideBarLeft() is an annotated getter of an entity ViewConfiguration: ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...

 
forum_thread

InternalError on multiple AND and JOIN Query

Hi, Using objectdb 2.2.8_06. Running the following query: SELECT DISTINCT $1 FROM CDI $1 JOIN $1.contactDetails $2 JOIN $2.addresses $3 JOIN $3.attributeList $4 JOIN $2.phoneNumbers $5 JOIN $5.attributeList $6 WHERE ((($4.name='suburb') AND ($4.valueAsString='Los Angeles')) AND (($6.name='areacode') AND ($6.valueAsString='310'))) Getting: ... overflow of published source code examples by breaking long lines . You may mark in paragraph code words (e.g. class ... (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex source examples (> 100 lines) ...