Internal Website Search

101-150 of 200 results

Should derived fields of an EmbeddedId be manually maintained by app code?

field parent. In the following as the code stands I do NOT maintain the derived fields in ... ("cannot find ECompoundKeyMapItem 1"); } However it does not fail on Eclipselink. If I alter the code ... // Code without manual maintenance of derived fields in @EmbeddedId classes... import javax

Hitting 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

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

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

Unexpected exception during open the database

. We have also the code part, mentioned in Issue #1860 , in order to synchronize the ODB-IndexActivation Thread ... to the recent one. We don't observe any issues caused by the failing index activation and we don't ... one. We don't observe any issues caused by the failing index activation and we don't expect

Problems Running ODB Explorer

. Please note: I have had to activate odb a few times. rvxTeam2 Eugene Brobby Apparently you added the activation code to the objectdb.conf file that is in use by your application (and this is why it works ... more than one activation code in the xml configuration file. Technical support via this public forum

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

portions of code from each and see whether ObjectDB support or your readers can figure ... optimizations I meant JIT Compiler optimizations and not Java compiler optimization, i.e. the byte code ... relevant byte code after enhancement. support Support  Have you tried build time enhancement

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

for building the Guestbook.war only maven.   My GuestDAO code is as follows: package guest ... () )    System.out.println( methodName + " is within an active transaction" );   else    System.out.println( methodName + " is out of an active transaction" ); } private List

Query problem after transaction commit

; support Support Attached please find the test code . The screen output is at the end of the post ... for all object Goods successfully] 04 SELECT u FROM Goods u where u._ code like : code AND u._desc like :desc  05 code = %, desc= % 06 UI: end query 07 UI: start printing result 08 code = A, desc= Good

objectdb (licensed) + github action error

the assignment requirements accordingly. On our side we can increase the activation limits to enable repeating activations on upgrades, but unless you write code to automate activations (i.e. run the Activator from a program, open the result link from the program, parse the activation code , etc.), or

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

JQL-Update Queries fails with activated L2-Cache

javax.persistence.EntityManager

(which will return false). If this method is called when the entity manager is joined to an active ... IllegalArgumentException - if the instance is not a managed entity and a transaction is active Since: JPA 2.0 ... if no transaction is active Return: boolean Since: JPA 2.1 boolean isOpen () Determine whether the entity manager

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

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

EntityManager.joinTransaction() - JPA Method

JPA Method in javax.persistence.EntityManager void joinTransaction () Indicate to the entity manager that a JTA transaction is active and join the persistence context to it. This method should be called on a JTA application managed entity manager that was created outside the scope of the active

javax.persistence.EntityExistsException

.persist(Object) is called and the entity already exists. The current transaction, if one is active ... may be thrown at flush or commit time. The current transaction, if one is active and the persistence

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

/retrieve EITHER: the transparent activation is failing AND/OR: entities are becoming detached. http://www ... if it affects. Transparent activation works only when the entity object is managed - once it becomes detached existing values are not expected to be cleared but then transparent activation is disabled

javax.jdo.FetchGroup

(fields or properties) to be fetched when the fetch group is active , and the recursion depth for each ... .getFetchGroup , it is unscoped. When a FetchGroup is added to the set of active FetchGroups ... is removed from the set of active FetchGroups via PersistenceManagerFactory.removeFetchGroups

javax.jdo.PersistenceManager

if a transaction is not active . If a datastore transaction is active , this method verifies ... if flush were called, but it is not required to do so. If an optimistic transaction is active ... ;pc) Delete the persistent instance from the data store. This method must be called in an active

javax.jdo.PersistenceManagerFactory

Methods void addFetchGroups (FetchGroup... groups) Add the FetchGroup s to the set of active fetch ... to see that all PersistenceManager instances obtained from this PersistenceManagerFactory have no active transactions. If any PersistenceManager instances have an active transaction, throw a JDOUserException

javax.jdo.Transaction

if the transaction is already active . See Also: setOptimistic getOptimistic Since: JDO 1.0 void commit ... a container in the managed environment, or if the transaction is not active . Since: JDO 1.0 String ... () If true , allows persistent instances to be read without a transaction active . Return: the value

javax.jdo.FetchPlan

JDO Interface FetchPlan Fetch groups are activated using methods on this interface. An instance ... Methods FetchPlan addGroup (String fetchGroupName) Add the fetch group to the set of active fetch groups. Return: the FetchPlan Since: JDO 2.0 FetchPlan clearGroups () Remove all active groups

PersistenceManagerFactory.close() - JDO Method

obtained from this PersistenceManagerFactory have no active transactions. If any PersistenceManager instances have an active transaction, throw a JDOUserException, with one nested JDOUserException for each PersistenceManager with an active Transaction. If there are no active transactions, then close

PersistenceManager.checkConsistency() - JDO Method

the PersistenceManager cache with the datastore. This method has no effect if a transaction is not active . If a datastore transaction is active , this method verifies the consistency of instances in the cache ... to do so. If an optimistic transaction is active , this method obtains a datastore connection

PersistenceManager.flush() - JDO Method

instances to the data store. It has no effect if a transaction is not active . If a datastore transaction is active , this method synchronizes the cache with the datastore and reports any exceptions. If an optimistic transaction is active , this method obtains a datastore connection, synchronizes the cache

FetchPlan.getGroups() - JDO Method

JDO Method in javax.jdo.FetchPlan Set getGroups () Return an immutable Set containing the names of all active fetch groups. The Set is a copy of the currently active groups and will not change based on subsequent changes to the groups. Return: an immutable Set containing the names of all currently active fetch groups Since: JDO 2.0

javax.jdo.spi.JDOPermission

that are reserved for JDO implementations and should not be called by other code . A JDOPermission is a named ... the risks of granting code the permission. Permission Target Name What the Permission Allows Risks ... ) normally unavailable would be accessible to malicious code . getMetadata This allows getting

FetchPlan.clearGroups() - JDO Method

JDO Method in javax.jdo.FetchPlan FetchPlan clearGroups () Remove all active groups leaving no active fetch group. Return: the FetchPlan Since: JDO 2.0

PersistenceManager.getDataStoreConnection() - JDO Method

JDO Method in javax.jdo.PersistenceManager JDOConnection getDataStoreConnection () If this method is called while a datastore transaction is active , the object returned will be enlisted in the current transaction. If called in an optimistic transaction or outside an active transaction, the object

Transaction.isActive() - JDO Method

JDO Method in javax.jdo.Transaction boolean isActive () Returns whether there is a transaction currently active . Return: true if the transaction is active . Since: JDO 1.0

PersistenceManagerFactory.getFetchGroups() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory Set getFetchGroups () Get a modifiable Set containing a mutable copy of all currently active (in scope) fetch groups. The methods addFetchGroups ... : a copy of all currently active fetch groups Throws: SecurityExceptionif the caller is not authorized for {@link JDOPermission} ("getMetadata") Since: JDO 2.2

PersistenceManager.refreshAll() - JDO Method

JDO Method in javax.jdo.PersistenceManager void refreshAll () Refresh the state of all applicable instances from the data store. If called with an active transaction, all transactional instances will be refreshed. If called outside an active transaction, all nontransactional instances will be refreshed. See Also: refresh (Object pc) Since: JDO 1.0