Java org.springframework.jdbc.core.support JdbcBeanDefinitionReader fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.jdbc.core.support JdbcBeanDefinitionReader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.jdbc.core.support JdbcBeanDefinitionReader.

The text is from its open source code.

Constructor

JdbcBeanDefinitionReader(BeanDefinitionRegistry beanFactory)
Create a new JdbcBeanDefinitionReader for the given bean factory, using a default PropertiesBeanDefinitionReader underneath.
JdbcBeanDefinitionReader(PropertiesBeanDefinitionReader beanDefinitionReader)
Create a new JdbcBeanDefinitionReader that delegates to the given PropertiesBeanDefinitionReader underneath.

Method

voidloadBeanDefinitions(String sql)
Load bean definitions from the database via the given SQL string.
voidsetDataSource(DataSource dataSource)
Set the DataSource to use to obtain database connections.