ObjectDB Database Search
51-100 of 138 resultsHow to Use a SF with extended Persistence Context? Hey, I have a problem to use SF with an Extended Persistence Context Regarding to Transactions ... to the SF I get com.objectdb.o._PersistenceException: Attempt to begin a new transaction when a transaction is active. In principal The SF doesn't need to begin any transaction since it only get called | |
Mismatch client-server protocol prefix. transaction .support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java ... : @ Transactional @Override public TrackerUser findByName(String ... ? support Support I found some other nice exceptions: @ Transactional @Override   | |
Unexpected NoSuchFieldError exception) java.lang.NoSuchFieldError: __odbTracker 3) Attempt to start a transaction while another transaction is running. In each case, I've found it difficult to figure out where to find the right ... .database.ObjectDbDatabase. transact (ObjectDbDatabase.groovy:82) at app.framework.Database$ transact | |
Failed to synchronize replicated database future development. 2. The replication should catch up if all the transactions are available, i.e. transaction recording of the master is available from the moment of the last slave database update ... :-)) And then it is recording the transactions which can be replied to the basepoint. But I did not found | |
Pessimistic Lock Timeouts setting.ProductCodeTracking:1 I have to stress, that the pessimistically locked entity has a transaction propagation of REQUIRES_NEW. But it also fails if part of the original transaction (which has REQUIRED). I ... another transaction (usually in another thread). Notice that pessimistic locks are automatically released | |
problem with lazy loading - unittest project attached the optional way to test this, because of the differnt transaction behavior. the test is not transactional , but the spring repository methods are. anyway, the expected result is in the database ... . I don't know much about Spring Data JPA but I noticed that after adding @ Transactional | |
Spring + Maven + persitence.xml exception is org.springframework. transaction .CannotCreateTransactionException: Could not open JPA EntityManager for transaction ; nested exception is com.objectdb.o.InternalException: Unexpected Server Error ... cause org.springframework. transaction .CannotCreateTransactionException: Could not open JPA | |
Database Files Hi. According the docs, "Every transaction commit is first written to the recovery file and then to the database". During my testing, every time I make a transaction the recovery file ... , also stays at the same number even after 100 transactions . I don't use embedded server by | |
Optimistic locking: prevent version increment on entity collection attribute constructor and we are still in the same transaction (before any commit or rollback). In the debugger ... . Also, each of my calls to the server is made in a transaction (the entry point in the servlet is annotated with @ Transaction for that purpose) so not sure how Documents found by query in | |
Incremental online backup, this is the expected behaviour. You may also find the Transaction Replayer useful in this scenario. support Support Isn't the Transaction Replayer more like the opposite of this? The Transaction Replayer allows to replay transactions on a backup DB to replay a test scenario or bring back a backup | |
Rollback after commit fail Hi, I have question regarding transaction management in ObjectDB. Consider following scenario ... to rollback a transaction when no transaction is active (error 611) So the transaction seems to be already closed. When looking into db, the transaction seems to be rollback, so when commit fails, we don't | |
UserException - Object User#2 belongs to another EntityManager) Why does this error happen, because there 2 independent transactions ? I guess this should be a problem if, in the same transaction , an entity is passed into more EntityManagers, but here are 2 different transactions . Shouldn't this work? Both @Stateless are method transactional , so each EM | |
Problem on JPA Merge Entity. implementation: @Component @ Transactional public class ErgoManagerImpl implements IErgoManager { public void ... - is it an ObjectDB merge issue or Spring / JPA transaction management issue? Maybe it is a missing @ Transactional annotation on ErgoDaoJpa ? Check entityManager.getTransaction().isActive() - in | |
Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers EntityManager em; @PersistenceContext(unitName = "mysqlPU") private EntityManager em1; @ Transactional ... ()); } @ Transactional (readOnly = false) public void addObjectw() { Transfer transfer = new Transfer ... are annotated with the same @ Transactional annotation, which apparently takes the first declared | |
Query can't see recently persisted object When using container managed transactions (EJB) in Payara 4.1.3 with ObjectDB embedded ... transaction . e.g. in the following code the NoResultException is correctly thrown on the first occasion ... within the same transaction . However if I call flush() on the EntityManager after the persist() the object | |
Error occured during initialization of boot layer.ResolutionException: Module objectdb contains package javax. transaction .xa, module java. transaction .xa exports package javax. transaction .xa to objectdb My entity class looks like this: package ... . transaction .xa and objectdb export package javax. transaction .xa to module javafx.swt. Ps.: I am using Eclipse | |
Memory Leak in EntityManagerFactory ? could happen if an EntityManager is closed while a transaction is still in progress (i.e. begin ... / rollback any active transaction before closing an EntityManager , which is a good practice ... my opinion) there could not be an open transaction at close time so I think Condition A will never happen | |
Join query problem with new statetment] DEBUG o.s.orm.jpa.JpaTransactionManager - Should roll back transaction but cannot - no transaction ... - Should roll back transaction but cannot - no transaction available 2011-07-05 06:40:34.872 ["http | |
impossible to drop a table with 50 million objects Hans-Georg Zwicker This may be because the transaction size is limited by the heap size. You can try deleting these objects in batches, using several transactions , each transaction will delete ... , which increases the maximum transaction size above the heap size. See #10 in that issue thread for the requires | |
Vacuum - Reclaiming Unused Space In Odb for some recent transaction . Since replication is sequential if that transaction is available, all the preceding transactions are also expected to be available in the replicated database. support ... ? Every request is replicated. ObjectDB cannot guarantee the exact timing of every transaction replication | |
Exception on creation when running multithreaded transaction . The process is as followed: 1. The organisation gets created 2. The acl is being searched ... .ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework. transaction ... bug in transaction isolation or cache management. Anyway, a test case that reproduces the problem | |
Soft Reference Object Cache Recommendation the configuration when an active transactions is preparing to write updates to the database ... after committing a transaction . Note that we got much smaller heap size (4MB) than reported by ... a limit of 1 MB, but I see over 5 MB of PAGs after all transactions are complete.  | |
Optimization Question (and if you can use one transaction for deletion of many updates it can also improve performance ... and processes all database modifications in one transaction . All tracks maintain a java UUID ... only one is transacting the database at any given time, but then that defeats the whole point of having | |
Changes in detach behaviour? an em and starts a transaction . I get the desired user. I return the user. Spring closes the transaction and the em. With 2.3.5_04 I get an empty detached user object back. Only the id is correct ... the posting instructions ? You can simulate the effect of Spring transactions by closing and reopening | |
Size of recording directory keeps growing of the database at transaction #3500781, and 3500781.odr, recording of transactions after transaction | |
Date field Index is corrupted due to time change at any one time. The load never exceeds more than 5 transactions per 10 seconds. So far we know ... _14] javax.persistence.RollbackException Failed to commit transaction : (error 613) at com.objectdb.jpa ... date values between local time and UTC more than once during transaction commit, and on clock | |
Database size is much larger than expected (x2) to commit transaction : Java heap space (error 613) at com ... to commit transaction : Failed to write the value of field field image.URI.baURI using reflection (error ... transaction : Failed to write the value of field field image.URI.baURI using reflection (error 613 | |
NontransactionalWrite error using Collections.sort . Hi, i started to use ObjectDB today and i'm having problem using command Collections.sort in persisted object. Attempt to modify an object with no active transaction ... when a managed entity object is modified and no transaction is active. Please follow the exception stack | |
Duplicate Entity class names causes Exception in Query demands we flush transaction to db if we wish to see its results q.setFlushMode(FlushModeType.AUTO ... ", cachedKey.toString());//ObjectDb demands we flush transaction to db if we wish to see its results q | |
Objectdb recovery recovered corretly after unexpected finish. When are the transactions physically written to recovery file ... (bypassing OS cache). This should prevent any possible data loss of committed transactions . support Support | |
Object belongs to another EntityManager - ERROR [stderr] (http--10.23.3.98-8081-5) Failed to commit transaction : Object 'pbdmodel.impl.OrgJedinicaImpl#8 ... here, because the error is not throw on every transaction commit. Pero_885 Pero Novaković This exception is thrown | |
Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance.EMImpl.beforeCompletion(EMImpl.java:338) at com.sun.enterprise. transaction .JavaEETransactionImpl.commit(JavaEETransactionImpl.java:453) at com.sun.enterprise. transaction | |
ObjectDB CRUD Examples for every operation (which is very inefficient). In addition, you do not need a transaction ... and Transactions ? I'm finding these examples: http://www.objectdb.com/java/jpa/persistence/crud | |
WebSphere Liberty Configuration transaction - related tasks users must utilize a proprietary API known as ExtendedJTATransaction ... . Liberty is great. It is just that accessing the JTA transaction manager is not standard | |
newbie - lots of exeptions. transaction .JavaEETransactionImpl.commit(JavaEETransactionImpl.java:527) at com.sun.enterprise. transaction .JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:855) at com.sun | |
High availability and other pratical questions? What is the overhead of the Transaction Replayer? Many thanks, Amit gemini Amit Naveh Embedded ... all the entities and indexes. The overhead of online backup and transaction recording (that are used | |
Internal exception when updating date filed (TemporalType.DATE) to commit transaction : (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290 ... 1981 [ObjectDB 2.5.3_02] javax.persistence.RollbackException Failed to commit transaction : (error 613 | |
BTree 8 is not found at com.objectdb.o.JPE.d(JPE.java:91)._RollbackException: Failed to commit transaction : Unexpected database state: BTree 8 is not found at com ... . transact (database.kt:64) at server.test.ChangeListenerTest.Should not publish same object | |
Unexpected exception (Error 990) com.objectdb.o.InternalException(PatternApplicationServiceImpl.java:1) at com.btc.ep.base. transactions .annotations.TransactionAspect.ajc$around$com_btc_ep_base_ transactions _annotations_TransactionAspect$1$adc4043cproceed(TransactionAspect.aj:90) at com.btc.ep.base. transactions .annotations.TransactionAspect.ajc$around$com_btc_ep_base | |
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 | |
cannot delete objects after crash (see issue 2283), too ? Recording enables manual recovery by running the Transaction Replayer . - is the replication possible ... after writing and flushing the transaction updates to the recovery file (the database file ... applications with high transaction rate. We may be able to examine options to eliminate this risk | |
[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList.run(TargetLinkXmlBypassHandler.java:1) at com.btc.ep.base. transactions .annotations.TransactionAspect.ajc$around$com_btc_ep_base_ transactions _annotations_TransactionAspect$1$adc4043cproceed(TransactionAspect.aj:90) at com.btc.ep.base. transactions .annotations.TransactionAspect.ajc$around$com_btc_ep | |
Unexpected not reproducable exception in a query$AjcClosure3.run(ProfilePreferencesAccess.java:1) at com.btc.ep.base. transactions .annotations.TransactionAspect.ajc$around$com_btc_ep_base_ transactions _annotations_TransactionAspect$1$344042f2proceed(TransactionAspect.aj:86) at com.btc.ep.base. transactions .annotations.TransactionAspect.ajc$around$com | |
Unexpected exception (Error 990) - NullPointerException) at org.glassfish.cdi. transaction .TransactionalInterceptorBase.proceed(TransactionalInterceptorBase.java:132) at org.glassfish.cdi. transaction .TransactionalInterceptorRequiresNew. transactional ... only stated, that the transaction has been marked for rollback. Why it has been marked was not clear | |
new objects not available in mappedBy associations the same transaction : ie: for (Employee e : department.employee) won't include the new object, even if it is persisted, and even if the transaction is committed?? dmoshal David Moshal ... object after the transaction is committed (or after the update and before commit, if your EntityManager | |
Negative snapshot user count exception) at java.lang.Thread.run(Thread.java:662) [2013-08-23 14:05:23 #188 *] transaction Id = 506009, new ... during query execution on a flushed transaction , i.e. there are uncommitted changes in the transaction . If you can check the client side logs, and then find the specific query and context on the client | |
NullPointerException in __odbGetNumMember Hi, When deleting an entity "Mitglied" - everything works fine. Trying to delete another one (in a separate transaction ) always causes a NullPointer Exception in __odbGetNumMember line 1 ... Here's the exception message: Failed to commit transaction : Failed to get numeric value of field | |
ObjectDB 2.6.8 large transactions . Reverts a change in 2.6.6_08 that may cause issue #1839 . Attempt to fix a bug in using temporary files in large transactions . | |
ObjectDB 2.6.5 entity in the same transaction . Fixed temporary file management for very large transactions ( feature | |
ArrayIndexOutOfBoundException . Could you describe what it does? What is the state of the database and the transaction when find is invoked, do you have an open transaction ? Are there flushed but non committed changes to the database |