ObjectDB Database Search

1-50 of 200 results

Posting Sample Code

( no persistence unit ). Keep the test as simple as possible - remove unnecessary code (but keep it complete

ObjectDB 2.x is working without any activation code

and it is working without any activation code . Is it is bug in objectdb or it works without activation code also. I am saving some information into the some.odb file and reading the informatin without any problem. What exactly is the activation code for ? Thanks & regards, Binit Bhaskar binitbhaskar

Configuration and Activation Code in ObjectDB 2.x

for activating the odbee.jar file and got the activation code .It is mentioned in the side that i need to use the activation code using tag in the objectdb.conf file. In 1.x objectDB, we are not using any objectDB ... (properties), JDOHelper.class.getClassLoader()); Can you please let me where should i use the activation code

Activation code is invalid, if restart OS Ubuntu 22.04

I created an activation code and the database works fine. After restart of the computer I ... How the activation code is binded at the computer? The mac adress? There are three mac adresses ... be a problem?   btc_es BTC EmbeddedSystems How the activation code is binded at the computer

Get activation code for a server with no Internet connection

. How do we get the activation code ? Dmitry Zakharov uncol Dmitry Zakharov Run activation on that server. It does not ... that you can open on another computer that is connected to the Internet, in order to retrieve the activation code . Add the activation code that is received on that url to the ObjectDB configuration file of the server. support Support

setting activation code in persistence.xml or env file or system properties

Wondering if it's possible to add the activation code either: - in persistence.xml - or in a .env file - or system properties dmoshal David Moshal These options are not supported. However, you can embed the configuration file with the activation code as a resource, e.g. by replacing the objectdb

Database Management Settings

and 1,000,000 entities per database), you must specify a valid activation code in an element. Activation codes are generated by running the Activator utility from the command line: $ java -cp objectdb.jar com.objectdb. Activator Each computer requires a specific activation code , but you can specify

License Activation Change and Checking Activation

a different activation code . With this code it works. The only difference I can think of is that my WiFi ... . You should include both activation codes now in your configuration, so ObjectDB will work on your laptop ... Hello! How does ObjectDB determine the machine ID? Yesterday I activated our license

Activation Issue

, it was shutdown the laptop, and move to the office. The activation code isn't tied to IP addresses in any way ... most definitely had the activation code in objectdb.conf. Yet I was seeing that exception, no objectdb server ... code is per machine. Use your site license to generate multiple activation codes . You may also specify

Activated ObjectDB still throws "Too many persistable types"

that activation code is set in the server configuration file (not on the client side). Since you have a site license, you may try running activation again, to see that the code is correct ... Support Make sure that activation code is set in the server configuration file (not on the client

Start ObjectDB inside java code.

but how and where do i activate those line of code now? i mean where do i put the     ... , you should be able to run it also from your own code by calling the main method directly:   

Does "error 522" (connect timed out) have something to do with restrictions despite license activation?

the license inside the server. By the way, I fetched the following message: Your activation code should be available at:Your activation code should be available at: http://www.objectdb.com/ activate ... Lotti Solved, it was really because of the activation code I wasn't able to fetch from URL. Ieodaq

Activation error on Schema change

that an activation code that was generated specially for the server machine is included in ... about that, this shouldn't happen. Pre 2.3.7 activation codes should work with 2.3.7. But in the logs I ... 2.3.7 will require you to fix it and generate a specific activation code for that machine. In

Activation Issue

to activate again but got the same activation code . My coworkers have the same problem ... Hi! We now reached the 10 class limit of ObjectDB. Our license is activated and if I run objectdb activation I get true back. When I start our webapp although I get the following error: Caused by

Activated DB does not work from one to another day

activation code or a new one?   support Support I don't think the MAC changed. However, the activation code is different now and it works. Very strange. itsme Martin Petzold Examining this issue ... Activated DB does not work from one to another day. How can this be? com.objectdb.o.UserException

activation check always returns false

environment, i.e. whether a valid activation code is present in the objectdb.conf file. When using ... computers, where the classes are enhanced but the activation code is either not available or does ... check for activation always reports false isActivated = entityManager.createQuery( "objectdb

Attempt to begin a new transaction when a transaction is active

The code I have a RecordDao stateless java bean :  @Stateless public class RecordDao ... ._PersistenceException: Attempt to begin a new transaction when a transaction is active root cause com.objectdb.o._PersistenceException: Attempt to begin a new transaction when a transaction is active root cause

How to check that ObjectDb licenses are activated?

.com/forum/1384 I tried to check the activation status using following code EntityManagerFactory emf ... . createEntityManager (). createQuery ( "objectdb activation " , boolean . class ). getSingleResult ... other versions? Activation often fails because the activation key is set in a different

SELECT clause (JPQL / Criteria API)

performance and can sometimes reduce the amount of Java code needed. Note that query results ... are not associated with an EntityManager , and changes to them during an active transaction are not ... ( c.name ), and the second is the capital city name ( c.capital.name ). The following code

JPA Optimistic and Pessimistic Locking

mode. A TransactionRequiredException is thrown if there is no active transaction when lock is called because explicit locking requires an active transaction. A LockTimeoutException is thrown ... lock or a PESSIMISTIC_READ lock on that database object. For example, consider the following code

Storing JPA Entities

code stores an Employee entity class instance in the database: Employee employee = new Employee ... entities. Because operations that modify the database require an active transaction, persist throws a TransactionRequiredException if it is called without an active transaction. An EntityExistsException

ObjectDB Object Database Features

- much faster than any other JPA solution. General Highly optimized code (as a result of many profiling ... is set using JPA/JDO annotations (e.g. @Entity , @Id , @Index ). Transparent activation (no activation depth) - objects are retrieved from the database automatically by navigating  from

Database Explorer

manages an active transaction for each open database file. All editing operations are part of the active transaction. The File Save command commits the transaction, applying all changes to the database ... , the Explorer can only execute queries that include user-defined methods if the code for those methods

Getting an error when adding activation code to conf file

Hello, When I add an activation code to my objectdb.conf file, I get the following exception ... .o.RCL. (RCL.java:36) ... 8 more   If I remove the activation code from my configuration file, I ... with my activation code .  I am adding my activation code to my config file as such:        

Generating new activation code gives 500 server error

Trying to generate a new activation code using our site license key gives a 500 error every time. Code generated using version 2.7.4_04 and openjdk 1.8.0_171. spiffy Jonathan Harley There was a problem, thank you for this report. Please try again now. support Support

Generating new activation code gives 500 server error

The link I got for activation doesn't work after I pasted onto the browser cause of the 500 error. Ieodaq Daniele Lotti Solved. Ieodaq Daniele Lotti

Retrieving JPA Entities

objects does not require an active transaction because it does not change the database content ... object graph is in memory. This illusion, based on ObjectDB's lazy, transparent activation ... = employee.getManager(); // might be hollow If manager is a hollow object, transparent activation

DELETE Queries in JPA/JPQL

within an active transaction, either explicitly by calling the remove method or implicitly through a cascading ... within an active transaction. The changes become visible to other users (who use other EntityManager ... is active . If successful, the executeUpdate method returns the number of objects that were deleted

Privacy Policy

to track the activity on Our Service and store certain information. Tracking technologies used ... Service may see Your name, profile, pictures and description of Your activity . Similarly, other users will be able to view descriptions of Your activity , communicate with You and view Your profile

UPDATE SET Queries in JPA/JPQL

the entities into an EntityManager . Update the relevant entity fields within an active transaction ... database modification, you must execute UPDATE queries within an active transaction. The changes ... = em. executeUpdate (); If no transaction is active , a TransactionRequiredException is thrown

Managing JPA Entities

within an active transaction. When the transaction is committed, the owning EntityManager stores the new ... within an active transaction, the owning EntityManager detects the change and propagates the update ... the EntityManager 's remove method within an active transaction. The entity's state changes from Managed

Eclipse Public License - v 1.0

code and documentation distributed under this Agreement, and b) in the case of each subsequent ... , if any, and such derivative works, in source code and object code form. b) Subject to the terms ... the Contribution of such Contributor, if any, in source code and object code form. This patent

Obtaining a JPA Database Connection

within an active transaction. Given an EntityManager instance named em , you can begin a transaction: em ... and the EntityTransaction instance that the getTransaction method returns. When a transaction is active

Deleting JPA Entities

the database, you must first retrieve it. Then, within an active transaction, call the remove method ... if called without an active transaction, because database modification operations require

JPA Connections and Transactions

. Once constructed, it can serve the entire application. Operations that modify the database require active ... the database (such as storing, updating, or deleting data) must be performed within an active transaction

Updating JPA Entities

, you can modify it in memory within an active transaction: Employee employee = em. find (Employee.class ... an entity by modifying it within an active transaction. You do not need to invoke an EntityManager method

JPA Exceptions

is required but is not active . This typically occurs when attempting to modify the database without an active transaction. Thrown when the transaction is marked for rollback only or the commit fails

JPA Class Enhancer

to be enhanced. Enhancement improves efficiency in three ways: Enhanced code enables efficient tracking ... explained in Chapter 3 ). Special code is added to enhanced classes that automatically notifies ObjectDB whenever a persistent field is modified. Enhanced code enables lazy loading of entities

ObjectDB can't be activated

activation code , so there shouldn't be the problem. It maybe the issue of a 00-00-00-00-00-00 ... problem. Anyway, I see an activation now from a few minutes ago. The result activation code ... Still no luck with 2.5.5_08 (Website generated same activation code as for 2.5.5_07) and still fails with non

Setting and Tuning of JPA Queries

the page number (starting from 0 for the first page), the following code retrieves the results ... instance, em , are visible to any code that uses em , even before the transaction is committed ... to all result objects that the query retrieves. For example, the following code sets a pessimistic WRITE

Activation & Object Model Enhancement

though we are unable (and don't want) to activate each oem instance so we'd need a solution ... osgi bundles using maven. One of our bundles contains the code calling odb JEnhancer. Maybe it'd

Detached JPA Entities

a TransactionRequiredException if you call it without an active transaction, because merging can modify

JPA Persistable Types

activation and persistence. For example, a collection that is stored as an instance of java.util

Running JPA Queries

(); A TransactionRequiredException is thrown if no transaction is active . On success, the executeUpdate() method returns

Apache License, Version 2.0, January 2004

to software source code , documentation source, and configuration files. "Object" form shall mean any form ... to compiled object code , generated documentation, and conversions to other media types. "Work" shall ... , including but not limited to communication on electronic mailing lists, source code control systems

FROM clause (JPQL / Criteria API)

a criteria query by using the following code : CriteriaQuery q = cb. createQuery (Country.class); Root ... a criteria query by using the following code : CriteriaQuery q = cb. createQuery (Country.class ... .capital can be built as a criteria query by using the following code : CriteriaQuery q = cb

JPA Named Queries

named queries instead of dynamic queries can improve code organization by separating JPQL query strings from Java code . This practice also enforces the use of query parameters instead of embedding ... (MyEntity.class); After running this code , ObjectDB includes MyEntity when searching for named queries.

Online Backup

file by using the code above could generate a backup whose full path is c:\objectdb\backup ... .io.File("c:\\backup")); backupQuery.getSingleResult(); For instance, the code above could create ... is relative to the ObjectDB home directory on the server. For example, in client-server mode, the code

Step 4: Add a Servlet Class

to create the new servlet class. Now replace the content of the new source file with the following code ... if still active ) is closed. The next step is adding a JSP page that will produce the guestbook page output.

Step 4: Add a Servlet Class

of the new source file with the following code : package guest; import java.io.IOException; import java ... , the database connection (including the transaction if still active ) is closed. The next step is adding