Example usage for org.apache.ibatis.datasource.jndi JndiDataSourceFactory setProperties

List of usage examples for org.apache.ibatis.datasource.jndi JndiDataSourceFactory setProperties

Introduction

In this page you can find the example usage for org.apache.ibatis.datasource.jndi JndiDataSourceFactory setProperties.

Prototype

@Override
    public void setProperties(Properties properties) 

Source Link

Usage

From source file:org.mybatis.guice.datasource.builtin.JndiDataSourceProvider.java

License:Apache License

@Override
public DataSource get() {
    JndiDataSourceFactory factory = new JndiDataSourceFactory();
    factory.setProperties(properties);
    return factory.getDataSource();
}