About API

forum_thread

Odb file version

Hi, Do we have any mechanism to knwo whether the odb file belongs to 1.x object db or 2.x object db. Before migrating all the odb files from objectdb 1.x to 2.x, i would like to add a check if it is already migrated. Any API which is exposed to check the odb files version ? ... like to add a check if it is already migrated. Any API which is exposed to check the odb files version ? ... There is no such API, but you can use a try-catch block. i.e. you can write code that tries ...

 
issue

Bean Validation (JPA 2.0)

JPA 2 adds support for integration with the Bean Validation API. Constraints are added to entity and embeddable classes by annotations, and can be checked automatically on PrePersist, PreUpdate and PreRemove lifecycle events. Integration with the Validation API is currently not supported by ObjectDB.... 2 adds support for integration with the Bean Validation API. Constraints that are defined for entity and embeddable classes by ... JPA lifecycle events. Integration with the Validation API is not supported yet by ObjectDB. ObjectDB Support ...

 
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! ... 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. ... then can be explored further using the java.io.File API. You can also get the File (or directory) of a specific path on the ...

 
api-jdo

javax.jdo.Constants

Constant values used in JDO.(Interface of JDO)

 
issue

Different behavior for casting and not casting

Hi, Please use attached db for testing the queries. Query #1 which works and selects a few entities: SELECT DISTINCT $1 FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1 WHERE $1.qubletFRAGMENTMAP.get('com.lexware.vereinsverwaltung.abrechnung.api.model.mitglied.MitgliedVertraegeFragment') IS NOT NULL Query #2 which is equal to the previous one though includes a casting and returns NO entities: ... . get ( 'com.lexware.vereinsverwaltung.abrechnung.api.model.mitglied.MitgliedVertraegeFragment' ) IS NOT NULL ... ( com . quasado . foundation . warehouse . api . model . inventory . contact . AbstractContactContractsFragment ...

 
release

2.7.2

... conflict (missing synchronization) in the JPA metamodel API. Fixed implementation of casting ( as ) in criteria ... in listing inherited persistent fields (in the Metamodel API and in the Explorer). Fixed a bug in merging complex object ...

 
release

2.7.3

... conflict (missing synchronization) in the JPA metamodel API. Fixed implementation of casting ( as ) in criteria ... in listing inherited persistent fields (in the Metamodel API and in the Explorer). Fixed a bug in merging complex object ...

 
release

2.7.3_01

... conflict (missing synchronization) in the JPA metamodel API. Fixed implementation of casting ( as ) in criteria ... in listing inherited persistent fields (in the Metamodel API and in the Explorer). Fixed a bug in merging complex object ...

 
api-jdo

jdoMakeDirty(fieldName)

Explicitly mark this instance and this field dirty.(Method of javax.jdo.spi.PersistenceCapable)

 
api-jpa

javax.persistence.EntityManager

Interface used to interact with the persistence context.(Interface of JPA)