About schema

forum_thread

Package name for persisted entities

Hi, I have a question about package name and searching for entities. As for now we were using two different databases for two different parts of our system. But we want to make a 'common' model for both systems. After merging entities from two different projects, we get single jar with all entities. Unfortunately some of the names are the same for entities: - homplex.model.dbobject.Inspiration - pl.hplxtool.model.Inspiration ... Finally, consider renaming classes by using the schema configuration . ObjectDB Support ObjectDB ...

 
release

2.2.0

... issue #36 ). Fixed a critical bug in schema evolution of modified ancestor classes. Fixed a bug in ... proxy objects with ordinary objects. Fixed a schema evolution bug when adding a new super entity class . ...

 
forum_thread

The server cannot start in CentOS

Hi, I try to run ObjectDB from Linux, but failed. My command is: java -cp objectdb.jar com.objectdb.Server start The result is attached. After typing the command, the system seems halting. ... exception that you got might indicate an internal ObjectDB schema validation problem. ObjectDB Support ... "false" /> </entities >   <schema > </schema >   <server > ...

 
forum_thread

significant performance decrease

we are using objected in embedded mode (on OS X and WINDOWS). The database increased now to around 400000 entities of one class (database file size around 1.5 GByte). The response time of standard queries increased with this database size to an unacceptable rate (several seconds compared to around 30% when the number of entities was just half of the current). We tried to optimize the cache settings, current objectdb.conf is: <!-- ObjectDB Configuration --> <objectdb> ... "false" /> </entities >   <schema > </schema >   <server > <connection port = ...

 
release

2.3.2

... to the bundled examples. Fixed a schema evolution bug in renaming user types. Fixed a bug in handling schema evolution (regression of 2.2.0). Fixed a bug in ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... = "false" /> </entities > <schema > </schema > <server > <connection port = "6136" ...

 
forum_thread

'DROP TABLE' in ODB?

Let's say I no longer need some entity in my project and after deleting all the objects of this type in database I want to remove this type from schema. How can I do this? Is there something like SQL 'drop table' in ODB? ... of this type in database I want to remove this type from schema. How can I do this? Is there something like SQL 'drop table' in ... that you can load new kind of compiled classes into the schema? But under the "File" Menu none such option is provided ...

 
issue

InternalException

  ... (e.g. added / removed a persistent field)? Currently schema changed require restarting the database. ... Anyway, the database must be restarted after a schema change , so this issue will be closed now. ...

 
release

2.3.1

... to the bundled examples. Fixed a schema evolution bug in renaming user types. Fixed a bug in handling schema evolution (regression of 2.2.0). Fixed a bug in ...

 
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: ... the XML fails to pass validation against the JPA 2 ORM schema, probably because of the location of the named-query element in the ... is more flexible and doesn't enforce the formal schema. Global named queries should be defined in the XML before any ...