About xml

forum_thread

ODB 2 JDO enhancement

If I label a class @PersistenceCapable do I still need to explicitly enhance? Do I need a package.jdo file? This question relates to experiences with ODB 1, in which one has to: a) create a package.jdo, and b) run the Enhancer In my experience, using this with Tomcat, and running the enhancer in the contextListener class, there would often be errors relating to 'class not persistent capable'. So, in ODB 2 is there a way to mark a class as @PersistentCapable, and then let ODB take care of enhancement automatically?... Annotations (@PersistenceCapable / @Entity) replace the XML metadata (e.g. package.jdo). Enhancement is another issue. ObjectDB 2 ...

 
forum_thread

objectdb.conf Information

Hello, Is it possible to get detailed information on objectdb.conf client vs server? We do have an objectdb.conf for our client and one for our server instance. Now there're several questions: - Which config entries are relevant for the client and which one for the server? I.e. what about: <cascade-persist always="true" on-persist="false" on-commit="true" /> we want to activate enhancer agent, guess this is client right? activation-code - guess this is required for server only right? ... Can we leave out non-required (for client and/or server) xml elements from the client and the server config? ...

 
manual

[ODB1] Chapter 3 - Persistent Classes

Explains what a persistence capable class is and which types are supported by JDO.... class has to: be declared in a JDO metadata file in XML format. include a no-arg constructor. implement the ...

 
api-jdo

Constants.JDO_XSD_NS

The standard JDO metadata schema namespace.(Static Field of javax.jdo.Constants)

 
api-jdo

javax.jdo.annotations.Index

Annotation for a database index.(Annotation of JDO)

 
api-jpa

javax.persistence.MappedSuperclass

Designates a class whose mapping information is applied to the entities that inherit from it.(Annotation of JPA)

 
api-jdo

javax.jdo.annotations.Discriminator

Annotation for the discriminator of the class.(Annotation of JDO)

 
api-jdo

javax.jdo.annotations.DatastoreIdentity

Annotation for the datastore identity of the class.(Annotation of JDO)

 
forum_thread

Undeploying Glassfish web application does not disconnect from ObjectDB

Glassfish3.1.1 Netbeans7.1 ObjectDB 2.3.7_19 If I deploy a web application to Glassfish using ObjectDB as JPA provider, then undeploy, I can't access the database file in the ObjectDB explorer, the explorer claims the database file is being accessed by another process. If I restart Glassfish I can open the database file in the ObjectDB explorer ok. ... Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, ...

 
issue

javax.persistence.PersistenceException Attempt to store an instance of a non persistable type java.net.URL

ObjectDB 2.3.6_16: The following works in EclipseLink+MySQL and EclipseLink+Oracle: ... Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, ...