About xml

11-20 of 200Refresh
Forum
22

PersistenceException UserException: Failed to validate persistence.xml

: Failed to validate xml file C:\!heatboxes-web\build\web\WEB-INF\classes\META-INF\persistence.xml ... :152) ... 80 more Caused by: com.objectdb.o.UserException: Failed to validate xml file C:\!heatboxes-web\build\web\WEB-INF\classes\META-INF\persistence.xml: at com.objectdb.o.MSG.d(MSG.java:74
Forum
22

How to package orm.xml when using EJB in WAR?

Hi, I have database utility classes in one project, the id's use sequences declared in an orm.xml ... > and the persistence.xml references this orm.xml :
Forum
21

Compile time enhancement using build.xml of a Netbeans web application

Does anybody have a complete, working example of the adaptations required in the build.xml ... :\my-project\classes\*.class"/> The (rather overwhelming) nbproject/build-impl.xml of Netbeans, that is included into build.xml, offers a number of empty targets to override in build.xml, such as
Forum
21

Failed to validate XML

[ObjectDB 2.6.7_05] javax.persistence.PersistenceException Failed to validate xml file /{erased-by-me}/tiro/lib-core/build/resources/test/META-INF/persistence.xml: (error 211) at com.objectdb.jpa ... .main(AppMain.java:144) Caused by: com.objectdb.o.UserException: Failed to validate xml file /{erased
Forum
21

Externalising persistence.xml properties in Glassfish?

Hi,   I've run into a little bit of a wall with regards to persistence.xml and externalising ... on JNDI lookups). I am using Glassfish. Basically, what I am trying to get at: E.g. persistence.xml ... for your time! Hello, Why dont you create multiple  presistance units in the persistance.xml and that way
Forum
21

How to change properties in urls2.xml?

see it exists a file name "urls2.xml".
/var/lib/tomcat7/db/myDb.odb;user=admin;password ... . :( Does it exist a way to change urls2.xml properties ? Adding ?port=XXXX at the end of the persistence.xml database local url doesn't work. ( Tomcat says "Connection refused" )
Forum
21

Is named-query supported in orm.xml

I prefer to keep custom JPQL named queries in an external file, e.g. orm.xml, rather than in ... > This works fine with e.g. eclipseLink and postgres, but objectDB complains with an error like: org.xml.sax ... was found starting with element 'named-query'. One of '{"http://java.sun.com/xml/ns/persistence/orm
Forum
21

Jboss 6 persistence.xml startup error

out feasibility, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS. Here is my setup:
Issue
21

Feature suggestion: auto-detection of entities via persistence.xml extension

different modules, and frequently evolving/changing. JPA2 persistence.xml does not ... /html/configuration.html Example extension usage in persistence.xml:
Forum
20

a second mapping-file is ignored in persistence.xml by enhancer

Hello Support-Team, we have a problem with the enhancer. In the persistence.xml are two mapping-files: META-INF/orm.xml META-INF/ormreq.xml We start the enhancer and the entities of orm.xml will be enhanced by following output: enhancer