ObjectDB Database Search
101-150 of 200 resultsHitting Evaluation Limit After Code Rollback In error, we deployed code to production that was compiled on a machine without a valid license key. We have since rolled the code back, however our other production servers that access the same database files (that were touched by the unsigned code ) are still encountering | |
Concerning coding style of the example in the posting instructions with reference to the coding example in the posting instructions and many of your other examples posted in the forums. While I appreciate the recommended coding style as shown makes for convenient minimal examples ... and examples, it is not a compliant coding style. Webel webel Dr Darren Kelly Your observation is correct | |
Deadlock in objectdb code Running multi-threaded access to an embedded database using JDO, I'm getting a deadlock in objectdb code . Thread dump attached. sjzlondon Steve Zara Thank you for this report. The thread dump ... in the code . Is there a convenient way to introduce classes to objectdb at the start of a run | |
Gradle-Kotlin Code Contributions to have a thread where people could post and find Gradle-Kotlin code potentially useful to ObjectDB | |
ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`)ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`) | |
The drop code word does not work?The drop code word does not work? | |
Activation license not picked up in Jenkins Hi, trying to understand why the activation license is not being picked up. We have tests ... a Jenkins build pipeline on the same machine, they fail. The activation licence is in the file:  ... containers. For some reason, Jenkins (which runs as docker-in-docker) is not recognizing the activation | |
Activation key causes database to not start We had ObjectDB version 2.5.7_06, then we bought a server license, then we activated it today. We get an error when trying to start ObjectDB after adding activation in objectdb.conf. We initially ... . We still cannot start ObjectDB if we add the activation key in objectdb.conf. This is the ObjectDB log | |
Embedded & Activation & Scalation when two instances try to access same db? Is everything synched properly? How does activation work? We'd buy a site license, however, we CAN NOT individually activate every instance on every machine ... (!) which can spawn through 1000's of different machines so activation wouldn't make much sense (besides we'd | |
programmatic activation Wondering if there is documentation for this class: com.objectdb. Activator Specifically: Is it possible to programmatically activate ObjectDB, ie: to pass in username, password, site key, and get back a link? This would help significantly with activation in server environments. dmoshal | |
Error activating objectdb C: \ Users \ Roberto Pinto java -cp objectdb.jar com.objectdb. Activator Error: The main class com.objectdb. Activator was not found or loaded this is the path of the activator D: \ BBDD_Entornos \ Objecdb \ Objectdb-2.74_03 \ objectdb-2.7.4_03 \ bin this is the route where the clkase Activator | |
locks on pure query activities can show a repeating pattern of a specific activity that holds such locks more than expected (the stack traces | |
Repeated long Index ActivationRepeated long Index Activation | |
Heap Limit reached although the option 'objectdb.temp.page-file' is activatedHeap Limit reached although the option 'objectdb.temp.page-file' is activated | |
500Mb ObjectDb database opening issue all activations from the objectdb.conf file. With an OEM license your end users do not need activation codes , and you should avoid including activation codes in your distributed application. Maybe checking all these activation codes takes much more time on your system than on ours (it is unclear | |
Catching exceptions from online backup of the backup process, then the backupThread finished its work even before our code would set ... is caught in the surrounding catch block in TOL:47 and its code does not generate next exception ... ) { } // Possible states are: " activate ", "hide","showDisabled" function Babylon_SetCorrectionState | |
JPA Relationships Annotations Relationships define associations between entities. They are represented In Java code by attributes (persistent fields or properties) in persistent classes that hold a reference or a collection of references to other entities. Jakarta Persistence (JPA) provides annotations to configure | |
Paths and Types in JPQL and Criteria API expressions in the preceding code can be divided into two main groups: FROM variable expressions | |
JPA Criteria API Queries (); The Criteria API requires more code , especially for simple static queries. The equivalent JPQL query | |
JPA Persistence Unit;file to define a persistence unit. You can now define a persistence unit entirely in Java code | |
objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active' transaction when a transaction is active at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer ... when a transaction is active Again, this used not to happen with much older versions of ObjectDB ... commit (if active ). if (em == null) { log_warn($i, "AFTER: Extended entity manager NOT created | |
Enhancer: non-zero exit code at exceptions Hello, we have found that the enhancer returned an non-zero exit code on errors. You can change this so that the error of the enhancers can be detected. btc_es BTC EmbeddedSystems Thank you for this report. Starting build 2.6.1_04 the Enhancer exits with non zero code on errors. Note | |
Can't open DB-file with explorer, but from within my code it works-file programatically (from within my code ) without any errors 4) the db doctor ends without error | |
Running the Activator requires Java 6 or above.+1, mixed mode) But activation complains: java -classpath objectdb.jar com.objectdb. Activator ObjectDB Activator [version 2.8.3] Copyright (c) 2020, ObjectDB Software. All rights reserved. Running the Activator requires Java 6 or above. dmoshal David Moshal Note | |
Cannot activate ObjectDB Hi, I have purchased a license for ObjectDB. I tried activating it on a clients PC. Everything was OK (I stated username, password etc), and I got the web address for activation . But opening the web ... are specified, so the activation seems to succeed with later, a 500 error on the website, but actually in | |
Deadlock on Schema Update during Multithreading activity A possible deadlock was detected when new types are registered during multithreading activity against ObjectDB. Until this issue is fixed, the recommended workaround is to complete registration of all the persistable types before starting any multithreading activity against ObjectDB. A single | |
JQL-Update Queries fails with activated L2-CacheJQL-Update Queries fails with activated L2-Cache | |
jakarta.persistence.TypedQuery of the query. Deprecated: Newly-written code should use the date/time types defined in java.time ... correspond to a parameter of the query. Deprecated: Newly-written code should use the date/time types ... is of incorrect type. Deprecated: Newly-written code should use the date/time types defined in java.time | |
jakarta.persistence.Query of the query. Deprecated: Newly-written code should use the date/time types defined in java.time ... . Deprecated: Newly-written code should use the date/time types defined in java.time . Since: Jakarta ... . Deprecated: Newly-written code should use the date/time types defined in java.time . Since: Jakarta | |
jakarta.persistence.StoredProcedureQuery of the query. Deprecated: Newly-written code should use the date/time types defined in java.time ... correspond to a parameter of the query. Deprecated: Newly-written code should use the date/time types ... if the value argument is of incorrect type. Deprecated: Newly-written code should use the date/time types | |
jakarta.persistence.EntityManagerFactory with an active transaction, and call the given function, passing the EntityManager to the function ... with an active transaction, and execute the given function, passing the EntityManager to the function | |
jakarta.persistence.EntityExistsException. The current transaction, if one is active , will be marked for rollback. If the entity already exists ... , if one is active and the persistence context has been joined to it, will be marked for rollback | |
jakarta.persistence.EntityManager.joinTransaction()() Indicate to the entity manager that a JTA transaction is active and join the persistence context ... the scope of the active transaction or on an entity manager of type SynchronizationType.UNSYNCHRONIZED ... - if there is no active transaction. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityManager.getLockMode(Object) currently held. Throws: IllegalArgumentException - if a transaction is active but the given instance is not a managed entity. TransactionRequiredException - if there is no active transaction or | |
jakarta.persistence.PessimisticLockException may be thrown as part of an API call, a flush or at commit time. The current transaction, if one is active | |
jakarta.persistence.FlushModeType is unspecified. If there is no transaction active or the persistence context is not joined to the current | |
jakarta.persistence.LockTimeoutException. The current transaction, if one is active , will be not be marked for rollback. Since: Jakarta Persistence | |
jakarta.persistence.EntityNotFoundException and the entity no longer exists in the database. The current transaction, if one is active | |
jakarta.persistence.QueryTimeoutException transaction, if one is active , will be not be marked for rollback. Since: Jakarta Persistence (JPA) 2 | |
jakarta.persistence.TransactionRequiredException: Serializable Thrown by the persistence provider when a transaction is required but is not active | |
jakarta.persistence.NonUniqueResultException transaction, if one is active , to be marked for rollback. See Also: Query.getSingleResult() TypedQuery | |
jakarta.persistence.NoResultException and there is no result to return. This exception does not cause the current transaction, if one is active | |
jakarta.persistence.OptimisticLockException may be thrown as part of an API call, a flush or at commit time. The current transaction, if one is active | |
jakarta.persistence.PersistenceException, if one is active and if the persistence context has been joined to it, to be marked for rollback | |
jakarta.persistence.EntityManagerFactory.runInTransaction(Consumer) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory void runInTransaction ( Consumer work ) Create a new application-managed EntityManager with an active transaction, and execute the given function, passing the EntityManager to the function. If the transaction | |
jakarta.persistence.EntityManagerFactory.callInTransaction(Function) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory R callInTransaction ( Function work ) Create a new application-managed EntityManager with an active transaction, and call the given function, passing the EntityManager to the function. If the transaction type | |
jakarta.persistence.EntityManager.isJoinedToTransaction() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager boolean isJoinedToTransaction() Determine whether the entity manager is joined to the current transaction. Returns false if the entity manager is not joined to the current transaction or if no transaction is active . Returns: boolean. Since: Jakarta Persistence (JPA) 2.1 | |
Step 3: Define an EJB Session Bean with the following code : package guest; import java.util.List; import javax.ejb.Stateless; import javax.persistence | |
Step 4: Add a Servlet Class the new servlet class. Now replace the content of the new source file with the following code : package | |
Getting Started with JPA and NetBeans well (dialog boxes and menus might look slightly different but the code would be the same). This tutorial consists of the following steps: |