Home » Search

About xml

171-180 of 200Refresh
Forum
1

Class fields selection to store

need an XML element for the persistent field but for the other 39 non persistent fields ... serialization). Annotate the other 39 fields using @NonPersistent (starting JDO 2.1 you can use annotations instead of XML metadata). hferreira25
Forum
1

disabling JDO in objectdb embedded mode

classes can be defined and configured in external XML files in addition to annotations. Therefore, ObjectDB must check if such XML files exist. Checking if the file exist should not throw an exception
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