此内容没有您所选择的语言版本。
Chapter 6. Enriching Output Data
6.1. Out-of-the-Box Enrichment Methods
Three methods for enriching your output data are included with the product:
- JDBC Datasources
- Use a JDBC Datasource to access a database and use SQL statements to read from and write to the Database. This capability is provided through the Smooks Routing Cartridge. See the section on routing to a database using SQL.
- Entity persistence
- Use an entity persistence framework (like Ibatis, Hibernate or any JPA compatible framework) to access a database and use its query language or CRUD methods to read from it or write to it.
- DAOs
- Use custom Data Access Objects (DAOs) to access a database and use its CRUD methods to read from it or write to it.