About manual

forum_thread

alter table

Hi: After a table built by real data, how to alter table structure, such as: alter table add column ... alter table add index ... TIA ... your class (see Database Schema Evolution in the manual). > alter table add index ... Add the index ...

 
forum_thread

Non Embedded byte[]

I am trying to understand the "embedded=false" for JDO byte[] as described in ObjectDB 1.0 Manual, sections 4.3 and 4.4.   I desire to store an image as a byte[] but I don't want the byte[] to be loaded on the loading of the persistent object that has my image's attributes.  The byte[] would only be loaded from the datastore if my image's attribute evaluation deemed that it need to be loaded.   Can you give a JDO example of how to achieve this?   For example: ... for JDO byte[] as described in ObjectDB 1.0 Manual, sections 4.3 and 4.4.   I desire to store an image ...

 
forum_thread

Start ObjectDB inside java code.

I am building an MMORPG with ObjectDB, and I use it both for the saving of character and inventory (permanent object), but also the storing of ability and maps information (object I load, use, and dispose and then reuse without having change anything). The problems is, as my server and client both run on the same machine and more than one client can be started, they all need access to this information without being able to share any thread, so am forced to use the server model. #1 2015-04-08 12:16 I am building an MMORPG with ObjectDB, and I use it both for the saving of character and inventory (permanent obj ...

 
forum_thread

Insertion Speed Rate and Batch Load

1. I got about 10K inserts / second, is it normal? I would expect more than that, like close to 100K/second. I can definitely do 80K inserts/seconds on Oracle with batch insert on table with one primary key. 2. Is batch update/insert operation supported? I attached the files. ... in the Storing JPA Entity Objects page in the manual. Attached a modified version of your TestObjectDB.java file ...

 
api-jpa

javax.persistence.Entity

Specifies that the class is an entity.(Annotation of JPA)

 
api-jpa

javax.persistence.Enumerated

Specifies that a persistent property or field should be persisted as a enumerated type.(Annotation of JPA)

 
api-jpa

javax.persistence.criteria.Join

A join to an entity, embeddable, or basic type.(Interface of JPA)

 
forum_thread

Entity Update - Is the documentation up to date?

I'm working on my first ObjectDB project, and I just went back and reviewed some of the documentation.  Turns out I've been doing two things that http://www.objectdb.com/java/jpa/persistence/update suggests should not work. First, I've been modifying managed entities from outside an active transaction.  If I subsequently begin and commit a transaction, all my changes seem to be merged automatically. ... 06:18 The online manual is always expected to be up to date with the last ObjectDB version. ...

 
api-jpa

javax.persistence.GeneratedValue

Provides for the specification of generation strategies for the values of primary keys.(Annotation of JPA)

 
forum_thread

java.sql.Date equals comparison not working with CriteriaAPI

Hello, Using ODB 2.4.5 and the Criteria API, doing a simple equals comparison with java.sql.Date value doesn't match any results in the database. Our code looks like this: ... 2013 - 11 - 01 whereas as seen in my manual query string i do something like: $1 . eintritt = { ...