List of usage examples for org.apache.ibatis.mapping Environment getId
public String getId()
From source file:das.orm.ORMFacade.java
License:Apache License
public String getEnvironmentId() throws IOException { log.trace(">>> getEnvironmentId"); Configuration conf = getConfiguration(); Environment env = conf.getEnvironment(); return env.getId(); }
From source file:org.mybatis.guice.environment.EnvironmentProviderTest.java
License:Apache License
@Test public void get() { Environment environment = environmentProvider.get(); assertEquals(id, environment.getId()); assertEquals(dataSource, environment.getDataSource()); assertEquals(transactionFactory, environment.getTransactionFactory()); }