Package org.apache.ibatis.mapping
Interface DatabaseIdProvider
-
- All Known Implementing Classes:
DefaultDatabaseIdProvider
,VendorDatabaseIdProvider
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- Author:
- Eduardo Macarron
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getDatabaseId(DataSource dataSource)
default void
setProperties(Properties p)
-
-
-
Method Detail
-
setProperties
default void setProperties(Properties p)
-
getDatabaseId
String getDatabaseId(DataSource dataSource) throws SQLException
- Throws:
SQLException
-
-