ObjectDB Database Search

1-50 of 200 results

Apache License, Version 2.0, January 2004

" shall mean any work of authorship, including the original version of the Work and any modifications

JPA Entity Fields

Inverse ( mappedBy ) fields Primary key (ID) fields Version field The first three groups (transient ... . However, the last two groups (primary key and version fields) can be used only in entity classes. Primary key ... accessed. Version Field ObjectDB maintains a version number for every entity. The initial version

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

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

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

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

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

Database Management Settings

The version -check attribute of the element specifies whether optimistic locking is enabled. Optimistic locking is fully automatic and enabled by default in ObjectDB, regardless of whether a version field is defined in the entity class. Some ORM JPA providers require a version field. You can disable

JPA Attributes Annotations

;Identity and versioning  mapping Annotations used to define primary keys and concurrency control ... of an embeddable class. Specifies the version field or property of an entity, which is used

jakarta.persistence.EntityManager

within the persistence context 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 an unsupported lock call is made. OptimisticLockException - if the optimistic version check fails

JPA Persistable Types

: lack of portability. The internal Java serialization format will be inaccessible to future versions

Is ObjectDB better than competing object databases?

support for the Java Persistence API (JPA). It also supports a more recent and advanced version

Logical Operators in JPQL and Criteria API

versions of the factory methods accept only Predicate instances as arguments. NOT expression

Index Definition

indexes only on ordinary persistent fields, not on primary key or version fields. Composite index

jakarta.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

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

jakarta.persistence.MappedSuperclass

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

jakarta.persistence.metamodel.IdentifiableType.getDeclaredVersion(Class)

to the version attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared version attribute Returns: declared version attribute. Throws: IllegalArgumentException - if version attribute of the type is not declared in the identifiable type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.IdentifiableType.getVersion(Class)

SingularAttribute getVersion (    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 Returns: version attribute. Throws: IllegalArgumentException - if version attribute

jakarta.persistence.PersistenceUnitUtil

) Return the version of the entity. A generated version is not guaranteed to be available

Date field Index is corrupted due to time change

/SystemDB.odb db/SystemDB.odb.rpmnew ObjectDB Doctor [ version 2.6.3] Copyright (c) 2015, ObjectDB Software ... fields will cause the corruption? An example would be beneficial. Also, can we assume that all version prior to 2.6.4_02 have this problem? In particular version 2.5.5_14 and 2.6.1_05? Thank you Emil

after upgrade to 2.9.0 database destroys, urgent issue at our most important customer, production shutdown

after upgrading to 2.9.0 (because of the other problems in former versions ), the database destroys ... the engine that manages the database storage, at least in the last 2 years, so there is nothing in version 2 ... there was a situation in which more than one process accessed the database? Again, version 2.9.0 uses exactly

NetBeans/JPA Web Application Tutorial

This is the NetBeans version of the  JPA Web App tutorial. It demonstrates how  ... the following software: Java JDK (6.0 or above). NetBeans - Java or All bundle The last version of ObjectDB ... with other NetBeans versions as well (dialog boxes and menus might look slightly different but the code

jakarta.persistence.metamodel.SingularAttribute.isVersion()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.SingularAttribute boolean isVersion() Is the attribute a version attribute? Returns: boolean indicating whether the attribute is a version attribute. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.IdentifiableType.hasVersionAttribute()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType boolean hasVersionAttribute() Whether the identifiable type has a version attribute. Returns: boolean indicating whether the identifiable type has a version attribute. Since: Jakarta Persistence (JPA) 1.0

Possible cause for "Enhancement of type ... is old and cannot be used"

sure the enhancement script runs the same objectdb.jar library version that the program runs with. I ... yet tried versions between objectdb-2.6.3_04 and objectdb-2.6.6_07 (bracketing to find which one broke it). But I know that I can't run any of my objectdb-based programs using a version later

jakarta.persistence.Convert

would otherwise apply. The Convert annotation should not be used to specify conversion of id attributes, of version

jakarta.persistence.Converter

never applies to id attributes , version attributes , relationship attributes, or to attributes explicitly

jakarta.persistence.Entity

of the entity. An entity class may optionally have a field or property annotated Version , which holds

Eclipse/JPA Spring MVC Web Tutorial

This is the Eclipse version of the  Spring MVC and JPA tutorial. It demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application in ... .6.1 but it should work with other Eclipse versions as well (dialog boxes and menus might look

Getting Started with JPA and Eclipse

This is the Eclipse version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in Eclipse. The demonstrated application uses JPA to store ... ). This tutorial was written for Eclipse 3.6.1 but it should work with other Eclipse versions as

How to Use a SF with extended Persistence Context?

get this stack: 13:52:01,121 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA 13:52:01,304 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA 13:52:01,347 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting 13:52:01,959 INFO  [org.xnio] XNIO Version 3.0.3.GA 13

Mismatch client-server protocol prefix

:757) I checked multiple times if the versions match. They do. DB server version 2.6.2. Client version 2.6.2. Also there's only one objectdb jar on the classpath. It's also not a network problem ... if different ObjectDB versions are in use on the client and on the server, but such exceptions

How to resolve 404 errors with Eclipse/Maven Spring MVC

the directory I created by unzipping the maven version of your tutorial. In this version eclipse won't make the jar file to copy to tomcat and I don't know why. In the version were I manually created ... 6 server icon indicating the jar has been deployed to the tomcat6 server. Neither version will run

Installing a VM security fix leads to inactive DB

objectdb version . We had to create new keys multiple times because of the unstable activation ... stability issues have been fixed in version 2.9.3 and there are no new known issues. If you create a new activation using version 2.9.3 or later and still have issues (except when the MAC addresses

Database corrupted after schema change

via the toString() method). The DB Doctor finds then errors like this in the file: ObjectDB Doctor [ version ... how could this happen and how to avoid it ? jakab Gergely Jakab Since you are using version 2.8.3_05 it might be the critical schema bug ( issue #2621 ) that was fixed in version 2.8.4. Please try

Failed to read DB file while online backup is running

to finish its task. The version of ObjectDB I am running is 2.6.1.b02 Any idea what is causing ... version . jakab Gergely Jakab Unfortunately the "Failed to read from file '/path_to_db/dbFile.odb'" error ... will be needed in order to explore this issue, including range of affected ObjectDB versions . support Support I

Spring MVC and JPA Tutorial

an ObjectDB database. This tutorial is available in the following versions : In addition, the demonstrated application is available as a Maven project:

Step 1: Create a Maven Web Project

Next . Enter Group Id (e.g.  Guestbook ), Artifact Id (e.g.  Guestbook ), Version (e.g

Step 1: Create a Maven Web Project

). Enter Maven Version (e.g. 1.0 ) and Package ( guest ). Click the Finish button to create

combined index not used

is much more complex and could easily be inaccurate. Future version of ObjectDB will probably ... Support we implemented version 2.8.0_02, added:             ... query: ( version 2.7.6 it takes 47 ms, version 2.8.0_02 it takes 700 ms): SELECT DISTINCT o.parentNode

Can't open DB-file with explorer, but from within my code it works

Hi, The problem occured since an update from my old- version (2.4.7_08) to the new version (2.4.7_18): 1) my recent db-file, created with the old- version , has been copied to the local db-folder of the new version automatically 2) But I can't open the db-file with the objectDB explorer

Enum fields are set to null and embeddable enum class does not show in explorer

I switched to version 2.8.2 and now it seems that my enum types are not recognized and the field ... the interface (but different package)? itsme Martin Petzold I checked version control. The entity ... am not totally sure what is happening. The test case passes for both versions (2.7.4.b03 and 2.8.2

queries under 2.7.6_4 significantly slower than under 2.7.6

we update to the latest version from 2.7.6. Now we have the problem that we have numerous logs ... since version 2.7.6 that could possibly effect query execution. Could you please explain or post ... . support Support currently we have no chance to really test that with all the sub versions