Internal Website Search
101-150 of 200 resultsuse of Singleton into tomcat hi all. i would write a class singleton that encapsulate the entitymanagerFACTORY   ... multiple servlet. but into the class singleton i would write a set of method for the operation ... for update, write . read , create Users it to be syncornized into signature or with the word syncornized | |
Optimistic lock failed pessimistic exceptions, but it is more efficient to remain with optimistic locking (which is the default | |
Where Does ObjectDB Block/Lock? a queue) you will need multiple PersistenceManager instances. In ObjectDB 1.x pessimistic locks | |
Replication Question availability and fault tolerance? Unless the application is read only and no write , as long as ... ; So basically both read and write will always be going to the master and the load ... , not even read load) - Not for Read+ Write failover? Thank you. Trianglehead Json Error Not | |
ObjectDB Clustering VS Hadoop Hbase, in which WRITE requests are served by one master server and READ requests can be served by ... data is divided between nodes. All the servers handle WRITE requests and READ requests of data ... for one server and when there is a need for more than one server to handle WRITE requests. support | |
Database size is much larger than expected (x2) to commit transaction: Failed to write the value of field field image.URI.baURI using reflection (error ... .objectdb.o.UserException: Failed to write the value of field field image.URI.baURI using reflection ... : Failed to write the value of field field image.URI.baURI using reflection at com.objectdb.o.MSG.d(MSG | |
Too many persistable types (>10) - exceeds evaluation limit.entities.instance.ProjectSnapshot smuessemeier Stefan Müssemeier Maybe you are writing to a database ... of the writing . But the writing is ok. Everything is written correctly as far as I can tell. When I ... only one persistence unit and writing without the added ;drop in the connectionURL. Still the error occurs | |
Failover from Master to Slave down the application will still be able to read from the slaves but writes will not be allowed ... cart because that would require a database write . If the master is down for even an hour ... marker so it decides to write to A. Well there you go .. you have a high probability of database | |
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 | |
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 | |
ObjectDB 2.6.8 Added JPA XML validation schema files to Maven/JEE objectdb.jar. Added automatic release of pessimistic locks on client-server connection failure. Fixed an OptimisticLockException bug on commit after flushing a removed modified entity object. Fixed a NullPointerExeption on new index building | |
NPE at com.objectdb.jpa.JpaQuery.getResultList O'Hare It seems as a separate issue. Maybe related to pessimistic locking. Can you provide a test | |
ObjectDB 2.3.2 instead of Long ) and then updated. Fixed retrieval with pessimistic lock to bypass cache and to force refresh. | |
ObjectDB 2.3.1 UnsupportedOperationException error message. Fixed a pessimistic lock timeout bug ( issue #520 ). Fixed | |
ObjectDB 2.2.1 Added support for using ObjectDB with JBoss AS 6.0 / 6.1 . Fixed several bugs in handling eager fetch. Fixed a pessimistic locking bug . Fixed a bug in using primary key fields in queries. Fixed a bug in queries on deleted objects before commit / flush. | |
ObjectDB 2.8.5 Fixed a bug in using AS in SELECT NEW (breaks some Spring Data JPA queries). Fixed a bug in tracking changes to new collections after flush ( issue #2640 ). Fixed a StackOverflowError on no access permission to objectdb.conf ( issue #2643 ). Fixed a bug in managing pessimistic locks after using | |
ArrayIndexOutOfBounds with Critera API and function call-2.4.4.jar:] at com.objectdb.jpa.criteria.JpqlWriter. write (JpqlWriter.java:94) [objectdb-2.4.4.jar ... :] at com.objectdb.jpa.criteria.JpqlWriter. write (JpqlWriter.java:90) [objectdb-2.4.4.jar:] at com ... .jpa.criteria.JpqlWriter. write (JpqlWriter.java:94) [objectdb-2.4.4.jar:] at com.objectdb.jpa.criteria | |
Exception when the log file is full and no archive is defined into when the limit is hit. What would be a preferred action? Stopping writing to the log? Ignoring the limit and continuing writing to same file? Or maybe just improving the error message to indicate that it is writing to a log archive directory that failed? support Support Agreed | |
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 |