You are restricted to JDBC-based frameworks such as iBATIS or Spring JDBC (see Resources), or your own home-brewed data-access object (DAO) framework.
仅限于使用基于JDBC的框架,比如ibatis或Spring JDBC(请参见参考资料),或者您自己开发的数据访问对象(DAO)框架。
If you have an operation that contains entirely persistence logic (no business logic), consider moving it into the database as a stored procedure and invoke it via Spring JDBC.
如果你有一个包含完整持久性逻辑(并非业务逻辑)的操作,考虑将它作为存储过程移到数据库中,并通过Spring JDBC来调用。
Spring DAO: the Spring JDBC DAO abstraction layer offers a meaningful exception hierarchy for managing the exception handling and error messages thrown by different database vendors.
SpringDAO:JDBC DAO抽象层提供了有意义的异常层次结构,可用该结构来管理异常处理和不同数据库供应商抛出的错误消息。
Since the majority of these application use Spring JDBC, SpringSource has been able to transparently enable the use of RAC features without requiring developers to make changes in their code.
由于大多数此类应用都使用了Spring JDBC,因而,SpringSource可以透明地启用RAC特性,而开发者也就不需要修改代码就能利用到RAC的这些特性。
Spring provides a mechanism for accessing native connections when various JDBC operations require interacting with the native JDBC resource.
当各种JDBC操作需要与本机JDBC资源交互时,Spring可提供访问本机连接的机制。
Spring applications that want to access resources, such as JDBC data sources, should utilize WebSphere-managed resources. To do this.
需要访问诸如jdbc数据源等资源的Spring应用程序应该利用WebSphere管理的资源。
Just as with accessing JDBC data sources, Spring applications intended to access JMS destinations must ensure they use WebSphere-managed JMS resource providers.
与访问jdbc数据源类似,打算访问jms目的地的Spring应用程序必须确保它们使用了WebSphere管理的JMS资源提供者。
Listing 14 displays instances of new bean definitions in the spring-jdbc-tracing.xml file.
清单14显示了spring -jdbc - tracing . xml文件中的新bean定义的实例。
The new <task:* /> and <jdbc:* /> are both now available and are integrated into STS as the other Spring namespaces with content assist, hyperlinking and validation.
新的命名空间<task:* />与<jdbc:* />已经集成到了STS中,就像Spring的其他命名空间一样,新的命名空间也具备内容辅助、链接和验证特性。
You extend a couple of Spring classes with your JDBC (or other framework like Hibernate), implement your DAO, then make the declaration in the applicationContext.xml file.
使用JDBC(或其他框架,如Hibernate)扩展几个Spring类,实现DAO,然后在applicationContext.xml文件中做出声明。
In the Spring framework, resources such as a JDBC DataSource or a Hibernate SessionFactory can be realized as beans in an application context.
在Spring框架中,像JDBCDataSource或HibernateSessionFactory这样的资源,在应用程序上下文中可以用bean实现。
The new spring configuration file is spring-jdbc-tracing.xml, and the new entry-point class is SpringRunnerJDBC.
新的spring配置文件是spring - jdbc - tracing . xml,新的入口点类是SpringRunnerJDBC。
Listing 14. Excerpts from spring-jdbc-tracing.xml.
清单14. spring - jdbc -tracing . xml片段。
Listing 14. Excerpts from spring-jdbc-tracing.xml.
清单14. spring - jdbc -tracing . xml片段。
应用推荐