类 JdbcBeanDefinitionReader


  • public class JdbcBeanDefinitionReader
    extends Object
    Bean definition reader that reads values from a database table, based on a given SQL statement.

    Expects columns for bean name, property name and value as String. Formats for each are identical to the properties format recognized by PropertiesBeanDefinitionReader.

    NOTE: This is mainly intended as an example for a custom JDBC-based bean definition reader. It does not aim to offer comprehensive functionality.

    作者:
    Rod Johnson, Juergen Hoeller
    另请参阅:
    loadBeanDefinitions(java.lang.String), PropertiesBeanDefinitionReader