ObjectDB Database Search

101-150 of 200 results

Where Does ObjectDB Block/Lock?

a queue) you will need multiple  PersistenceManager instances. In ObjectDB 1.x pessimistic locks

Problem with distinct select, order by and equivalent alias/attribute path

(JpaQuery.java:719) ... 1 more While I wouldn't write the query with different expressions as shown ... ? The error does mean some pain in the neck since it's quite uncomfortable to write these queries by ... will probably work around the issue by writing these queries by hand - although this is not really nice

Is there any faster select method?

SELECT: TypedQuery query = em.createQuery(     "SELECT p FROM Point p WHERE p.id = " + element.getId(), Point.class); List points = query.getResultList(); WRITE : em.persist(p ... than the write method, in my very simple benchmark. I guess the reason there is no SQL in the write method

Understanding limitations of schema evolution

, and you will have to write code for making this schema change. support Support Thanks for your reply. Could you please elaborate more on the nature and complexity of the code that one has to write in the second ... "Could you please elaborate more on the nature and complexity of the code that one has to write in order to develop an application?" support Support

EntityManager JPA or JDO impl and different behavior

.   I'm getting this error: Caused by: com.objectdb.o._PersistenceException: Failed to write ... and write on d drive as everything is running on c drive.   Thanks, Eitan eitane Eitan Eibschutz Build 2.3.4_04 should fix the new "Failed to write to file" error. Thank you for the "mvn

Error 613 - i cant put a list into a Squad object

] javax.persistence.RollbackException Failed to commit transaction: Failed to write the value of field ... ) Caused by: com.objectdb.o._PersistenceException: Failed to write the value of field test.Squad ... ) ... 1 more Caused by: com.objectdb.o.UserException: Failed to write the value of field test.Squad

Slow performance on Mac

(build 25.131-b11, mixed mode)   Running sample jar: - To generate data ( write ):     java -jar demo-0.0.1-SNAPSHOT.jar write /path/to/file.odb - To read data ( write ):   

Exception when querying Map property with @embedded & Enhancer enabled

the error 'Failed to write the value of field field TestEmbeddableMap$MyAttributeItem.id using enhanced ... ; Exception in thread "main" [ObjectDB 2.6.4_03] javax.persistence.PersistenceException Failed to write ... .java:40) Caused by: com.objectdb.o.UserException: Failed to write the value of field field

Feature Request: Improved ObjectDB Explorer

data into the database. What I mean is that we have to write code that is different each time (or write some methods, but still varying input each time), and execute some main method to get blocks ... , MySQL workbench. We can write methods to batch the process, but this becomes annoying if we need

Pre-detach loading: retrieval by navigation not working in if statement

and compare. If I disable NetBeans compile-on-save (which seems to use the internal compiler to write .sig ... internal ObjectDB system property that you can set (on your web application) in order to write enhanced ... that you can set (on your web application) in order to write enhanced classes  to files: -Dobjectdb.code

NegativeArraySizeException on commiting a transaction

overflow during string writing . What are the sizes of strings in that object and what character set is used? Maybe there is a bug in writing specific type of characters. Can you update this specific object ... when writing a HashMap in another PlacementBlockModel. The issue is rather connected to the size

Exporting the data out of the ObjectDB

Sandeep Dhamale Currently, migrating data between ObjectDB and other data stores requires writing ... have to write java module with JPA to retrieve entity and then using some kind of ORM or direct JDBC persist

Error occured during initialization of boot layer

I am trying to implement a database using ObjectDB. To get started i want to write Entities of Type RequirementDBEntity into a database. I followed the tutorials here but when launching the program ... ."; } And my code for actually writing to the database is: import javax.persistence.*; public class

enhancement issue

is one of your classes. ObjectDB doesn't support writing the enhanced classes back to a JAR file, so you have to specify a destination path for writing the enhanced classes as class files ( using -d ), and of course

Replicated cluster recovery

all the committed updates to the slave. There are solutions that enable full cluster even with the ability to write ... databases on different nodes. support Support Hi I wanted test cluster so I ran 4 threads 2 for writing

Date field Index is corrupted due to time change

happens? It could happen if during writing a pure date (with no time) to the database the TimeZone ... ) and the change of the offset is between these write operations, i.e. different levels of the BTree

Single Server License and Embedded Mode

We have an application that runs on a single server in embedded mode to write server million records.  Is it possible to use the single server license for embedded mode use?  I've looked ... server that needs to write the number of records over the evaluation limit, it doesn't seem to fit

Embedded & Activation & Scalation

it won't scale enough, furthermore we'll always have a SPOF with odb server due the master- write ... cannot write to the same ObjectDB database concurrently. Future versions may remove this limitation

Multithreading Test and Deadlock

in reading but not in writing . You can see this in the JPAB benchmark (compare 1 thread to 5 threads ). ObjectDB is faster than the alternatives also when using multithreading in writing but the gap

Failed to read DB file while online backup is running

Hi, it happened already few times (seemingly randomly), that some db operation (read and also write ) failed with an exception during an online backup of the same DB file was running and was close ... the mistake is happening only when the DB read/ write happens during the online backup (as described

Duplicate a table

a table before erasing the content. Thanks. Linuski christophe LASKAWIEC You will have to write code for this purpose. Use enhanced classes to get best performance in reading and writing the objects

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

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

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

ArrayIndexOutOfBoundsException on flush

which blew out the logs: Attempt to commit a transaction after failure in writing to database file 'F ... to commit a transaction after failure in writing to database file 'F:\calculationservice\objectdb\dbs ... .objectdb.o.UserException: Attempt to commit a transaction after failure in writing to database file 'F

docker documentation

( ) piped. write (13) piped.flush() sleep(100) piped.println( ) piped. write (13) piped.flush() sleep(100) piped.println( ) piped. write (13) piped.flush() } }   Now here's the strange bit, the license url

NullPointerException when using multithreading

to the database.  When the client application starts writing , several of the threads throw the above exception but most of the threads are able to do their writes without issue.  CAPdev CAP Dev ... several threads. Please try build 2.4.4_10 that should solve this issue. By the way, writing

boolean field flips after schema update (in class) of another field

to try now. support Support I would recommend to write a test case for this scenario. We currently ... More details are needed in order to write a test case that can catch such an issue. We already have tests ... for us to reproduce or write tests for. It has happened several times - this is something which should never happen

Query fails with failed to read

message itself doesn't provide much information. Alternatively we can release a new build that will write ... also to change database content, i.e. to write to the database? Build 2.7.5_05 included in addition ... rather than read- write lock in previous builds, when "objectdb.temp.concurrent-file-read" is enabled

database corrupt

) is:          It should force physically writing to the recovery file before starting to write to the database file. Although the default,  sync="false

Exception in thread "ODB-StoreHandler-5094" java.lang.NullPointerException

the wrapper, which writes them to it's log file.  The stack traces do show that the Exceptions ... / write threads are terminating abnormally, I'm not sure how our application is reacting

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