Internal Website Search

101-150 of 200 results

Query can't see recently persisted object

// mem.flush(); } ... paul Paul Hudson You can change default flush mode on the EntityManager level or on the Query level. See this manual page . support Support

Unable to update a OneToMany Set

object does not track changes. This is explained in chapter 3 of the manual . support Support Thank

Storing objects problem

;private List children; You may also specify cascading persist globally as explained in the manual . support Support

Replication Question

. You can manually make the switch between the master and the slave to enable write operations as well. support Support

How to resolve 404 errors with Eclipse/Maven Spring MVC

make the jar file to copy to tomcat and I don't know why. In the version were I manually created

Multi selection and distinct in a criteria query

; CriteriaQuery . There are some relevant examples in the manual .   support Support Ok yes I

Connecting to a remote objectdb server

an absolute path (or relative, starting with $objectdb ) for the database root directory. See this manual

Getting a list of all the entity class names

I was wondering if there is any way to get a list of the entity names in the database? dmoshal David Moshal You can use the Metamodel API as explained by the JPA Metamodel API  page in the manual . support Support Actually, there is a simpler way to get the class names (in one line of code

@PrePersist Problem

HI I am trying to use @PrePersist annotation in my project.This application is using struts2 with jpa combination .so can u please tell me how to us this annotaton before save the record into persistence.   claerly how to use in pojo and in action class rameshanem rameshanem Please read this manual page . support Support

Performance issue in a query due to compareTo calls

private TCStep step; See examples on  this manual page . support Support

objectdb (licensed) + github action error

reduce to 10 entity classes, etc. it will require manual intervention. support Support As a proof

Replicated cluster recovery

this would be a manual task and the application would need to be halted during the copy

java.sql.Date equals comparison not working with CriteriaAPI

of the created predicate yields in something like: $1.eintritt=2013-11-01 whereas as seen in my manual query

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

LoggerWrapper using the technique described under the Log4j2 manual : Generating Source Code for a Custom

Starting Explorer programmatically

have to manually sync the versions.   Thanks   dmoshal David Moshal This requires changes

Size of recording directory keeps growing

. ObjectDB does not purge old recording files. However, you can delete old odr files manually or from

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

Vacuum - Reclaiming Unused Space In Odb

the vacuum. If there is no way to do this other than manually implementing code to read, delete, and write

UserException: Package com.example.model is not found by the enhancer

enhancement methods are listed in the manual . Build time enhancement is preferred, since it enables

Delete object from collection versus delete from JPQL

, and accordingly break the synchronization between memory and database objects. See these manual pages

Unexpected query token 'delete' (SELECT is expected) (error 752)

simple codes(see attachment), failed.   gzdillon Lai Yang DELETE queries should not be run with getSingleResult ( which is for SELECT queries). Use executeUpdate instead. See this manual page . support Support

Understanding limitations of schema evolution

Hi, I am trying to understand the limitations of schema evolution and have read the material on http://www.objectdb.com/java/jpa/entity/schema as well as the link therein regarding manual schema update when changing a field’s name Yet, i am confused regarding how to handle the case

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

types)  in the manual . support Support I didn't change the enum and I don't use @Ordinal

Failed to read DB file while online backup is running

the manual the only example of launching the online backup through JPA). Therefore I

Access ClassTransformer

Hello, As in our OSGI Environment, we do need to manually weave classes. To be able to do so, we'd need access to the ClassTransformer from ObjectDB. However, there's only the global enhancer api which is not of any help. There's the JEhancerAgent which seems to implement a ClassTransformer as

Does aggregate function "greatest" work on entity objects?

. See the list of Comparable Data Types in the manual . support Support

Recommendation - concurrent access multiple class v

that it might get corrupted because the manual says that we must not access ObjectDB with different versions

"Attempt to lock a non entity object" error

- from the ObjectDB manual - by: "The following operations clear the entire persistence context

Connect to objectdb database

; "objectdb://11.13.0.151/my_database.odb" ) ; See the   persistence unit manual page

OptimisticLockException

update). Additional information on optimistic locking is available in the manual . support Support I

Insert time increases as db grows.

maven goal and got no effect. I've also tried to use enhancer manually on classes, but still getting

EntityManager JPA or JDO impl and different behavior

.4_03). I had to load them manually in the transaction due to lack of time but would like

Insertion Speed Rate and Batch Load

number of objects per transaction. This is explained in the Storing JPA Entity Objects page in the manual

OptimisticLockException

that, for every transaction, I need to handle the optimistic lock by manually refreshing each object? if so, it seems like

DB Explorer cannot be opened after schema package renaming of entity types

manually before the schema update then the database can be opened in the DB Explorer after the schema

Schema update: package, class and field

found in the manual only how a whole packet can be renamed: But Class3 shall not be moved.   Or

Enhancement of type is old and cannot be used

the DB file or even better can I make ObjectDB not reporting them without manually fixing each DB

Undeployment of an remote Glassfish application locks objectdb log file

is still there. If you try to manually delete the folder, you will get an "Folder in use" error message

How to define Default Entity Listeners without persistence.xml and orm.xml

chapter 3 of the manual . You may also register listener using the JDO API, which is not documented but supported by ObjectDB. support Support

Using explorer with a live embedded db

only when no configuration file is found elsewhere. Please read the explanations on this manual page

Shrinking Database Files

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   I thought I read something on the ObjectDB website (forum? 1.x manual ?), which I cannot find now, that stated that the datastore

java.lang.ClassCastException: CriteriaQueryImpl cannot be cast to java.util.List

= query.getResultList(); For more details see this manual page . support Support Please delete

mappedSuperClass and subClass Duplicates

version of ObjectDB. Is this true? Thanks ... billdotnet Bill As stated in the manual : In JPA

Some details about db behavior

specification, and most of them also in the ObjectDB manual . Please try to demonstrate further questions

Fetch Set from DB only works on debug mode

. Read about detached entities in the manual  and also see the discussion on this issue  

Database server with an application

Hi, I read the database server section of the manual - and it looks like it is not possible to connect to a Database embedded with an application from another application - is that correct? The way to go is to have the DB server running by itself and then the 2 other applications connecting

Navigation through lazy loading from Detached Objects

A main limitation of detached objects (as explained on the Detached Entities manual page) is: Retrieval by navigation from detached objects is not supported, so only persistent fields that have been loaded before detachment should be used. As explained on the Object DB vs EclipseLink/TopLink

ODB Doctor Stops Progressing (runs forever)

Hi, I have an issue with the ODB Doctor running endlessly on a 1.35GB ODB file.  It gets to three progress dots quickly then stops progressing, all while consuming 100% CPU until killed manually .  There is plenty of /tmp space and space on the drive where the new database is being placed

ObjectDB 2.8.9_02

Added support for manual starting of online backup threads ( feature request #2855 ). Improved query plan evaluation. Fixed a regressing performance issue in build 2.8.9_01.

Best practise loading big data

million read values GC is called manually - all entities are freed, but we still have a lot of weak