ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
125

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
124

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 : <persistence-unit name="OBJECT_DB_LOCAL_PU ... >/META-INF/orm.xml</mapping-file>         <properties>             <property name="javax.persistence
123

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
122

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"/> </java> 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
122

Externalising persistence.xml properties in Glassfish?

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

How to change properties in urls2.xml?

see it exists a file name "urls2.xml". <url> <main>/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" ) <properties
120

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
119

Jboss 6 persistence.xml startup error

, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS. Here is my setup: <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http ... /xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
24

Storing JPA Entity Objects

setting the ObjectDB configuration or in a JPA portable way, by specifying the cascade-persist XML element in the XML mapping file: <entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml
23

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

different modules, and frequently evolving/changing. JPA2 persistence.xml does not seem to have support ... /configuration.html Example extension usage in persistence.xml: <properties> <!-- Scan for annotated classes and Hibernate mapping XML files --> <property name="hibernate.archive

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support