Internal Website Search

1-10 of 200 resultsRefresh

Posting Sample Code

runnable sample program. If an unexpected exception (e.g. code>NullPointerExceptioncode> or code>ClassCastExceptioncode>) is thrown by ObjectDB - posting the full stack trace ... >). Keep the test as simple as possible - remove unnecessary code

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 <activation> tag in the objectdb.conf file. In 1.x objectDB ... > Can you please let me where should i use the activation code  which i got after acting

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

from ECompoundKeyMapSubItem's field parent. In the following as the code stands I do NOT ... 1"); } However it does not fail on Eclipselink. If I alter the code ... .InternalException //Code without manual maintenance of derived fields in @EmbeddedId classes

ObjectDB 2.x is working without any activation code

present in the objectdb.jar file 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 &

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 ... ) ... 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: <database>

Step 7: Run the Spring Web App

> to replace the content of the index.jspcode>code> file (which serves ... /. This tutorial should also run with GlassFish 3.0.1, with a small change in the code>persistence.xmlcode> file - instead of RESOURCE_LOCAL you will have to specify JTA.

Step 7: Run the Spring Web App

(weaving) in Tomcat it has to be run with ObjectDB as a Java agent (code>javaagent:objectdb.jar). code>When using GlassFish - on the fly enhancement (weaving) is automatically enabled ... 3.0.1, with a small change in the code>persistence.xmlcode> file - instead of RESOURCE_LOCAL

[ODB1] Chapter 7 - JDOQL Queries

="/database/jdo/manual/chapter6#retrieving_persistent_objects">section 6.3. An code>Extentcode ... three components: A candidate collection containing persistent objects (usually an code>Extentcode>) A candidate class (usually a persistent class) A filter

[ODB1] Chapter 6 - Persistent Objects

> When a new object is constructed by the code>newcode> operator, it always starts as a transient ... demonstrated by the following code: pm.currentTransaction().begin ... > First, the code>Personcode> instance is constructed as a simple transient object

[ODB1] Chapter 4 - JDO Metadata

, the class is persistent, and if not, the class is transient. Metadata for class code>a.b.Xcode> (code>a.bcode> is the package name, code>Xcode> is the class name), whose class file is code>a/b/X.classcode>, is searched in the following paths (in the order shown): code>META-INF