- This sample application demonstrates many of the features Spring provides for web application development. -
\ No newline at end of file diff --git a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/layouts/page.jsp b/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/layouts/page.jsp deleted file mode 100644 index b92d0ffa1..000000000 --- a/org.springframework.samples.petclinic/src/main/webapp/WEB-INF/layouts/page.jsp +++ /dev/null @@ -1,43 +0,0 @@ -<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> -<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %> -<%@ page session="false" %> - - -Necessary for PetClinic's default data model, which relies on identity
- * columns: this is uniformly used across all persistence layer implementations
- * (JDBC, Hibernate, and JPA).
- *
- * @author Juergen Hoeller
- * @author James Clark
- * @since 1.2
- */
-public class EssentialsHSQLPlatformWithNativeSequence extends HSQLPlatform {
-
- private static final long serialVersionUID = -55658009691346735L;
-
-
- public EssentialsHSQLPlatformWithNativeSequence() {
- // setUsesNativeSequencing(true);
- }
-
- @Override
- public boolean supportsNativeSequenceNumbers() {
- return true;
- }
-
- @Override
- public boolean shouldNativeSequenceAcquireValueAfterInsert() {
- return true;
- }
-
- @Override
- public ValueReadQuery buildSelectQueryForNativeSequence() {
- return new ValueReadQuery("CALL IDENTITY()");
- }
-
- @Override
- public void printFieldIdentityClause(Writer writer) throws ValidationException {
- try {
- writer.write(" IDENTITY");
- }
- catch (IOException ex) {
- throw ValidationException.fileError(ex);
- }
- }
-
-}
diff --git a/src/main/java/org/springframework/samples/petclinic/toplink/package-info.java b/src/main/java/org/springframework/samples/petclinic/toplink/package-info.java
deleted file mode 100644
index 3bcc9add7..000000000
--- a/src/main/java/org/springframework/samples/petclinic/toplink/package-info.java
+++ /dev/null
@@ -1,10 +0,0 @@
-
-/**
- *
- * The classes in this package provide support for using the TopLink
- * implementation with PetClinic's EntityManagerClinic.
- *
- *
- */
-package org.springframework.samples.petclinic.toplink;
-
diff --git a/src/main/resources/log4j.dtd b/src/main/resources/log4j.dtd
new file mode 100755
index 000000000..d92a6e7bc
--- /dev/null
+++ b/src/main/resources/log4j.dtd
@@ -0,0 +1,166 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/resources/log4j.properties b/src/main/resources/log4j.properties
deleted file mode 100644
index ebee551aa..000000000
--- a/src/main/resources/log4j.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# For JBoss: Avoid to setup Log4J outside $JBOSS_HOME/server/default/deploy/log4j.xml!
-# For all other servers: Comment out the Log4J listener in web.xml to activate Log4J.
-log4j.rootLogger=INFO, stdout, logfile
-
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n
-
-log4j.appender.logfile=org.apache.log4j.RollingFileAppender
-log4j.appender.logfile.File=${petclinic.root}/WEB-INF/petclinic.log
-log4j.appender.logfile.MaxFileSize=512KB
-# Keep three backup files.
-log4j.appender.logfile.MaxBackupIndex=3
-# Pattern to output: date priority [category] - message
-log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
-log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n
-
-log4j.logger.org.springframework.samples.petclinic.aspects=DEBUG
diff --git a/src/main/resources/log4j.xml b/src/main/resources/log4j.xml
new file mode 100755
index 000000000..13330e6ff
--- /dev/null
+++ b/src/main/resources/log4j.xml
@@ -0,0 +1,27 @@
+
+
+
+
">Home | -