ObjectDB Database Search

101-150 of 200 results

database optimization

cache, ie 10mb worse than 0mb? 2) (separate issue) I'm noticing that write queries are around 20-50x ... operations might be much faster because of using the cache (which is less effective in writing

Updating Entities

Hello, I'm currently writing a program using JavaFX and ObjectDB and I'm encountering a problem with Entities not sending their updates to each other. I have two Entities in question at the moment ... didn't know how to make it possible to persist them in ObjectDB. Due to this, I've chosen to write

How to add minutes to a Date with JPA2

.    support Support Ok, thanks. I also after several failed attempts, I decided to write ... response but I solved this way, a function that does all the database.  I write the solution

Changing existing objects from Entity to Embedded

supported by ObjectDB for existing objects? If it is, do I have to write the "embedded-only" clausule also to the child classes or is it sufficient to write it on their predecessor ? Is this only a bug

Replication error on slave restart

server and not for the slave server. To save space please try limiting recording to write operations ... something is blocking ObjectDB from writing changes and transactions to the disk. So the master database is not

NullPointerException while setting a new property value

) to make database access for write . Nothing special here I guess: public synchronized void saveCollection ... while database thread is writing new data. I guess that the enhanced code should handle it somehow.  

Create simple index for a Id field

Hello, I just wanted to write another anotation to my key field so I can have a really simple index. This is the original code: @Entity public class ObjectDbEntity implements DataItemProvider ... to perform massive reads? ksii13 E ObjectDB is faster than other DBMS, not just in writing but also in

Database Inconsistency or corruption

. ObjectValue ID:=100, TYPE:=Person, REVISION:=0, isPersisted:=true, LockMode:=PESSIMISTIC_ WRITE ... . ObjectValue ID:=100, TYPE:=Person, REVISION:=2, isPersisted:=true, LockMode:=PESSIMISTIC_ WRITE

Replication issue, Replayer failing due to NullPointerException.

even though there was no writing to the DB, they double in size exactly the amount of the resize value. This means everytime ... have recording set to write only.   bensteele Ben Steele From your description it does seems as

EntityTransaction.commit() does not release a pessimistic lock

.getTransaction().begin(); Account a1 = em1.find(Account.class, 0, LockModeType.PESSIMISTIC_ WRITE ); a1 ... _ WRITE // try to retrieve again EntityManager em2 = emf.createEntityManager(); em2.getTransaction

Show Sql/Jpql

Is there a way to show the executed Sql/Jpql in the console? wua Andreas Wurm You can set the log element in ObjectDB configuration to write logging also to the console:      ... to the console. To write query execution to the log, add the following logger element to the configuration

Eclipse plugin problem (using ObjectDB as a separate bundle)

Please check the update urls and write them here (copy & paste from png doesn't work). I tried the first ... ) unless you use the Source button and write HTML explicitly. support Support Looking at your graphic, look

Feature Request for database.obj$ file

a write (or flush) from the database.obj$ file to database.obj during an opened database connection ... the EntityManager ) the  odb$ file still exists?  b) is there a way to automatically force a write

Time Sequence Object Command DB

down to the leaf. The obvious design solution is to write the transactions to the database in sequence.  This is very efficient in that database writes are always appends to the end of the file.  

Can't post on your forum

) PS. Now I'm writing from IE. zmirc Mircea Chirac To check if this is a cache issue ... neither. I restarted the machine as well, but nothing. I'm writing thanks to IE now. zmirc Mircea Chirac

enhanced object .. NOT enhanced

has _odbTracker field added) So, instead of DB write a standard serialization mechanizm is triggered. Finnally ... (and stack trace if available).  So, instead of DB write a standard serialization mechanizm

Error when trying to open the Explorer (failed to find Java VM)

Hi, I use windows 7 64 bit version. When I'm trying to open the ObjectdB explorer I get this windows error: "Failed to find Java VM".   What is the problem? dreckguy Ophir Haramaty Have you tried both explorer.exe and explorer-b.exe ? Can you write it from the console : java -jar explorer.jar

Complex Schema Upgrade not working

of Contact and Customer in the database, which have to be converted to Address instances, you will have to write some conversion code. support Support

Removing objects where ManyToMany relationships exist

you for your answer and help. Two short follow-up questions: You write that trying to access a removed

Problem on JPA Merge Entity.

. If you can write and upload a simple test program that demonstrates the problem it could help.  

Failed to create a new file 'target\objectdb\log\archive' (error 112)

Hi, we are using ObjectDB 2.4.6_10 (embedded mode). The pre-registration of a data type (see below) fails because ODB can't create a new file in a non-existing folder hierarchy. The user under which the JVM is executed in which the code below is run does have write permissions on the folder

StackOverflowError after commit

.UserException: Failed to write the value of field field com.btc.ep.architecture.virtualcomposed.bl

SSL cannot connect from client StackOverflow error

.getPersistenceManager() On server it keeps writing  SSL Error: Unsupported or unrecognized SSL message

DB Explorer and Doctor unable to open DB file

Hi, one of my DB files can not be open by neither DB explorer, nor the DB Doctor. Both are writing same mistake : ObjectDB Doctor [version 2.5.6_05] Copyright (c) 2014, ObjectDB Software. All rights reserved. ------------------------- No errors have been found ------------------------- com

Evaluation License

return for this help. Possible help includes developing open source tools, writing (tutorials

UTF Error

I tested ObjectDB. When I write JPQL, I get this error. Caused by: com.objectdb.o.InternalException: Error reading UTF string at com.objectdb.o.BYR.U(BYR.java:1217) at com.objectdb.o.BYR.U(BYR.java:523) at com.objectdb.o.BYR.L(BYR.java:504) at com.objectdb.o.QJD.a(QJD.java:241) at com.objectdb.o

Data portability

Solano Martinez At the moment porting data from ObjectDB to another database requires writing

Import data from MySQL

to ObjectDB you will have to write your own conversion program. If you use JPA with MySQL you can retrieve old

zip file or JAR manifest missing

I found the message: Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin/objectdb.jar Some of projects can read the DB, but others can not read or write the DB. Exception in thread "main" [ObjectDB 2.2.5] javax.persistence.PersistenceException Type ItemList is not found

Unexpected output "*** PatternParameterImpl" in the java console

We have an unexpected output "*** PatternParameterImpl" in our java console. Do you know why? Caused by: PrintStream. write (String) line: 603 PrintStream.print(String) line: 745 PrintStream.println(String) line: 882 ThreadPrintStream.println(String) line: 179 TYS.k() line: 199 TYM.Z(boolean

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

above ( write a 10-15 Mbytes) need to check remaining memory in any available profiler. Stack trace

java.sql.Time field off by 30 minutes

Hihi, I'm wondering if this is a bug. I have a simple entity with java.sql.Time field. On writing and readback, the field is found to be 30 minutes off. It is observed on objectdb explorer as well. Timestamp works perfectly fine. Ps. dont think its a UTC issue. My system is set at far off UTC

Soft Reference Object Cache Recommendation

the configuration when an active transactions is preparing to write updates to the database

Database corrupted after schema change

{ ... } After this change the app starts, it only reads the objects, no writing happens

Order in WHERE Clause affects behaviour on DATE/DATETIME columns

the query parameter as TemporalType.TIMESTAMP . But when I write following query: Query q = JPA.em

Executing JUnit "all tests" throws "Object ... belongs to another EntityManager" Exception

Good day! I wrote some JUnit tests that create separate objectdb databases and exercise the entities therein (via read/ write operations). The tests run fine individually, but when I run "all tests," one fails consistently with the message: com.objectdb.o._JdoUserException: Object 'actr.model

Retrieve data of all entity classes in a single query

); } } Is there a way to get data of all classes without writing down 10 different queries (i.e. using the for loop

First query before any of the object has been stored

I have some code that, before writing an object via ObjectDB makes a query to ensure the new object is different from what's already stored.  The problem is that, before any instances of that object have been stored, the query generates an exception.  I'd been expecting 

Online Backup in client-server mode

then it is interpreted as the path on the server machine to which to write the backup file and no temporary file

Add Type level permissions to ObjectDB Server

such entity class could be either accessible for READ or for both READ and WRITE . More ideas and feedback ... might be to look at it in terms of CRUD as opposed to READ/ WRITE . ThreaT Ashton Hogan

ArrayIndexOutOfBoundsException: -1

after failure in writing to database file 'C:\Users\Home\workspace\Object.Test\test\persistTest.odb ... : Attempt to commit a transaction after failure in writing to database file 'C:\Users\Home\workspace

Blocked by find

. The attached test writes data to a db. Then it starts up 2 groups of 10 threads, one group ... performance. If the cache is not used (e.g. in code that only write new objects and never read) caching

Corrupt database page

cannot correctly write back into the database file, is it possible that the db log file remains in the file ... is enabled and there is a failure in writing to the database file, ObjectDB repairs the database file

NullPointer when accessing entity field

/ writing to objectdb. The issue occurs just once during our test, other instances of this enhanced class ... : for single read/ write /update/delete: - we create new EntityManager, do the operation in transaction

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

(when clearly they are). [EDIT: This was because the NetBeans Run and Ant were over- writing the enhanced ... was over- writing the post-compile enhanced class files. I switched to only running from the console

Compatibility Problems Upgrading from 2.6.9_04 to 2.7.6

because of incompatible stream serialVersionUIDs and mismatched .odb$ write files.  Is this a supported upgrade ... . and mismatched .odb$ write files. When a database is closed correctly you should not have an .odb

Freeze during save

During an write to an embedded database, objectdb gets stuck.  It won't progress from this point, even after a day of waiting. I include a stack trace from jvisualvm: at java.lang ... are mixed and not ordered by age, even though writing to the log file is synchronized by ObjectDB

retrieval again and again started

/ write to disk mechanismns ? We have hundreds of clients  communicating to our core process

Unexpected not reproducable exception in a query

. We can release a new build with writing relevant information to the log when it happens in order

Server NPE

with a server-based database - 2 writing to the db, one reading. I had added an index to a property