ObjectDB Database Search

101-150 of 200 results

Transaction isolation support?

: What happens If I am reading data in transaction A, and then transaction B commits while A is reading ... of an object. To avoid using the same object by different users concurrently (even for read

Schema Evolution Question

with the new schema. The application immediately threw errors when trying to read the new schema (before any ... .summaryframework.database.SummaryStagingDatabase:75 It may be worth noting that the table that was being read ... work?  Again, notable - the table (with the old schema) being read by the client using the new

Slow performance on Mac

- This code is tested on Windows and Mac. Windows is working great, Mac is very slow ( read is 11 ... ; java -jar demo-0.0.1-SNAPSHOT.jar write /path/to/file.odb - To read data (write):     java -jar demo-0.0.1-SNAPSHOT.jar read /path/to/file.odb   Attached: - JAR file

using DbUnit with ObjectDb

to read via JAXB?? b) Entity driven approach: JPA entity classes are often automatically annotated with JAXB, so writing lists of entities to xml file should be easy - a generic mechanism to read ... .. but, with a few wrapper classes am now reading / writing xml files to / from postgres and ObjectDB

locks on pure query activities

on separate disks you may be able to refer read only queries to replicated slaves. support Support ... it. In addition, we just released a new build (2.7.1_01) that supports concurrent reading from ... :     System.setProperty("objectdb.temp.concurrent-file- read ", "true"); (or using

pesimistic Lock semantic

will be locked for WRITE by pm1 and exception is expected when pm2 tries to read the same object (on  ... ) - the picture will be locked only for READ by pm1 then for READ by pm2 and then both commit would fail

How to Use a SF with extended Persistence Context?

service thread 1-16) JBAS011401: Read persistence.xml for guest-pu 13:52:02,863 INFO  [org ... :03,019 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011401: Read persistence.xml

Level 2 cache not hit in @ManyToOne

and reading in my app). Problem 1: find by id on Item it's good, it hits the cache, but not for its field "user". "user" is loaded each time from the DB (tested by changing data in explorer and reading in

Cascading makeTransient

Hi! We have a memory leak in our app because of ObjectDBs __odbTracker fields. The situation is that we read the objects from the DB (many and large objects of class A) and then keep in ... nor an effective solution when we need to use it almost all the time when reading the DB. Our target

ObjectDB Manual

Hello, I would like to be able to read or refer to the ObjectDB manual (v2) on my Kindle. Unfortunately, I didn't find any option to download the manual, either as a .pdf (most convenient) or as ... reading ? Very best regards, Paul pberger Paul Hello Paul, At the moment the ObjectDB manual is available

Exception on creation when running multithreaded

.PersistenceException Failed to read from file 'C:\Dev\contextspace\cs_services\trunk\objectdb\db\contextspace ... : Failed to read from file 'C:\Dev\contextspace\cs_services\trunk\objectdb\db\contextspace.odb

java.sql.Time field off by 30 minutes

; //()Refresh read back         em.refresh(e);         System.out.println(e);         //() Read

Query can't see recently persisted object

When using container managed transactions (EJB) in Payara 4.1.3 with ObjectDB embedded, ObjectDB does not appear to present a read consistent view of persisted objects within the same ... to manage the transaction. Is there a way of using or configuring ObjectDB to ensure  read

Database corrupted after schema change

Serializable, DCG, C { ...} public interface DCG { ... } with this code the app was reading TC ... { ... } After this change the app starts, it only reads the objects, no writing happens

Does ObjectDB support lazy loading?

. However, when the Parent object is read from EntityManager, all the properties except ID of the Child objects are null ... to @OneToMany(fetch=FetchType.EAGER), the properties can be read . It seems to me that ObjectDB doesn't

newbie - lots of exeptions

to read from file 'C:\Users\ADMINI~1\AppData\Local\Temp\1\objectdb_8889438785985987880\list_21.val ... .objectdb.o.UserException: Failed to read from file 'C:\Users\ADMINI~1\AppData\Local\Temp\1\objectdb

multiple different applications access one odb file

would be for API and BI, one would need to read data from the xyz.odb ... .emil Emil Perić We can investigate the option to work on a very basic read -only JDBC driver

Server connection management

on the Server The server handles every connection using a dedicated thread. This thread uses blocking read ... replicated servers that can be connected automatically by the client (in read only mode) in case the main

How to package orm.xml when using EJB in WAR?

annotated with @Startup can access the database OK for both read and write, suggesting that the orm.xml ... and deployed, this error message pops up: Caused by: com.objectdb.o._PersistenceException: Failed to read

JPQL Error

.InternalException: Error reading UTF string com.objectdb.o.InternalException: Error reading UTF string at com

Schema Update: class hierarchy change

.PersistenceException Failed to read the value of field field profileMigration.classhierachychange.Test$NamedEntity.name ... by: com.objectdb.o.UserException: Failed to read the value of field field profileMigration

database optimization

slower than read queries, on the same set of objects.       dmoshal David Moshal Memory ... to conclusions too early, measurement of milliseconds might be distorted because of many other reasons. Read

Unexpected exeption

Hello, we got following exception. Do you know why the exception is thrown? Exception in thread "Thread-39" com.objectdb.o.UserException: Failed to read from file 'C:\Users\DEVELO~1\AppData\Local ... EmbeddedSystems The stack traces are related to issues with writing and reading from that database file

OutofMemory error with Object DB 2.0

size of 1024MB, I get this error. The application reads xml file of around 1GB and creates a new ... one by one and commits the transaction for every 200 records ( reads from xml

Updating Entities

and still read those changes? If UPDATE queries don't seem like a valid solution then I'm still likely ... is a very basic principle of JPA. See this manual page . You should have read it in the manual

Improvement in replication

Hi, I was thinking about some improvement in replication mechanism. Our application do only few writes (mostly reads ), but those writes are important for us - objects rating, profile modifications. So in current implementation when master node dies, there is only a chance to read data from slave

Open several objectdb databases the same time

more Is it possible to open object db files in read only mode from several application instances? Harman Alexander ... -server connections. support Support What about database access performance ( read /write speed

package.jdo validation error (Connection timed out)

HI, I am trying to read the odb file generated using objectdb 1.0. Using converter.jar, i converered to new objectDB file and then was trying to read the file and i got the following exception. com.objectdb.o._JdoUserException: Failed to validate xml file \RTDLogger.jar#package.jdo: Connection

find repeated records by JPQL

thread "main" [ObjectDB 2.2.9_03] javax.persistence.PersistenceException Failed to read the value ... : Failed to read the value of field field image.URI.baURI using reflection at com.objectdb.o.MSG.d

ClassCastException on closing PersistenceManager

Hi, I am using ObjectDB 2.6.3.b03 via JDO. Today I got the following exception while closing the PersistenceManager after reading the DB: java.lang.ClassCastException: com.objectdb.o.ENT ... again to a working backup of the DB. It is quite alarming. jakab Gergely Jakab I just read ur answer

exception during online backup

hi   from time to time i get exception during online backup in server/client config: Exception in thread "Thread-0" com.objectdb.o.UserException: Failed to read from file 'D:\twozniak\Desktop ... .readBytes(Native Method) at java.io.RandomAccessFile. read (RandomAccessFile.java:338) at java.io

Distributed second level cache

Is it possible to configure the second level cache as distributed? The use-case: The object Person "John" is read on application node 1 and also on application node 2 to the second level caches ... level cache on application node 1 has a correct data. The object Person is read from application node

One transaction or two?

(); } } Should I separate the deletes and adds into separate transactions? I think I remember reading ... to consume more memory. Since you are asking about add/remove operations rather than read operation

Java 9 support

module, no automatic modules, no --add- reads /opens/exports, etc.)  This included ObjectDB 2 ... , therefore, an automatic module is made to read every other named module, whether automatic or explicit

UserException: Invalid configuration in 'internal' - Check permissions

Hi all,   I have a master/slave code so that each slave reads a subset of points of the same database. ObjectDB entities do not allow serialization and so I have sent, to each slave, the file ... local mode. Therefore the server and the node have permission to read and write in the output

in-memory and on-disk support?

I've had a quick read through the features/FAQ and haven't been able to find a clear answer. I'm looking at replacing a setup of H2 where I have 40GB in-memory backed by 800GB on-disk, the 40GB in ... excessive query times in reading in 1 large file? traditionally I would use partitioning to split

How to move @Embedable collection to a dedicated entity class?

parent for read only purposes (maybe using dto)? When I load them by parent.getChildren() (lazy ... overhead with every persistable object. Therefore, if you can reduce the number of objects that you read

missing merger

.temp.concurrent-file- read ", "true"); by the way, in our application it is not possible that some ... cache that manages all the snapshots. In reading from the file. It would be useful to know ... more In reading from the file. It would be useful to know if the errors are still produced

Error during closing an entity manager

._PersistenceException: Failed to read the value of field field com.btc.ep.architecture.bl.internal.dmos.types ... Here is the full stacktrace: Caused by: com.objectdb.o._PersistenceException: Failed to read the value of field ... ) ~[na:na] ... 7 common frames omitted Caused by: com.objectdb.o.UserException: Failed to read

UTF Error

.InternalException: Error reading UTF string com.objectdb.o.InternalException: Error reading UTF

JDBC Driver for ObjectDB

/forum/2265 https://www.objectdb.com/forum/2459 As a first step, the target should be a read only JDBC ... in JPQL). This may open ObjectDB for read -only applications, such as reporting. support Support

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

a MyStepBlockCollection with read access. If all of them potentially hold this amount of memory ... how can we make sure that memory is freed (without splitting the reading transaction into arbitrary

Navigation through lazy loading from Detached Objects

. [Recommended reading JPA Pro 2: - p.164 to p.168 Working with Detached Entities - p.222 Fetch Joins ... anymore) have long life. So feedback is needed. support Support confirming have read and will try

each 1-2 days objects on some objectdb level lock/block each other

to reading from the database file using the new "objectdb.temp.concurrent-file- read " option. In both cases

Database access error , Doctor hanging on trying to repair, production shutdown at our biggest customer

: SectionClassifier{2-merger[2699]-missing:1}     on running Doctor it hangs after reading in the database ... versions with the concurrent read queries that have been solved for us with that version. We double

An entityManager.flush() with many entities is not possible

Failed to read from file 'C:\Users\pg\AppData\Local\Temp\ObjectDB\objectdb_2254766968035459242 ... .run(Unknown Source) Caused by: com.objectdb.o.UserException: Failed to read from file 'C:\Users\pg

EOFException

.3_06] javax.persistence.PersistenceException Failed to read from file 'F:\calculationservice ... : Failed to read from file 'F:\calculationservice\objectdb\dbs\workflow\uatsrtlonw242-WSAgent-2-Graphs.odb

NullPointerException in ENH.g(ENH.java:401)

most of the content but one corrupt instance is still included). I error happens when reading the field "Event ... read the field "Event.participants" from any of them). Thanks in advance Markus Ritter

NullPointer when accessing entity field

) It is very strange that the problem occurs when accessing field of enhanced class but not during reading ... : for single read /write/update/delete: - we create new EntityManager, do the operation in transaction

Monitoring and Performance counters

, reads /s - total inserts, update, deletes, reads - I/O operations/s - caches current usage - uptime