ObjectDB Database Search

51-100 of 200 results

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

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

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

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

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

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

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

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

Start ObjectDB inside java code.

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

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?

Spring LTW Problem

Hello! I use ObjectDB with Spring. Today i tried to swich from AspectJ compile time weaving to load time weaving . (To get Jrebel working properly) So i added      To my context.xml and to my spring configuration. Now Spring oviously tries to weave every class that get's loaded

Integration

the new ObjectDB build load time weaving (enhancement) by Spring is currently disabled ... know i'm not using loadtime weaving but compile time weaving with aspectj) anyway, i got a spring ... ) to gain performance. I wonder what would happen if you would enable Spring load time weaving

Java 8 Enhancer Problem

weaving . Unluckily the LTW option of Spring is global. If it's enabled it also tries to find other class ... an exception which causes Spring to stop weaving .  Caused by: com.objectdb.o.InternalException ... the exception and output a log message like "Java 8 weaving currently not supported." instead

CRUD Database Operations with JPA

Given an EntityManager , em , that represents a JPA connection to the object database, we can use it to store, retrieve, update and delete database objects. Storing New Entity Objects The following code fragment stores 1,000 Point  objects in the database: em. getTransaction (). begin

Running JPA Queries

and the code is simple: Query query = em. createQuery ("SELECT COUNT(c) FROM Country c"); long countryCount

Paths and Types in JPQL and Criteria API

. get ("capital"); Path captialName = capital. get ("name"); The path expressions in the above code

Locking in JPA

a PESSIMISTIC_READ lock on that database object. For example, consider the following code fragment: em1

Database Explorer

defined methods can be supported by the Explorer only when the code of these methods is available using

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:        

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

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

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

Generating new activation code gives 500 server error

Generating new activation code gives 500 server error

jakarta.persistence.TypedQuery

to a parameter of the query. Deprecated: Newly-written code should use the date/time types defined in ... 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 ... -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 ... 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

NullPointer when accessing persistent field

you a snapshot of some of the utility dependencies )   The code being called is accessing a map declared ... and db files ( transaction is rolled back )   The packages were all enhanced ( static weaving ... java.util.Map z_registers  = new java.util.HashMap (); As before Enhancer is being run on code

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

jakarta.persistence.TypedQuery.setParameter(Parameter,Date,TemporalType)

- if the parameter does not correspond to a parameter of the query. Deprecated: Newly-written code

jakarta.persistence.TypedQuery.setParameter(String,Calendar,TemporalType)

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

jakarta.persistence.TypedQuery.setParameter(String,Date,TemporalType)

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

jakarta.persistence.TypedQuery.setParameter(Parameter,Calendar,TemporalType)

code should use the date/time types defined in java.time . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQuery.setParameter(int,Calendar,TemporalType)

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

jakarta.persistence.TypedQuery.setParameter(int,Date,TemporalType)

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

jakarta.persistence.StoredProcedureQuery.setParameter(int,Calendar,TemporalType)

of the query or if the value argument is of incorrect type. Deprecated: Newly-written code should use

jakarta.persistence.StoredProcedureQuery.setParameter(int,Date,TemporalType)

if the value argument is of incorrect type. Deprecated: Newly-written code should use the date/time

jakarta.persistence.StoredProcedureQuery.setParameter(Parameter,Date,TemporalType)

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

NetBeans/JPA Java EE Tutorial

well (dialog boxes and menus might look slightly different but the code would be the same). Note

Step 4: Add a Servlet Class

of the new source file with the following code : package guest; import java.io.IOException; import javax

Step 2: Define a JPA Entity Class

code : package guest; import java.io.Serializable; import java.sql.Date; import javax.persistence.Entity

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:

Step 4: Add a Servlet Class

of the new source file with the following code : package guest; import java.io.IOException; import java

Which API should I use - JPA or JDO?

, tutorials and sample code . When to prefer JDO JDO might be preferred when portability to other object