About embedded

forum_thread

Attempt to store an instance of a non persistable type java.net.URL

ObjectDB 2.3.6_16: The following works in EclipseLink+MySQL and EclipseLink+Oracle: ... It is less efficient than simple types and embedded objects. Support of serialized objects in the Explorer ...

 
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.... disadvantages in each method. In many cases using embedded objects improves performance by eliminating the need to persist and ...

 
forum_thread

JPA vs JDO - which is more efficient for OneToMany queries?

I'm curious about the trade offs between JDO and JPA. Seems to me that JDO will perform better and be statically typed. For example: Assume there are Customers and Orders.... and ObjectDB can store a collection of references embedded in an entity object. The bottom line is that the difference is not ...

 
forum_thread

Using Scala collections with ObjectDB

Hi, I cannot see that it is possible to make scala collection classes persistable within ObjectDB. Am I missing something or must  ObjectDB Software Ltd do a specific incorporation of the scala.collection._  api for it to work ? (http://www.scala-lang.org/docu/files/collections-api/collections.html)   /Peter   ... want to leverage the high performance of ObjectDB for an embedded database but want to avoid introducing workarounds that negate this ...

 
forum_thread

NullPointerException while setting a new property value

Hello, we are using ObjectDB version 2.4.4 and we are unable to resolve following NPE on enhanced entity: java.lang.NullPointerException at com.objectdb.o.ENT.beforeModifyMember(ENT.java:1099) at model.PluginMetaData.__odbSet_maxAllowedDownloads(PluginMetaData.java:1) at model.PluginMetaData.setMaxAllowedDownloads(PluginMetaData.java:268) at model.PluginMetaData.setPluginDescriptor(PluginMetaData.java:94) PluginMetaData looks like this (nothing extraordinary, no relationship to other @entities): ... I forgot to mention we are using ObjectDB in embedded mode. Enhancing was made successfully without any error. ...

 
forum_thread

Eclipse plugin problem (using ObjectDB as a separate bundle)

Hello support, I have seen multiple attempts to correct similar errors as in the title above - the latest in the 2.2.8.01 release of objectDb. However I still get this error.   Here is my scenario (Groovy 1.8 and Eclipse 3.6) used. I have a com.epimss.lab.data.toxicology.TherapeauticDrugScreenRqst. Nested in this class are the following two classes: com.epimss.lab.data.misc.OtherRqst and com.epimss.lab.data.misc.RequestDateAndNumber. ... It works with the embedded objectdb lib - both the test and my development plugin. Thanks ...

 
forum_thread

Getting java.lang.ArithmeticException: / by zero

HI, I am using ObjectDb 1.x and getting the following exception while calling the following code PersistenceManager pm = getPersistenceManager(); ... the attached jar, which is the last build of ObjectDB 1.x embedded. ObjectDB Support ObjectDB - Fast Object ...

 
forum_thread

javax.persistence.PersistenceException

Hi I am trying to get a basic EclipseRCP project working with Objectdb. At the very first line in creating a View public void createPartControl(Composite parent) { EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/db/pilots.odb"); I get the following "javax.persistence.PersistenceException: No Persistence provider for EntityManager named pilots.odb at javax.persistence.Persistence.createEntityManagerFactory(Unknown Source)....." ... It seems that currently ObjectDB has to be embedded in the plugin and trying to use it as a separate bundle fails. ...

 
forum_thread

An ArrayIndexOutOfBoundsException with nested entities and enhanced entities

We have a new issue like the issue in the forum task http://www.objectdb.com/database/forum/1075. This issue is very important for us, because we want to create a release soon. ObjectDB version: 2.6.8_06 All our entities are enhanced. There are nested entities in following hierarchy: @Entity @Access (AccessType.FIELD) public abstract class ModifierImpl extends DataTypeImpl implements Modifier { ... 15:39 Are nested embedded objects involved here too? Could you please provide a test ...

 
issue

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

reporting issue as requested  ... }   }   And its embedded primary key @ Embeddable @ Access ( ...