Internal Website Search

51-100 of 200 results

Version 2.5.6 enhancement problem solved by updating to version 2.5.7_03

, but the project has to be rebuilt and enhanced again if the classes were enhanced with an earlier version

Access entity version before commit transaction

Hi, I have a usecase where I need to write the updated entity version to the database before ... containing the new version of the entity So I need to access the version of an updated entity inside ... field of the entity ObjectDB seems to update the version field automatically. But if I just set a String

Optimistic locking: prevent version increment on entity collection attribute

relationship) with an optimistic locking strategy supported by a version field. Is it possible to prevent the increment of the version of entity E when entities are added to or removed from the collection ... the version . Otherwise the version will be updated, and currently you cannot disable this update

Database is erased after deploying a new web application version

within Tomcat and uses ObjectDB. Each time I upload a new version of the web ... it: When running a new web application version , I get an exception saying this file could not be opened ... version and then deploy the new one. Something still keeps this file open and preventing the new

Is there an API to get the current version of ObjectDB that's being used?

Is there an API to get the current version of ObjectDB that's being used? This would be very handy to have, because it is somewhat difficult to know what version of the ObjectDB you are currently using since the objectdb.jar filename remains the same for all versions (which is not a bad thing by

How to retrieve the ObjectDB version number?

Hi! We need  the ObjectDB version for debug purpose/logging. Our project supports ... With the Connection object the Database name & version can be retrieved. For ObjectDB, which is the best (JPA) method to get the version number?   Peter       pezifromvienna Peter

Latest version with license for evaluation

- Can you please let me know the latest version maven entry i got confused as the downloads have version in ... full blown version where we could test it properly. If there are any cost implications on the version ... The last version on Maven is also 2.5.2. Please clarify your question. Prices of ObjectDB licenses

version 2.8.9_06 significantly slower for queries compared to 2.8.9

we tried (you have our example database form former issues) the latest version , did a statics ... .objectdb.com/forum/2845 for queries we are using hgzpincher Hans-Georg Zwicker Version 2.8.9_01 ... in version 2.8.9_02 but maybe there is another relevant query performance regression

How find out ObjectDB version at runtime (in a web app)

of objectdb-2.6.9_02 in a Glassfish web app. Can see correct version of objectdb-2.6.9_02 ... with an Ant script) Object clearly indicates the version . Q: How can one interrogate objectdb for the version at run-time ? It does not seem to be in the odb logs, and turning on the debug mode does not

Error 990... and then new version?

!  I hadn't noticed this because the maven instructions still show the old version , and the new version does not seem to be in that repository... or at least I can't get my compiler ... is back!  But with an updated version this time!  Here is updated (and filtered

database version

Is there some way of telling, just from an obd database file, what version it is?   dmoshal David Moshal An ObjectDB 2.x database file has no version , at least from the point of view of ObjectDB users. You should be able to use the same database file with different versions of the ObjectDB 2.x software. support Support

Future JDO versions?

new and future JDO versions : http://db.apache.org/jdo/specifications.html ?   sjzlondon ... and JDO at the same time in a future version of ObjectDB. Same is regarding automatically generated

ObjectDB version 2.2 has been released

the ObjectDB Doctor of version 2.2 in repair mode on existing database files, and to switch to the new database files that are generated by the Doctor when moving to version 2.2. support Support

Is persistence version 2.1 supported?

Using the current version of persistence.xml leads to an error: com.objectdb.jpa.Provider org.xml.sax.SAXParseException; lineNumber: 10; columnNumber: 135; cvc-elt.1: Cannot find the declaration ... .createEntityManagerFactory(Persistence.java:54) but reverting to version 1.0 makes the error go away

In version 2.5.2_05 does not work greatest by Date

In earlier versions this query worked fine. In version 2.5.2_05 does not work .orderBy(cb.desc(cb.greatest(root.get("createDate").as(Date.class)))).distinct(true) Thank you for your help. galandor Orlov Sergey Please try build 2.5.2_06 that should fix this regression (of casting to Date ). support Support

Free version limitation and upgrading

Hello i would like to use objectDB in Free Version until its not getting in Productive phase... Now my (maybe Stupid) Question because i did not found a good definition. How Do you (for the Free ... . If you buy a server or a site license you have it for life, including update to the same major version (e.g. all 2.x updates). support Support

Which version of JDO should I use with ObjectDB?

I have defined a number of JDO indexes on my persistent class, so would like to know which is the preferred version of JDO to use e.g. is it jdo-api-3.1.jar? Thank you paul Paul Hudson ObjectDB 2.x uses JDO 2.2. support Support

ObjectDB version 2.1 has been released

ObjectDB 2.1 has been released and it includes important additions and fixes: Added Online Backup utility ( issue #16 ). Added Master-Slave  Replication / Clustering (issue #17 ). Added a PDF version of the ObjectDB manual (included in the download). Added sample (tutorials) Maven projects

Odb file version

Hi, Do we have any mechanism to knwo whether the odb file belongs to 1.x object db or 2.x object db. Before migrating all the odb files from objectdb 1.x to 2.x, i would like to add a check if it is already migrated. Any API which is exposed to check the odb files version  ? binitbhaskar Binit

What is the lowest version of Java, ObjectDB will run on?

I have a legacy production environment that is running "jre1.6.0_16". I am trying to upgrade from 1.0.4 to the latest.   Thanks for your time. bmcalist Brian McAlister Current ObjectDB versions are tested with JDK 1.7, so JDK 1.7 or later should be fine. Maybe it can also work with JDK 1.6 but it has not been tested recently. support Support

Optimistic lock failed : object has version .. instead of ..

' (object has version 125 instead of 126) (error 673) at com.objectdb.jpa.EMImpl.beforeCompletion(EMImpl

deadlock with newest version 2.4.4_16

deadlock with newest version 2.4.4_16

Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01)

Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01)

ObjectDB version 2.3 has been released

ObjectDB version 2.3 has been released

there is a free version?

there is a free version?

Which version to use with Glassfish ?

Which version to use with Glassfish ?

Waterfall tree algorithm for more optimized version of objectdb or

Waterfall tree algorithm for more optimized version of objectdb or

Version 2.2.7 build 7/8 issue

Version 2.2.7 build 7/8 issue

Chapter 4 - JPA Queries (JPQL / Criteria)

The JPA Query Language (JPQL) can be considered as an object oriented version of SQL. Users familiar with SQL should find JPQL very easy to learn and use. This chapter explains how to use JPQL as well as how to use the JPA Criteria API, which provides an alternative way for building queries in JPA

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

All latest versions later 2.4.5+ even 2.4.5_05 doesn't work, it deployed but errors when running. But 2.4.4 worked javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5215) at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java

Entity Version History

ObjectDB manages automatic entity versioning (for optimistic lock purposes). Every entity object modification is reflected by a new version number. Naturally, previous values in the entity object ... to go back in time and view old versions (and old values) of entity objects. Future versions of ObjectDB

Collection update does not increase entity version and is not persisted

{ String filename } If I call this method (all classes are enhanced) the version of the event does not ... solve the core issue. Will there be a fixed version anytime in the near future? Thanks in advance

A bug in the JDOQL processor in recent versions of ObjectDB

There seems to be a bug in the JDOQL processor in recent versions of ObjectDB. I've uploaded a "laptop" example to demonstrate the problem. The query in Test1.main should return "ThinkMachine MAX SX 20", but it returns incorrect "Media Central Media 555". Earlier versions (at least up to 2.5.4

Collision Between Different Schema Versions of Entity Classes

Version 2.8.4 fixes a critical bug that in rare cases may cause collision between different schema versions of entity classes, when schemas have changes many times (usually more than 20 times). This bug mainly affects queries on hierarchy of multiple entity classes (i.e. a query on a super class

Regression bug in using version 2.4.5 with GlassFish 3.1.2

Can't deploy objectDB ver 2.4.5 or later using GlassFish 3.1.2, NetBeans 7.2.1 Win 7 & 8. ObjectDB Version 2.4.4 is working good. [#|2012-12-18T05:26:53.167-0800|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=44;_ThreadName=Thread-2;|java.lang

javax.persistence.EntityManager

and the lock mode type is pessimistic and the entity has a version attribute, the persistence provider must perform optimistic version checks when obtaining the database lock. If these checks fail ... other than NONE is specified OptimisticLockException - if the optimistic version check fails

javax.persistence.metamodel.MappedSuperclassType

to the version attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared version attribute Return: declared version attribute Throws: IllegalArgumentException - if version attribute of the type is not declared in the identifiable type Inherited from

javax.persistence.metamodel.IdentifiableType

SingularAttribute getDeclaredVersion (Class  type) Return the attribute that corresponds to the version ... declared version attribute Return: declared version attribute Throws: IllegalArgumentException - if version attribute of the type is not declared in the identifiable type Since: JPA 2.0

javax.persistence.metamodel.EntityType

SingularAttribute getDeclaredVersion (Class  type) Return the attribute that corresponds to the version ... declared version attribute Return: declared version attribute Throws: IllegalArgumentException - if version attribute of the type is not declared in the identifiable type Inherited from: IdentifiableType

javax.persistence.LockModeType

.OPTIMISTIC on a versioned object, the entity manager must ensure that neither of the following ... of type LockModeType.OPTIMISTIC_FORCE_INCREMENT on a versioned object, will also force an update (increment) to the entity's version column. The persistence implementation is not required to support

javax.persistence.MappedSuperclass

protected Integer empId; @ Version protected Integer version ; @ManyToOne @JoinColumn(name="ADDR ... mapped to FTEMPLOYEE.EMPID // Inherited version field mapped to FTEMPLOYEE. VERSION // Inherited address ... .EMPID // Inherited version field mapped to PT_EMP. VERSION // address field mapping overridden to PT

IdentifiableType.getDeclaredVersion(type) - JPA Method

JPA Method in javax.persistence.metamodel.IdentifiableType SingularAttribute getDeclaredVersion (   Class  type ) Return the attribute that corresponds to the version attribute ... version attribute Return: declared version attribute Throws: IllegalArgumentException - if version

IdentifiableType.getVersion(type) - JPA Method

; Class  type ) Return the attribute that corresponds to the version attribute of the entity or mapped superclass. Parameters: type - the type of the represented version attribute Return: version attribute Throws: IllegalArgumentException - if version attribute of the given type is not present in the identifiable type Since: JPA 2.0

EntityManager.lock(entity,lockMode,properties) - JPA Method

and with specified properties. If a pessimistic lock mode type is specified and the entity contains a version attribute, the persistence provider must also perform optimistic version checks when obtaining ... locking is performed OptimisticLockException - if the optimistic version check fails

EntityManager.lock(entity,lockMode) - JPA Method

and the entity contains a version attribute, the persistence provider must also perform optimistic version ... locking is performed OptimisticLockException - if the optimistic version check fails

EntityManager.find(entityClass,primaryKey,lockMode) - JPA Method

is pessimistic and the entity has a version attribute, the persistence provider must perform optimistic version checks when obtaining the database lock. If these checks fail, the OptimisticLockException ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking

EntityManager.find(entityClass,primaryKey,lockMode,properties) - JPA Method

has a version attribute, the persistence provider must perform optimistic version checks ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic

SingularAttribute.isVersion() - JPA Method

JPA Method in javax.persistence.metamodel.SingularAttribute boolean isVersion () Is the attribute a version attribute. Return: boolean indicating whether the attribute is a version attribute Since: JPA 2.0

javax.jdo.spi.PersistenceCapable

, object identity, and version if it has one. In the Reference Implementation, the JDO Enhancer modifies ... .getObjectById (Object oid,boolean validate) Since: JDO 1.0 Object jdoGetVersion () Return the version of this instance. Return: the version Since: JDO 2.0 boolean jdoIsDeleted () Tests whether this object

javax.jdo.Query

;parameters) Add a subquery to this query. The Map version of the method treats the key of each map entry as ... to this query. The String version of the method binds the named expression to the parameter implictly or ... ... version of the method binds the named expressions in turn to parameters in the order in