About xml

tutorial

Eclipse/JPA Spring MVC Web Tutorial

Step by step tutorial that demonstrates how to build a Spring MVC Java web application (with Servlet, JSP and a DAO Bean) in Eclipse using JPA.... Step 5: Add a JSP Page Step 6: Set the Spring XML Step 7: Run the Spring Web App ...

 
forum_thread

Explorer in 2.3

First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way to do ad-hoc JPQL queries and navigate through the results and even make small changes to primitive data and Strings. After playing with it for a while, here is a list of additional features I'd love to have: 1. Export of selected data: a. Simple - Select a range of cells or a column header and copy text to the clipboard or save to a file (csv, html, etc..). (There appear to be copy menu options, but I cannot get them to work.) ... menu options, but I cannot get them to work.) b. XML - Select some objects and serialize them to XML (using ids for circular references) c. Binary - Select some ...

 
forum_thread

How find out ObjectDB version at runtime (in a web app)

Am getting inconsistent results with the "objectdb.temp.no-enhancement-crc-check" system property of objectdb-2.6.9_02 in a Glassfish web app. Can see correct version of objectdb-2.6.9_02 in /build/web/WEB-INF/lib. When one runs the enhancer (which I am doing post-compile, pre-deploy with an Ant script) Object clearly indicates the version. Q: How can one interrogate objectdb for the version at run-time ? ... Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, ... Specialists in model-based UML, SysML, Enterprise Java, XML, and Drupal CMS web engineering. Dr Darren Kelly, BSc, PhD, ...

 
tutorial

Step 5: Add a JSP Page

Explains how to add a JSP to a NetBeans Spring MVC JPA web application project.... (and the last in this tutorial) is setting the Spring XML configuration . ...

 
forum_thread

package.jdo validation error (Connection timed out)

HI, I am trying to read the odb file generated using objectdb 1.0. Using converter.jar, i converered to new objectDB file and then was trying to read the file and i got the following exception. com.objectdb.o._JdoUserException: Failed to validate xml file <somePath>\RTDLogger.jar#package.jdo: Connection timed out: connect NestedThrowables: java.net.ConnectException: Connection timed out: connect ... com.objectdb.o._JdoUserException: Failed to validate xml file <somePath>\RTDLogger.jar#package.jdo: Connection timed out: ... otherwise the XML parser may try accessing that url (and it will probably fail if you are ...

 
issue

Dynamic Metadata (JDO 3.0)

JDO 3 introduces the ability to specify metadata of persistable types dynamically. ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JDO XML Metadata (e.g. package.jdo) JDO Annotations All these... ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JPA 2 Annotations ... etc. See JavaDoc Reference Page... JDO XML Metadata (e.g. package.jdo) JDO Annotations JDO Annotations ...

 
manual

Obtaining a JPA Database Connection

Shows how to use Java/JPA to connect to the ObjectDB Object Database.... requires the definition of a persistence unit in an XML file in order to be able to generate an EntityManagerFactory . But when ... you can either define a standard persistence unit in an XML file or you can simply provide the file path of the ObjectDB database ...

 
forum_thread

How to Persist a Map of beans to collections of beans?

Hello, I am trying to add a new persistable object to the package.jdo for persistence in a .odb file.  The class contains a field that is as follows: private Map<SomeKindaBean, List<SomeOtherTypeOfBean>> m_objectToPersist; I'm at a loss for how to format the xml in the .jdo file for this object.  How does one persist this in package.jdo xml?  Thanks in advance for your help. -A ... I'm at a loss for how to format the xml in the .jdo file for this object.  How does one persist this in package.jdo xml?  Thanks in advance for your help. -A ...

 
tutorial

NetBeans/JPA Spring MVC Web Tutorial

Step by step tutorial that demonstrates how to build a Spring MVC Java web application (with Servlet, JSP and a DAO Bean) in NetBeans using JPA.... Step 5: Add a JSP Page Step 6: Set the Spring XML Step 7: Run the Spring Web App ...

 
forum_thread

Class fields selection to store

In a class how do I define which are the fields to be stored? (using JDO API) It's using persistence-modifier="persistent" ? If I have a class with 40 fields and I only want to store one of the fields should I do the following? <class name="Car">    <field name="Wheels" persistence-modifier="persistent" /> </class> Which are the value used for fields that I do not want to store? ... are persistent by default. Therefore you don't need an XML element for the persistent field but for the other 39 non persistent ...  (starting JDO 2.1 you can use annotations instead of XML metadata). ObjectDB Support ObjectDB - ...