About API

forum_thread

package not found running ObjectDB under OSGi

Hi I have created in Eclipse a new plugin from existing jar file and than I tried to enhance my classes (using Ehancer from that new bundle), however I got an error :  [ObjectDB 2.2.8_02] Package datamodel.core.base is not found by the enhancer (error 108) The Enhancer was run in the following way :  ... is not a bug but a limitation. Java doesn't provide an API for locating all the classes in a package. ObjectDB can still locate ...

 
api-jpa

javax.persistence.criteria.From

Represents a bound type, usually an entity that appears in the from clause, but may also be an embeddable belonging to an entity in the from clause.(Interface of JPA)

 
forum_thread

Enhancer problem

During development, I have used the enhancer API in a static block in the code that creates the EntityManagerFactory, ie. ... During development, I have used the enhancer API in a static block in the code that creates the EntityManagerFactory, ie. ...

 
issue

ObjectDB for Android

ObjectDB has not been tested yet on Android and it is unknown yet what exactly is necessary to make ObjectDB run on Android. Using ObjectDB and Java Persistence API (JPA) on Android should have great potential.... Using ObjectDB and Java Persistence API (JPA) on Android should have great potential, but it has not been tried ...

 
issue

Better OSGI Compability

We are currently using objectdb using osgi. However, the objectdb jar seems to be very monolithic and should be more modular to make it easier to use it with osgi, samples are: - Remove SWING dependency from core objectdb bundle - Externalize persistence and jdo apis and not putting them into objectdb jar (conflicts with glassfish jars otherwise) - Build objectdb as ready-made osgi jar bundle (We're doing this currently) Feature Request Version: 2.2.3 Priority: Normal Status: Fixed Replies: 2 Type:  Feature Request ...

 
forum_thread

Log is almost empty (log level 'trace')

Hi, Using 2.4.6_01 version on Linux (2.6.18, VPS)..  Just wondering what should I suppose to see in a log file with a log level 'trace'/'debug'.. Trying to fix an issue that server version sometimes accidentally quits without any notice.. My log file (independently on whats specified in config file) has only database open/close messages, some query.compiler info but nothing more..  Is that right behaviour? Are there are server statistics API/logs available? Regards, ... Is that right behaviour? Are there are server statistics API/logs available? Regards, Yuri ...

 
forum_thread

JSON serialization and __odbHidden members

Hi.. Building a REST API (Jersey-based one) I noticed that object object I serialize to JSON has a clone field with "__odbHidden" suffix, e.g.there's  "id" and "id__odbHidden" is also (unwantenly) present with the same value. In general, we can annotate fields to include/exclude them from JSON serialization, but since these fields are not declared in my classes, I have no idea how to tell marshaller to avoid them. ... Hi.. Building a REST API (Jersey-based one) I noticed that every object I serialize to JSON has a ...

 
api-jpa

setLockMode(lockMode)

Set the lock mode type to be used for the query execution.(Method of javax.persistence.Query)

 
forum_thread

Recommendation - concurrent access multiple class v

Hi! I've just started to architect a new system, stateless JSON API, which is expected to have very high load and to require more servers for parallel deployments (same app across multiple servers). I am considering using ObjectDB, because of its advantages and easy usage, but I'm afraid that it might get corrupted because the manual says that we must not access ObjectDB with different versions of a class. Let's take the following scenario: ... just started to architect a new system, stateless JSON API, which is expected to have very high load and to require more servers for ...

 
forum_thread

Is ObjectDB the only object database that supports JPA?

Other Object database does'nt support JPA?   ... JPA is designed as an API for Object Relational Mapping (ORM), so many JPA features cannot be ...