About query

issue

EOFException

Not sure if you'll be able to help with this but I've had an application get into a state where it cannot access anything from the database - queries fail with the following exception: Bug Version: 2.3.3 Priority: Critical Status: Fixed Replies: 2 Type:  Bug ...

 
forum_thread

Multi-tenant setup

Hi, does anybody have experience with multi tenant setup of objectDB. For example using multiple schema or multiple database. How to handle connections between app (Jboss Wildfly) and pass query request to appropriate database, how to dynamically add new database or schema. There are lot of discussions on how to do it with hibernate Thanks     ... to handle connections between app (Jboss Wildfly) and pass query request to appropriate database, how to dynamically add new database or ...

 
forum_thread

member visiting in jpql

baURI is a byte[]; JP QL> select e.baURI.length from URI e where id=82778 JP QL> [ObjectDB 2.2.9_04] javax.persistence.PersistenceException Navigation from 'byte[]' through 'length' is invalid (error 763) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:636) at util.JPQLcmd.QureyCMD(JPQLcmd.java:43) at util.JPQLcmd.main(JPQLcmd.java:28) Why I can not visit the length attribute? TIA #1 2011-08-25 14:20 baURI is a byte [ ] ; JP QL> select e. baURI . length from URI e where id = ...

 
forum_thread

Some technical questions

Hi, ObjectDB looks interesting. Have two technical questions... (1) what locking model does ObjectDB use? I.e. 2PL or MVCC? Do writers block readers? Do readers block writers? (2) what's the recommended usage for SAAS? One ObjectDB database per customer, or one ObjectDB database for all? Thank you, Andrej #1 2011-09-19 19:15 Hi, ObjectDB looks interesting. Have two technical questions... (1) what locking model does Objec ...

 
api-jpa

get(alias)

Get the value of the tuple element to which the specified alias has been assigned.(Method of javax.persistence.Tuple)

 
api-jdo

Query.fetchPlan

The name of the fetch plan used by this query(Annotation Element of javax.jdo.annotations.Query)

 
api-jdo

FetchPlan.fetchSize

The number of instances of multi-valued fields retrieved by queries.(Annotation Element of javax.jdo.annotations.FetchPlan)

 
api-jpa

javax.persistence.criteria.Fetch

Represents a join-fetched association or attribute.(Interface of JPA)

 
forum_thread

Running doctor.jar with entity classes in classhpath

Hi, I am wondering how to populate new entity classes to database file, so that I could add new instances of these entities to database through explorer. I tried to run com.objectdb.Doctor with model.jar (my entity classes in it) in classpath but it doesn't work (new entities still dont show up in explorer). Could it be possible to add that kind of feature in next relase ?   I run doctor by executing cmd like : java -cp bin\objectdb.jar;_my_model_.jar com.objectdb.Doctor old_db.db new_db.db ... explorer.jar In the Explorer execute a query on the class, using full class name: SELECT e FROM ...

 
forum_thread

Global way to set Lazy-loading fetch functionality for all the fields

Hi, for cascading persist, I have 3 choices: - Either locally (@OneToOne(cascade=CascadeType.PERSIST)) - Either at objectdb level (<cascade-persist always="auto" on-persist="false" on-commit="true" />) - Either at JPA global level (orm.xml).   For defining fetch policy, I know the local way to do it (@ManyToOne(fetch=FetchType.LAZY)). Is there any way to do it at objectdb level or JPA global level?   ... set locally per relationship, and for some extent also per query (using JOIN FETCH ). ObjectDB Support ...