From 737fa1def4328d71bada601a2f0f4b2017c1eee0 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 16 Oct 2009 21:29:30 +0000 Subject: [PATCH] Corrected minor errors regarding JDO, grammar, etc. git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2137 50f2f4bb-b051-0410-bef5-90022cba6387 --- spring-framework-reference/src/orm.xml | 28 ++++++++++++-------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/spring-framework-reference/src/orm.xml b/spring-framework-reference/src/orm.xml index ace62bbf637..a83ada75fb8 100644 --- a/spring-framework-reference/src/orm.xml +++ b/spring-framework-reference/src/orm.xml @@ -7,16 +7,14 @@
Introduction to ORM with Spring - The Spring Framework supports integration + The Spring Framework supports integration with Hibernate, Java Persistence API (JPA), Java Data Objects (JDO) and iBATIS SQL Maps for resource management, data access object (DAO) - implementation, and transaction strategies. For example for Hibernate, - there is first-class support with lots of IoC convenience features, - addressing many typical Hibernate integration issues. You can configure - all of these supported features for O/R (object relational) mappers through - Dependency Injection. They can participate in Spring's resource + implementations, and transaction strategies. For example, for Hibernate + there is first-class support with several convenient IoC features that + address many typical Hibernate integration issues. You can configure + all of the supported features for O/R (object relational) mapping tools through + Dependency Injection. They can participate in Spring's resource and transaction management, and they comply with Spring's generic transaction and DAO exception hierarchies. The recommended integration style is to code DAOs against plain Hibernate, JPA, and JDO APIs. The @@ -26,12 +24,12 @@ IoC itself providing the support.-->They can participate in Spring's resource Spring adds significant enhancements to the ORM layer of your choice when you create data access applications. You can leverage as much of the - integration support as you wish and you should compare this integration + integration support as you wish, and you should compare this integration effort with the cost and risk of building a similar infrastructure in-house. You can use much of the ORM support as you would a library, regardless of technology, because everything is designed as a set of - reusable JavaBeans. ORM in a Spring IoC container does facilitate - configuration and deployment; thus most examples in this section show + reusable JavaBeans. ORM in a Spring IoC container facilitates + configuration and deployment. Thus most examples in this section show configuration inside a Spring container. Benefits of using the Spring Framework to create your ORM DAOs @@ -1200,13 +1198,13 @@ TR: OK AS IS. Two different callback methhods - one is Spring's (*afterCompletio <interfacename>JdoDialect</interfacename> As an advanced feature, both JdoTemplate - and interfacename support a custom - JdoDialect, to be passed into the + and JdoTransactionManager support a custom + JdoDialect that can be passed into the jdoDialect bean property. In this scenario, the DAOs will not receive a PersistenceManagerFactory reference but rather a full JdoTemplate instance - (for example, passed into the jdoTemplate - property of JdoDaoSupport. Using a + (for example, passed into the jdoTemplate + property of JdoDaoSupport). Using a JdoDialect implementation, you can enable advanced features supported by Spring, usually in a vendor-specific manner: