Home » Search

About xml

171-180 of 200Refresh
Forum
1

Double persist of Entity field with Cascade.ALL

persistence.xml, I had to use ObjectDB server because Netbeans kept deleting my database each time ... the persistence.xml to use it. I created the application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3
Forum
1

Duplicate Entity class names causes Exception in Query

I have two Entities which have the same class name but reside in different packages, only one of them is mentioned in the persistence.xml. I a NamedQuery I use the unqualified class name ... ") everything works fine.   The persistence.xml is   
Issue
1

Dynamic Metadata (JDO 3.0)

JDO 3 introduces the ability to specify and query 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 methods are static, i.e. the metadata has to be provided
Forum
1

Embedded in JDO metadata not working in objectDB 2.x ?

Hi, I am using JDO access to the database with the persistence defined in package.jdo XML metadata files. In those metadata files I have few persistence-capable classes which had extents in ObjectDB ... 2 is ignoring the "embedded=true" attribute in the package.jdo XML ? If yes, how to handle this ? 3
Forum
1

Explorer in 2.3

, but I cannot get them to work.) b. XML - Select some objects and serialize them to XML (using ids
Forum
1

Groovy JPA example

. You can connect ObjectDB from Groovy as specified in #1 above, or using a persistence.xml file. Any Groovy library ... to ObjectDB is properly set in a persistence.xml file. As of 2010, there were plans to make that driver
Forum
1

How prevent post-compile enhancement of non entity classes

I have recently moved to post-compile enhancement (from automatic run-time enhancement) using an Ant build.xml for a NetBeans web app. My adapted build.xml works for both full project build and per-file compilation (with NetBeans "compile on save" off), but it is not yet perfect at only invoking
Forum
1

How to connect to an embedded ObjectDB in a JPA/JEE application?

It is easy to change the properties in persistence.xml file to connect to an ObjectDB server. But I could not find any reference who to connet to an embedded objectdb in a JEE/JPA application through changing persistence.xml file. Can any one please help ? Just replace the client-server connection
Forum
1

How to deploy an Objectdb project with Jboss AS 7?

-jee.jar instead of objectdb.jar I used persistence.xml with the sentence java ... INFO [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011401: Read persistence.xml for GuestbookPU
Forum
1

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

> 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 In the package.jdo