About @Embeddable

forum_thread

Embedding Managed Entities in Embedded Objects = bad idea

Discovered that you can't embed entities in embeddable objects if the entity is managed. Haven't tried embedding un-managed entities in embeddable objects, though I imagine that's not a great idea. The the error message isn't all that obvious (attempting to persist object which already has an id).     #1 2012-06-01 07:35 Discovered that you can't embed entities in embeddable objects if the entity is managed. Haven't ...

 
forum_thread

Documentation problem - license does not match implementation

The license page says: "ObjectDB can be downloaded and used at no cost (including commercially) with the restriction of maximum 10 entity classes and one million entity objects per database file." I was well into a rather large project when I discovered, much to my horror, that the free license does not allow 10 entity classes.  It allows a total of 10 persistable classes - entity and embeddable combined.  I will now probably have to drop ObjectDB in favor of some other JPA provider. #1 2012-08-25 07:06 The license page says: "ObjectDB can be downloaded and used at no cost (including commercially) with the restrict ...

 
manual

JPA Persistence Unit

Explains how to define a JPA persistence unit in the persistence.xml file. A JPA Persistence Unit is a logical grouping of user defined persistable classes (entity classes, embeddable classes and mapped superclasses) with related settings. Defining a persistence unit is optional when using ObjectDB, but required by JPA. ...

 
release

2.6.9

Release date: 2016-08-10 Download (5.58 MB) Binary:  objectdb-2.6.9.zip Version 2.6.9 Added support for integration with WebSphere ...

 
release

2.2.6

Release date: 2011-06-02 Download (5.13 MB) Binary:  objectdb-2.2.6.zip You should start by following a  tutorial or reading the manual ...

 
forum_thread

A few questions on object database design

I've been trying to model a database that stores data in an MMORPG. With ObjectDB, a lot of things are easier to perform. Intuitively, I created an entity class called player and stored everything about the player as embeddable classes. However, my colleague questions about this structure, since we would be looking at persisting data from the server every minute or two per player. He has stability issues with the ObjectDB if we are accessing the same table all the time. #1 2014-06-18 11:33 I've been trying to model a database that stores data in an MMORPG. With ObjectDB, a lot of things are easier ...

 
forum_thread

Explorer in 2.3

First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way to do ad-hoc JPQL queries and navigate through the results and even make small changes to primitive data and Strings. After playing with it for a while, here is a list of additional features I'd love to have: 1. Export of selected data: a. Simple - Select a range of cells or a column header and copy text to the clipboard or save to a file (csv, html, etc..). (There appear to be copy menu options, but I cannot get them to work.) ... of a field of type 'A' where A is an @Entity or @Embeddable. I could do this using a Java expression that returns the correct ... the result of a JPQL query to set a value of an @Entity or @Embeddable field. ie. I want to set the value of a field of type 'A' ...

 
forum_thread

Is named-query supported in orm.xml

I prefer to keep custom JPQL named queries in an external file, e.g. orm.xml, rather than in the entity classes, for example: <named-query name= "DataValue.deleteByCapabilityAndCreationtime"> <query>delete from DataValue d where d.capabilityId = :capabilityId and d.creationtime &lt;= :creationtime </query> </named-query> This works fine with e.g. eclipseLink and postgres, but objectDB complains with an error like: #1 2011-10-12 14:50 I prefer to keep custom JPQL named queries in an external file, e.g. orm.xml, rather than in the entity classes, ...

 
release

2.6.7

Release date: 2016-03-04 Download (5.54 MB) Binary:  objectdb-2.6.7.zip Version 2.6.7 Added an option to write javaagent enhanced c ...

 
release

2.6.8

Release date: 2016-05-23 Download (5.57 MB) Binary:  objectdb-2.6.8.zip Version 2.6.8 Added JPA XML validation schema files to Mave ...