Internal Website Search

1-10 of 200 resultsRefresh

Posting Sample Code

>complete runnable sample program. If an unexpected exception (e.g. code>NullPointerExceptioncode> or code>ClassCastExceptioncode>) is thrown by ObjectDB - posting the full stack ... simple as possible - remove unnecessary code (but keep it complete and runnable

Configuration and Activation Code in ObjectDB 2.x

the License key 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. Can you please let me where should i use the activation code

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

the code stands I do NOT maintain the derived fields in the embeddedIds explicitly and the test fails ... . If I alter the code so that I do maintain the EmbeddedId explicitly it works; //Code

ObjectDB 2.x is working without any activation code

objectdb.conf file 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

Getting an error when adding activation code to conf file

Hello, When I add an activation code to my objectdb.conf file, I ... ;clinit>(RCL.java:36) ... 8 more   If I remove the activation code ... >This is why I think something is wrong with my activation code.  I am adding my activation

Step 7: Run the Spring Web App

and paste to replace the content of the index.jspcode>code>code>persistence.xmlcode> file - instead of RESOURCE_LOCAL you will have to specify ... : auto;"> To enable on the fly enhancement (weaving) in Tomcat:

Step 7: Run the Spring Web App

> To enable on the fly automatic enhancement (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 ... can also run with GlassFish 3.0.1, with a small change in the code>persistence.xmlcode> file

[ODB1] Chapter 7 - JDOQL Queries

section 6.3. An code>Extentcode>, for instance, can be used to retrieve all the instances of a specified persistent class ... containing persistent objects (usually an code>Extentcode>) A candidate class (usually

[ODB1] Chapter 6 - Persistent Objects

>Storing Objects Explicitly When a new object is constructed by the code>newcode ... can become persistent later, as demonstrated by the following code: pm ... .currentTransaction().commit(); First, the code>Personcode> instance is constructed

[ODB1] Chapter 4 - JDO 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/package.jdocode> code>WEB-INF/package.jdo