About embedded

forum_thread

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

Hi! Scenario: Copy attached DB into localhost ObjectDB server (I'm running 2.5.1_03). Open attached project JavaEE Maven with NetBeans (7.4 beta in my case). Start ObjectDB on localhost as server. Run project on Apache Tomee 1.5.2 standard. Take a look at NetBeans' output to see how many entities are found with field type GOOD. There are 2 ways generate the bug: ... b WHERE b.type = ?1" (param 1 is Bug.Type.GOOD)(type is Embedded(String))(see code) Problem continuation: I've seen it ...

 
forum_thread

DB Explorer and Doctor unable to open DB file

Hi, one of my DB files can not be open by neither DB explorer, nor the DB Doctor. Both are writing same mistake : ... file without difficulties though (reading and storing the embedded type RackModel). The type SelectionModel (which is not found) is the ...

 
forum_thread

can removing an entity throw an exception if the entity is in use?

Suppose you have an entity @Entity class A { ... } and other entities with references to A.   e.g. @Entity class B { A a; // explicit reference to A List<A> list; // list of A's Set<A> set; // set of A's Set untyped; // general collection that may include A's } Objectdb allows me to remove an instance of A, even if a managed B has some reference to that A. When I then find the B instance and try to reference the A, I get an EntityNotFoundException. ... there a query that can return all Objects (@Entity and/or @Embedded) that include any reference to a specific Entity? ...

 
api-jpa

javax.persistence.metamodel.MappedSuperclassType

Instances of the type MappedSuperclassType represent mapped superclass types.(Interface of JPA)

 
issue

NullPointer running multiple client against server

Hi, I'm running objectdb in server mode, config as it comes out of the box. In this case the database is being used as a queue with multiple seperate processes, each with multiple threads, writing messages. The message is split into a lightweight metadata message to allow fast searching and a more heavy weight data message. The put methods are shown below. The message is made up of an id, insert-time, priority and the payload is a large string. ... } I've tested this extensively in embedded mode and it works fine with many writers and readers. However, in ...

 
forum_thread

BIRT plugin: Trouble with Client/Server connection

I am having trouble setting up the birt points.odb sample with a client/server connection. I can connect to points.odb with the explorer.  I added a "Data Source" that works fine with local file.  The connection using the url fails the ping test.  I get (Failed to connect to server localhost:6136) The following is my setup: Dev Versions:     MyEclipse Enterprise Workbench - 12.0.0.me201311281640         -Eclipse platform - 4.3.1.v20130911 ... the database, so a difference between accessing a local embedded database or a client-server remote database by the BIRT plugin are not ...

 
manual

BIRT/ODA ObjectDB Driver

Explains how to use the ObjectDB/JPA data source BIRT driver.... Specify an ObjectDB connection url - either embedded (e.g. c:\points.odb ) or client-server (e.g.  ...

 
forum_thread

Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError

Hi,    I've had an issue that started today and it's got me stumped. I've got a subclass User, which extends a BaseEntity. The BaseEntity has a @PreUpdate as per: ... glassfish I run client/server, but the test is running embedded.  Example output of error .... ********* Called ...

 
forum_thread

explorer locks local database in readonly mode

hi, my current use case is: execute unit test, verify results in explorer. my problem, i have to close the explorer before every run, and open it again after the tests are done. this slows down the whole process. i opened the database in readonly mode, but the file will be locked by the explorer process. do you think it's worth to improved this? if yes, isseu #39 (refresh) will be useful too. thanks ... to view a database that is in use also if it is open in embedded mode. Please subscribe to this issue to increase its priority. ...

 
forum_thread

Check for index existence ?

Hello, Is there a simple way to check if indexes specified in entities are well taken into account by ObjectDb ? Regards, Xirt ... 17:28 I am using the embedded mode.  My objectdb.conf <log ...