About find

release

2.7.1

... Added support of using entity instead of a PK in find (retrieval by example). Added support of using list of ... . Fixed a bug in optimistic locking on find by using LockModeType.WRITE . Fixed exception when a ...

 
release

2.3.5

... id type when an entity object is retrieved using  find  with a PK of a different type (e.g. Integer instead of Long ... Fixed a bug in managing a new entity after an attempt to find it in the database. Fixed a bug in using LIKE in AND/OR in ...

 
forum_thread

ObjectDB 2.x is working without any activation code

Hi, I downloaded the objectDB from the http://www.objectdb.com/object/db/database/download and then added the objectdb.jar in my classpath. I used the default objectdb.conf file present in the objectdb.jar file and it is working without any activation code.. Is it is bug in objectdb or it works without actionvation code also. I am saving some information into the some.odb file and reading the informatin without any problem. What exactly is the activation code for ? Thanks & regards, ... , what could be the reason for this ? Also how to find out which activation code corresponds to which machine and in case if we ... it between your machines. ObjectDB will automatically find matching activation key in the list. ObjectDB ...

 
issue

Unexpected exception (Error 990) com.objectdb.o.InternalException

Hello, we get an exception if we use Enhanced Entities. With not enhanced Entities we get no error. ... entity: MyEmbeddable embeddable = em. find ( MyEntity. class , 1 ) . embeddable ; ... but free the entity: List list = em. find ( MyEntity. class , 1 ) . list ; System. ...

 
release

2.7.0

... Added support of using entity instead of a PK in find (retrieval by example). Added support of using list of ... . Fixed a bug in optimistic locking on find by using LockModeType.WRITE . Fixed exception when a ...

 
forum_thread

Apache Tomee 1.5.2: Failed to use JTA (TransactionManager is not found)

Hello, ObjectDB team! I am struggling with getting ObjectDB 2.5.0 to work with clean Apache Tomee 1.5.2 with transaction-type="JTA". I don't have any configurations in Tomee (objectdb.jar is in Tomee's classpath) nor other parts, excepting the following persistence.xml: ... is not bound in this Context. Unable to find [comp]. at ... It seems as a resource loading problem. ObjectDB cannot find TomEE's TransactionManager , which is required in order to use ...

 
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. ... in the database). Split the query - first find the relevant attributes and then find the CDI that contains these attributes. AttributeType ...

 
release

2.6.9

... Added support of using entity instead of a PK in find (retrieval by example). Added support of using list of ... . Fixed a bug in optimistic locking on find by using LockModeType.WRITE . Fixed exception when a ...

 
release

2.3.4

... id type when an entity object is retrieved using  find  with a PK of a different type (e.g. Integer instead of Long ... Fixed a bug in managing a new entity after an attempt to find it in the database. Fixed a bug in using LIKE in AND/OR in ...

 
release

2.4.7

... . Fixed a bug in optimistic locking on find by using LockModeType.WRITE . Fixed exception when a ... id type when an entity object is retrieved using  find  with a PK of a different type (e.g. Integer instead of Long ...