From 94d6fa8cb1283ae650872bd6f7c8b6defc002c9b Mon Sep 17 00:00:00 2001 From: Thomas Risberg Date: Fri, 15 May 2009 21:52:23 +0000 Subject: [PATCH] removed TopLink coverage --- spring-framework-reference/src/orm.xml | 403 ++----------------------- 1 file changed, 27 insertions(+), 376 deletions(-) diff --git a/spring-framework-reference/src/orm.xml b/spring-framework-reference/src/orm.xml index 2822344c12c..b74d75aa30d 100644 --- a/spring-framework-reference/src/orm.xml +++ b/spring-framework-reference/src/orm.xml @@ -9,15 +9,15 @@ Introduction The Spring Framework provides integration with Hibernate, - JDO, Oracle TopLink, iBATIS SQL Maps and - JPA: in terms of resource management, DAO - implementation support, and transaction strategies. For example for - Hibernate, there is first-class support with lots of IoC convenience - features, addressing many typical Hibernate integration issues. All of + JDO, iBATIS SQL Maps and JPA: in terms + of resource management, DAO implementation support, and + transaction strategies. For example for Hibernate, there is + first-class support with lots of IoC convenience features, + addressing many typical Hibernate integration issues. All of these support packages for O/R (Object Relational) mappers comply with Spring's generic transaction and DAO exception hierarchies. There are usually two integration styles: either using Spring's DAO 'templates' or - coding DAOs against plain Hibernate/JDO/TopLink/etc APIs. In both cases, + coding DAOs against plain Hibernate/JDO/JPA/etc APIs. In both cases, DAOs can be configured through Dependency Injection and participate in Spring's resource and transaction management. @@ -102,8 +102,8 @@ The PetClinic sample in the Spring distribution offers alternative DAO implementations and application context configurations for JDBC, - Hibernate, Oracle TopLink, and JPA. PetClinic can therefore serve as - working sample app that illustrates the use of Hibernate, TopLink and JPA + Hibernate, and JPA. PetClinic can therefore serve as + working sample app that illustrates the use of Hibernate and JPA in a Spring web application. It also leverages declarative transaction demarcation with different transaction strategies. @@ -602,9 +602,12 @@ xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd - http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd - http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"> + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans-2.5.xsd + http://www.springframework.org/schema/tx + http://www.springframework.org/schema/tx/spring-tx-2.5.xsd + http://www.springframework.org/schema/aop + http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"> <!-- SessionFactory, DataSource, etc. omitted --> @@ -1248,9 +1251,12 @@ xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd - http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd - http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"> + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans-2.5.xsd + http://www.springframework.org/schema/tx + http://www.springframework.org/schema/tx/spring-tx-2.5.xsd + http://www.springframework.org/schema/aop + http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"> <bean id="myTxManager" class="org.springframework.orm.jdo.JdoTransactionManager"> <property name="persistenceManagerFactory" ref="myPmf"/> @@ -1343,364 +1349,6 @@ - -
iBATIS SQL Maps @@ -2244,7 +1892,7 @@ other. - If TopLink is being used a JPA provider under Tomcat, please + If TopLink Essentials is being used a JPA provider under Tomcat, please place the toplink-essentials jar under $CATALINA_HOME/shared/lib folder instead of your war. @@ -2644,9 +2292,12 @@ public class ProductDaoImpl implements ProductDao { xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd - http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd - http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"> + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans-2.5.xsd + http://www.springframework.org/schema/tx + http://www.springframework.org/schema/tx/spring-tx-2.5.xsd + http://www.springframework.org/schema/aop + http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"> <bean id="myTxManager" class="org.springframework.orm.jpa.JpaTransactionManager"> <property name="entityManagerFactory" ref="myEmf"/>