Internal Website Search
51-100 of 200 resultsConfiguration 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 | |
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 | |
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 | |
Is ObjectDB better than Object Relational Mapping (ORM)? databases when necessary - with exactly the same code . | |
Eclipse Distribution License - v 1.0 Copyright (c) 2007, Eclipse Foundation, Inc. and its licensors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice | |
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;even when the result type is known, because the casting of a single object is easy and the code is simple: Query | |
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 methods can be supported by the Explorer only when the code of these methods is available using | |
Spring MVC Errors get the last part of the tutorial: "To enable on the fly automatic enhancement ( weaving ) in Tomcat ... enhancement ( weaving ) is automatically enabled without specifying a Java agent." P.S: I was 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 errorGenerating new activation code gives 500 server error | |
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 | |
Eclipse/JPA Java EE Tutorial with other Eclipse versions as well (dialog boxes and menus might look slightly different but the code | |
Eclipse/JPA Web Application Tutorial but the code would be the same). The Tutorial Steps This tutorial consists of the following steps: | |
Step 2: Entity Class and Persistence Unit to replace the new source file content with the following code : package guest; import java.io | |
Step 2: Define a JPA Entity Class and paste to replace the new source file content with the following code : package guest; import java.io | |
Getting Started with JPA This tutorial demonstrates how to create and run a simple JPA application. The demonstrated application uses JPA to store and retrieve simple Point entity objects, where each Point has two persistent fields - x and y . If you already know JPA - the source code | |
Step 3: Define a Spring DAO Component replace the content of the new source file with the following code : package guest; import java.util | |
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 | |
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 | |
FetchGroup.hashCode() - JDO Method JDO Method in javax.jdo.FetchGroup int hashCode () Return the hashCode for this instance. The hash code should combine both the class and fetch group name. The hash codes for two equal instances must be identical. Return: the hash code Since: JDO 2.2 | |
javax.jdo.FetchGroup Since: JDO 2.2 int hashCode () Return the hashCode for this instance. The hash code should combine both the class and fetch group name. The hash codes for two equal instances must be identical. Return: the hash code Since: JDO 2.2 boolean isUnmodifiable () Return whether this FetchGroup | |
javax.jdo.identity.LongIdentity hash code . Return: the cached hash code . Inherited from: SingleFieldIdentity Since: JDO 1.0 void | |
javax.jdo.identity.IntIdentity name. Inherited from: SingleFieldIdentity Since: JDO 2.0 int hashCode () Return the cached hash code . Return: the cached hash code . Inherited from: SingleFieldIdentity Since: JDO 1.0 void readExternal | |
javax.jdo.identity.ObjectIdentity hashCode () Return the cached hash code . Return: the cached hash code . Inherited from: SingleFieldIdentity | |
javax.jdo.identity.ByteIdentity () Return the cached hash code . Return: the cached hash code . Inherited from: SingleFieldIdentity |