About XML

1-10 of 200Refresh
Tutorial
309

Step 6: Set the Spring XML

of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using another xml configuration file. Open the web.xml file (under Web Pages > WEB-INF) in a text editor (by right clicking and selecting Edit or by double click and then moving to the XML tab in the editor window
Tutorial
308

Step 6: Set the Spring XML

of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using another xml configuration file. Open the web.xml file (under src/main/webapp/WEB-INF) in a text editor (by ... tab in the editor window). Use copy and paste to replace the default content of the web.xml file
Forum
40

How to define Default Entity Listeners without persistence.xml and orm.xml

I am using JPA programaticaly..ie without xml file, and i would like to define Default Entity ... ); }   Thanks for any help   Defining default listeners is one of the few things that currently require XML ... when my objects are persisted, without using XML, and without defining listeners for each classe. If you use
Manual
40

JPA Persistence Unit

is optional when using ObjectDB, but required by JPA. persistence.xml Persistence units are defined in a persistence.xml file, which has to be located in the META-INF directory in the classpath. One persistence.xml file can include definitions for one or more persistence units. The portable way
Forum
30

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
30

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
30

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
30

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
30

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
29

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" )