Internal Website 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

per database) requires specifying a valid activation code using an  element.  Activation codes ... the command line. Every machine requires a specific activation code , but multiple elements can be specified in the same configuration. This way the same configuration file (with multiple activation codes

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

SELECT clause (JPQL / Criteria API)

code needed. Notice that query results must always be specified explicitly - JPQL does not support ... to them when a transaction is active are not propagated to the database. Multiple SELECT Expressions ... cell contains the capital city name ( c.capital.name ). The following code demonstrates running

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

Retrieving JPA Entity Objects

. The retrieval of objects does not require an active transaction because it does not change the content ... . Given an EntityManager em , the following code fragment demonstrates the retrieval of an Employee ... activation and retrieval of objects by ObjectDB, helps hide some of the direct interaction

Storing JPA Entity Objects

or implicitly as a result of a cascade operation. Explicit Persist The following code stores ... values). A TransactionRequiredException is thrown if there is no active transaction when persist is called because operations that modify the database require an active transaction. If the database

Locking in JPA

. 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 if the requested pessimistic lock ... a PESSIMISTIC_READ lock on that database object. For example, consider the following code fragment: em1

ObjectDB Object Database Features

fast - much faster than any other JPA solution. General Highly optimized code (as a result of many ... activation (no activation depth) - objects are retrieved from the database automatically by navigating  from other managed objects. Transparent update - changes are detected automatically. Code

Database Explorer

. Saving Changes The Explorer manages an active transaction for every open database file. All the editing operations are associated with the active transaction. The File Save menu command commits ... methods can be supported by the Explorer only when the code of these methods is available using

JPA Lifecycle Events

within an active transaction, the transaction is marked for rollback and no more callback methods are invoked ... (e.g. in the code above, Object can be replaced by a more specific type). The listener class

Running JPA Queries

;even when the result type is known, because the casting of a single object is easy and the code is simple: Query ... (); A TransactionRequiredException is thrown if no transaction is active . On success - the executeUpdate method

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

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

DELETE Queries in JPA/JPQL

;within an active transaction, either explicitly by calling the  remove method or implicitly ... within an active transaction and the changes are visible to other users (who use other EntityManager instances ... "). executeUpdate (); A  TransactionRequiredException is thrown if no transaction is active

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

Deleting JPA Entity Objects

an object from the database it has to first be retrieved (no matter which way) and then in an active ... is thrown if there is no active transaction when remove is called because operations that modify the database require an active transaction. Cascading Remove Marking a reference field with CascadeType

UPDATE SET Queries in JPA/JPQL

;within an active transaction. Applying changes to the database by calling the commit method. JPQL UPDATE queries ... operation that modifies the database, UPDATE queries can only be executed within an active ... (); A  TransactionRequiredException is thrown if no transaction is active . On success

Working with JPA Entity Objects

via an EntityManager’s persist method, which must be invoked within an active transaction. On transaction commit ... Entities section. If a managed entity object is modified within an active transaction the change ... the EntityManager’s remove method within an active transaction. The entity object changes its state from

JPA Class Enhancer

ObjectDB Enhancer is a post compilation tool that improves performance by modifying the byte code ... not need to be enhanced. Enhancement improves efficiency in three ways: Enhanced code enables ... (as explained in  chapter 3 ). This is done by adding special code to enhanced classes

Detached Entity Objects

if there is no active transaction when merge is called because operations that might modify the database require an active transaction. Cascading Merge Marking a reference field with CascadeType . MERGE (or

Obtaining a JPA Database Connection

should only be performed within an active transaction. Given an EntityManager , em, it is very easy ... returns. When a transaction is active you can invoke EntityManager methods that modify the database

Database Connection using JPA

the content of a database require active transactions. Transactions are managed by an EntityTransaction ... ) must be performed within an active transaction. The EntityTransaction interface represents and manages database

Updating JPA Entity Objects

from inside an active transaction: Employee employee = em. find (Employee.class, 1); em ... entity object from within an active transaction. No EntityManager 's method is invoked to report

[ODB1] Chapter 6 - Persistent Objects

demonstrated by the following code : pm.currentTransaction().begin(); Person person = new Person("George ... . When a transient object becomes persistent during an active transaction, its content ... ). An attempt to call makePersistent( ... ) when there is no active transaction throws an exception

[ODB1] Chapter 5 - JDO Connections

of the database requires an active transaction. The focus of this chapter is on setting up a runtime ... . Obtaining a PersistenceManagerFactory The following code demonstrates how to obtain ... that identifies the property, and a value for that property. The two properties that are set in the code

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

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)

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

JPA Named Queries

named queries instead of dynamic queries may improve code  organization by separating the JPQL query strings from the Java code . It also enforces the use of query  parameters ... the above code ObjectDB will include MyEntity in searching named queries.

Online Backup

of the original database file. For example, backing up a  test.odb  database file using the code ... .getSingleResult(); The code  above, for instance, could create a backup at  c:\backup ... side. For example, in client-server mode the code  above could create the backup file on the server

[ODB1] Chapter 2 - A Quick Tour

a list of two strings "Hello World 0" and "Hello World 1". Program Source Code The program consists ... the content of the database must always be contained within an active transaction. Lines 16-26 ... ). An object bound to the database during an active transaction, is expected to be stored physically in

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 ... the transaction 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 ... . Finally, the database connection (including the transaction if still active ) is closed. The next step

[ODB1] Chapter 9 - ObjectDB Explorer

at the moment of query execution with Java code that implements the query. You can use that code to export JDOQL queries that you test in the Explorer into your Java code . Refreshing the Cache When a database ... an active transaction for every open database file. All editing operations (including loading classes

[ODB1] Chapter 4 - JDO Metadata

element-type attributes because it is not specified in the Java code . For fields f0 and f1 ... has persistent instances stored in the database, the index becomes active only by running the Index ... ); The first argument to Utilities.startIndexBuilder( ... ) ( pm in the code

[ODB1] Chapter 3 - Persistent Classes

store methods and code . Only the state of the object as reflected by its persistent fields is stored ... the byte code of compiled classes. Classes to be enhanced must be located in class files and not in ... the byte code of these classes, and the result is classes that do implement the PersistenceCapable

[ODB1] Chapter 7 - JDOQL Queries

from this query: query.closeAll(); The complete code for printing all the people whose age is 18 or ... classes in queries, the user code must be available. In embedded mode, user classes are always available ... the field from the parameter. This code demonstrates the execution of a query with two different

[ODB1] Chapter 1 - About ObjectDB

code . The JDO API is available today for most relational database systems (RDBMS), e.g. Oracle, IBM ... such mapping makes it possible to write clean Java code , but still requires some familiarity ... of Java objects in a database, visually, without writing a single line of code . Many object databases