About feature

forum_thread

Java 8 time API

Hi.   Is Java 8 new DateTime API supported natively or through Converters in the newest versions of objectdb? If not, can we expect this feature in the next releases?   Best regards and congratulations on this awesome database.  ... newest versions of objectdb? If not, can we expect this feature in the next releases?   Best regards and ...

 
forum_thread

A nested SELECT

Hello. I have a query UPDATE Look l SET l.partlySold = FALSE WHERE (SELECT count(a) FROM l.things a WHERE a.thing.status != :status) <= 1 which doesn't work: "Unexpected query token 'SELECT'". Does ObjectDB support queries like this? Thanks. #1 2014-06-24 18:22 Hello. I have a query UPDATE Look l SET l . partlySold = FALSE WHERE ( ...

 
forum_thread

Get list of database files

Hi, we would like to know if there is any API we can use to get a list of all database files on an ObjectDB server. The ObjectDB explorer has such a feature (File->Open C/S Connection->Browse...). Thanks for help! ... an ObjectDB server. The ObjectDB explorer has such a feature (File->Open C/S Connection->Browse...). Thanks for help! ...

 
forum_thread

SelfTest and com.objectdb.Doctor

Dear Objectdb-Team We're really pleased with objectdb. Nevertheless we would like to ask for an 'extra' feature. The class 'com.objectdb.Doctor' enables a self-test for a given Database. We would like to make a self-test before every start of the database (i.e. the server). In case of fails or errors we would like to repair the database and/or inform the customer. ... Nevertheless we would like to ask for an 'extra' feature. The class ' com.objectdb.Doctor ' enables a ...

 
forum_thread

calling persist on an object more than once

results in an error (613) when the transaction is commited: [ObjectDB 2.2.4] javax.persistence.RollbackException Failed to commit transaction: Attempt to reuse an existing primary key value (common.model.UserSession:13) (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:271) at javax.jdo.Transaction$commit.call(Unknown Source)   I submit that there are a number of problems with this: a) the error message is not helpful ... ie: if there really is a convincing reason for this feature, then it might be helpful to: a) provide a better help message (ie: ...

 
faq

Can I use ObjectDB to access a relational database?

To access relational databases using the Java Persistence API (JPA) you will need an Object Relational Mapping (ORM) tool, such as Hibernate, TopLink, EclipseLink, Open JPA or DataNucleus. The DataNucleus ORM implementation supports also the Java Data O ...

 
forum_thread

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

hi, i currently try to use objectdb for a new project. i wanted to use it in combination with spring-data-jpa (M2), but i'm not able to use the automatic repository feature because the following code fails         EntityType<T> type = metamodel.entity(domainClass); ... (M2), but i'm not able to use the automatic repository feature because the following code fails EntityType<T> type ...

 
forum_thread

CriteriaBuilder createCriteriaUpdate are not executing

Regards all!! CriteriaBuilder createCriteriaUpdate are not executing. CriteriaUpdate<Order> criteriaUpdate = cb.createCriteriaUpdate(Order.class);   java.lang.UnsupportedOperationException at com.objectdb.jpa.criteria.CriteriaBuilderImpl.createCriteriaUpdate(CriteriaBuilderImpl.java:1502) What is the problem? ... 20:43 This is a new feature of JPA 2.1 that is not implemented yet in ObjectDB. ...

 
forum_thread

Is there an administration tool with which I could create extra indexes?

Hello, I have composite index, and it was working fine, but now I need to add more features to the software and I need to throw more indexes in there. I wanted to know what's the best way to do this. 1. Have some admin tool CREATE INDEX..... ON a.b or 2. add more @Index to the object entities. in case of #2, would ObjectDB auto-reindex all existing data? #1 2013-01-10 07:25 Hello, I have composite index, and it was working fine, but now I need to add more features to the softwa ...

 
forum_thread

Why can't we persist an object with a field of type EnumMap in ObjectDB?

Hi, Is there a reason why we can't persist an object with a field of type EnumMap in ObjectDB? but it works fine for fields like = HashMap<EnumType,Double> Thanks EKK ... ability in the configuration. But using this feature is not recommended. ObjectDB provides better support (i.e. more ...