About number

forum_thread

Geospatial functions

Hi, is it possible to implement geospatial functions (e.g. calculating distance between too points given latitude/longitude) ?Normally you would calculate the distance like: #1 2016-01-14 21:02 Hi, is it possible to implement geospatial functions (e.g. calculating distance between too points given ...

 
forum_thread

OptimisticLockException

Have read read the documentation on optimistic locks, still not sure how to deal with these exceptions: [ObjectDB 2.2.5_04] javax.persistence.RollbackException Failed to commit transaction: Optimistic lock failed for object   ... get the optimistic lock exception. ie: the version number does not appear to be automatically updated in process A. So, do ...

 
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. ... should reuse the EntityManager and persist a large number of objects per transaction. This is explained in the Storing JPA ...

 
forum_thread

JPA-Query does not lead to any result

Hi, we have a database with a Entitiy inside which we want to fetch with a query. Normally that works without a problem, but in case of this database that query does not have any results. Can anyome help us what the problem is? SELECT FROM UserModelData usr WHERE usr.userName = 'admin' Attached are two databases, one where the query has a result and one where the query does not has any results. ... It is unclear why the first index entry contains a number (0) rather than a string ("admin"). If you have more information ...

 
forum_thread

Clarification on free license restrictions

Hello,   My apologies if the answer is already on the website, but I’m struggling to find a definitive answer.  The 10 entity class restriction is very clear, but can each of these classes use unrestricted numbers of embeddable classes?  Do embeddable classes count as part of the ten?  I assume not, but I need to check before I code further (and learn more about the product).   #1 2011-12-22 11:43 Hello,   My apologies if the answer is already on the website, but I’m struggling to find ...

 
api-jdo

javax.jdo.datastore.Sequence

Implementations of this interface can be used to obtain sequences.(Interface of JDO)

 
api-jdo

getObjectField(pc, field, currentValue)

Return the value for the field.(Method of javax.jdo.spi.StateManager)

 
api-jdo

providedDoubleField(pc, field, currentValue)

The value of the field requested to be provided to the StateManager.(Method of javax.jdo.spi.StateManager)

 
api-jdo

setShortField(pc, field, currentValue, newValue)

Mark the field as modified by the user.(Method of javax.jdo.spi.StateManager)

 
issue

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

Hello, we've encountered a problem leading to memory leaks. We found that after closing a transaction (including the entity manager) the ODB file writer still holds a reference to entities. Performing similar calls repeatedly hence increases the number of references to entities not longer needed in the application context. This prevents the garbage collector from cleaning up the memory which eventually results in memory leaks. The attached screenshot shows an example of this behaviour. Thanks in advance for your help. ... Performing similar calls repeatedly hence increases the number of references to entities not longer needed in the application context. ...