ObjectDB Database Search

101-150 of 200 results

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 Activation

Repeated long Index Activation

Heap Limit reached although the option 'objectdb.temp.page-file' is activated

Heap 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

Single Server License and Embedded Mode

you have to update the configuration file by adding the  activation code . If the evaluation limits are not removed then most likely activation code was not added to the correct objectdb.conf ... enables activation of one machine, but after activating that machine you can run ObjectDB in both client

License Key on macOS Sequoia 15.6.1

(*). If I create a new activation code for my objectdb.conf it will be valid sometimes for 2 hours ... and validating the activation code in 2.9.3? My currently problem (only on this Apple Macbook M1 ... Stocker There were changes in Activator in version 2.9.3. The activation code is now computed

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-Cache

JQL-Update Queries fails with activated L2-Cache

jakarta.persistence.EntityManagerFactory

callInTransaction ( Function work ) Create a new application-managed EntityManager with an active ... runInTransaction ( Consumer work ) Create a new application-managed EntityManager with an active

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.TypedQuery

to a parameter of the query. Deprecated: Newly-written code should use the date/time types defined in java ... correspond to a parameter of the query. Deprecated: Newly-written code should use the date/time types ... . Deprecated: Newly-written code should use the date/time types defined in java.time . Since: Jakarta

jakarta.persistence.Query

. Deprecated: Newly-written code should use the date/time types defined in java.time . Since: Jakarta ... -written code should use the date/time types defined in java.time . Since: Jakarta Persistence (JPA) 2.0 ... code should use the date/time types defined in java.time . Since: Jakarta Persistence (JPA) 1.0 Query

jakarta.persistence.StoredProcedureQuery

. Deprecated: Newly-written code should use the date/time types defined in java.time . Since: Jakarta ... to a parameter of the query. Deprecated: Newly-written code should use the date/time types defined in java ... is of incorrect type. Deprecated: Newly-written code should use the date/time types defined in java.time

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

jakarta.persistence.EntityManager.close()

is joined to an active transaction, the persistence context remains managed until the transaction completes

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

1st project)) INFO: RequestBean []: Created: com.greensoft.entity. Activity [null](TEST: the 1st activity ) INFO: RequestBean []: Persisted: com.greensoft.entity. Activity [14](TEST: the 1st activity ) INFO: RequestBean []: Created: com.greensoft.entity. Activity [null](TEST: the 2nd activity ) INFO

jakarta.persistence.MapKeyTemporal

) protected Map employees; Deprecated: Newly-written code should use the date/time types defined in java

jakarta.persistence.Basic

, Character[] , or Byte[] as the type of a basic attribute is now discouraged. Newly-written code

jakarta.persistence.TemporalType

Jakarta Persistence (JPA) Enum jakarta.persistence.TemporalType java.lang.Object ∟ java.lang.Enum ∟ jakarta.persistence.TemporalType Implemented Interfaces: Constable , Comparable , Serializable Type used to indicate a specific mapping of Date or Calendar . Deprecated: Newly-written code

jakarta.persistence.Temporal

: @Temporal(DATE) protected java.util.Date endDate; Deprecated: Newly-written code should use the date

Query fails with failed to read

-17 19:14:40 #1 config]  Invalid or expired activation code : AKEP-SJ5T-6S1Y-B65T-FWKY [2018-08 ... is thrown? Any other special activity at that time? Please post a full stack trace of the exception (strange ... we have it now 5-10 times per day. There is not any backup activity active during these times. It always happens