org.apache.ibatis.mapping
Interface DatabaseIdProvider
- All Known Implementing Classes:
- DefaultDatabaseIdProvider
public interface DatabaseIdProvider
Should return an id to identify the type of this database.
That id can be used later on to build different queries for each database type
This mechanism enables supporting multiple vendors or versions
setProperties
void setProperties(Properties p)
getDatabaseId
String getDatabaseId(DataSource dataSource)
Copyright © 2010-2011 MyBatis.org. All Rights Reserved.