Page tree
Skip to end of metadata
Go to start of metadata




Spring Konfiguration

For test purpose maybe you want to test without tomcat. For this you’ve to configure an own application context definition and persistence.xml only for tests. It is good practice to provide a separate schema for testing.

File: META-INF/applicationcontext.xml

And of course you need another persistence definition.

File: META-INF/persistence.xml


  • No labels