List of usage examples for org.apache.ibatis.datasource.jndi JndiDataSourceFactory setProperties
@Override
public void setProperties(Properties properties)
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(); }