About Object Database

forum_thread

Does JPA have any configuration to create DDL's that are database specific

There some JPA classes who's names more that 30 character. This worked well in MySQL , Derby , PostgreSQL but when it was tried on oracle , we hit the constraint that oracle has of 30 characters.   So basically my question is that is there any JPA configuration to create DDL's that are specific to database   ... JPA have any configuration to create DDL's that are database specific.   ... annotation. But this is relevant only for ORM (Object Relational Mapping) JPA and ignored by ObjectDB. ...

 
forum_thread

Database connection url

I'd like to run a database called db1.odb on port 6136, and simultaneously open it in the explorer. I left the conf file set as: <server> <connection port="6136" max="100" /> <data path="$objectdb/db-files" /> </server> However, I'm not sure about the connection url for the code, and for the explorer. I tried this: Transactor.emf = Persistence.createEntityManagerFactory ("$objectdb/db1.odb");... I'd like to run a database called db1.odb on port 6136, and simultaneously open it in the ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

Detaching objects after JOIN FETCH

Hi, I have a question about detaching objects after issuing query with JOIN FETCH. Let's say I have two classes: public class A { @ManyToOne B bClass } public class B { @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) List<A> aClasses; } Now, I want to fetch all B classes with all A classes skipping lazy loading: ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

How do I Remove an entity from the Database ?

Hi I no longer want to use an Entity .. (in SQL terms the whole Table ) ... How do I delete it ?   Thanks Paul Newman ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
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 ... this slows down the whole process. i opened the database in readonly mode, but the file will be locked by the explorer ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

Attempt to remove a detached entity object (error 613)

Hello, that a strange error for me ... I have a detached object in my Java code and i just wanted to merge it ... Unfortunatly, i get this error : Failed to commit transaction: Attempt to remove a detached entity object (error 613)      at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290) We see in this stack trace that is a commit operation, all right ... So why does it try to remove the object ... ? ... a strange error for me ... I have a detached object in my Java code and i just wanted to merge it ... Unfortunatly, ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
release

2.5.1

... when logging is disabled. Improved closing database time when recovery is disabled. Fixed ... Changed merge implementation (removed temporary object clearing). Fixed the Explorer to show null values in ...

 
forum_thread

Database Inconsistency or corruption

Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectDB 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1-) Background Consider Three entities: ObjectValue, Attribute and Value. ObjectValue has a one to many relationship to Attribute and Attribute has a one to one relationship to Value. ... 2-) Problem Description I initialized the database with some ObjectValues. Persisting new ObjectValues (with new ... the update operation, I dump the properties of the object I want to update. ObjectValue ID:=100, TYPE:=Person, ... the update Operation I also dump the properties of the object. ObjectValue ID:=100, TYPE:=Person, REVISION:=2, ...

 
forum_thread

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

This topic is for those considering migrating from EclipseLink JPA or TopLink to ObjectDB JPA. ... load the entities of the lazy loading association from the database, when it needs it (without any merge call). From doug ... proxies to retrieve additional dettached instances. If the object was detached through serialization this would not be possible. .. ...

 
forum_thread

how to persist an object twice into two diff. collections of two diff. classes

ok my problem,    i persist a Squad Object into a Cup Object at the beginning, after i have to create and persist a competition object in which i have to put some of the already created/persisted squads. the final method looks like that: ... my problem,    i persist a Squad Object into a Cup Object at the beginning, after i have to create and persist a ... at ch. hsr . gymtastic . technicalServices . database . DBConnection . commit ( DBConnection. java : 46 ...