About addition

forum_thread

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

This topic is for those considering migrating from EclipseLink JPA or TopLink to ObjectDB JPA. #1 2011-06-03 20:30 This topic is for those considering migrating from EclipseLink JPA or TopLink to ObjectDB JPA. This conce ...

 
manual

JPA Persistable Types

Explains how JPA manages types, including entity classes, embeddable classes, primitive types, wrappers, string, date, enum, collections and maps.... types can be embedded in entity classes as fields . In addition, only instances of entity classes preserve identity and are stored ... values or instances of persistable types. In addition to the collection and map classes that are fully supported by ...

 
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> #1 2016-03-15 14:57 we are using objected in embedded mode (on OS X and WINDOWS). The database increased now to around 400000 entitie ...

 
forum_thread

Embedded in JDO metadata not working in objectDB 2.x ?

Hi, I am using JDO access to the database with the persistence defined in package.jdo XML metadata files. In those metadata files I have few persistence-capable classes which had extents in ObjectDB 1 (with an OID for every instance) and all other classes were embedded (so without extent and own OID) in those few peristence-capable ones. Example of JDO metadata: #1 2014-07-04 16:48 Hi, I am using JDO access to the database with the persistence defined in package.jdo XML metadata files. ...

 
manual

General Settings and Logging

Describes general configuration and logging of the ObjectDB Java object database for JPA and JDO. the ObjectDB General configuration section.... standard output and the standard error (respectively) in addition to writing to the log file. The <log-archive> ...

 
issue

Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker

Hi   there is something wrong with enhancement process I got that class was succesfully processed, log has size 0, enhancer is from build objectdb-2.2.8_08 and during object creation when some filed is initialised i got an exception   Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker at com.package.Network.__odbSet_Connections(Network.java:1) at com.package.Network.<init>(Network.java:95) at com.package.EnhancementTest.main(EnhancementTest.java:14)   ... level entity / persistence capable class). In addition, you should enhance all your classes in one run. ...

 
issue

Monitoring and Performance counters

After checking last patch from build 2.1.1_01, I started to think about some kind o monitoring tools in ODB. Those tools could look similar to MySQL 'show innodb status', where you can get some informations about how DB is doing. It would be nice to monitor: - inserts/s, updates/s, deletes/s, reads/s - total inserts, update, deletes, reads - I/O operations/s - caches current usage - uptime from last start - caches hit rate - total sessions from clients Feature Request Version: 2.5.2 Priority: Normal Status: Active Replies: 2 Type:  Feature Request ...

 
forum_thread

Optimization of Map Queries

hi! I am having loads and loads of occurrences of something like ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someProperty ... ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someOtherProperty .. ((com.test.MyEntity) $1.map.get('com.test.MyEntity')).someMoreProperties I need to use full qualified names for casting as well as for the map keys because same entity simple names may occur multiple times. Now I've got two questions: ... get method in queries is not very efficient, and in addition the result is not reused but calculated for every occurrence. Maybe ...

 
forum_thread

Empty query results after JAR creation

Hi, I struggle with a strange issue. I've embedded ObjectDB in a small application to query cases. Within Netbeans everything works fine but when I create a  JAR File and executed via "Java -Jar xyz.jar", I get either empty results or on some cases a "NoResultException" which appears to report the same issue. I've created a small test case (attached zip file) with sample DB to reproduce the issue.  #1 2012-04-24 04:03 Hi, I struggle with a strange issue. I've embedded ObjectDB in a small application to query c ...

 
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 #1 2011-08-23 05:11 Hi: After a table built by real data, how to alter table structure, such as: alter table add colu ...