Package hu.sztaki.ilab.longneck.util.database

Examples of hu.sztaki.ilab.longneck.util.database.JdbcConfiguration


    public void setConnectionName(String connectionName) {
        this.connectionName = connectionName;
    }
   
    public void afterPropertiesSet() {
        JdbcConfiguration conf =
                (JdbcConfiguration) databaseConnectionManager.getConfiguration(connectionName);
        /** Query datasource from configuration object. */
        dataSource = conf.getDataSource();       
       
        txManager = new DataSourceTransactionManager(dataSource);
        jdbcTemplate = new JdbcTemplate(dataSource);
    }
View Full Code Here

TOP

Related Classes of hu.sztaki.ilab.longneck.util.database.JdbcConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.