com.googlecode.flyway.core.dbsupport
Class DbSupportFactory

java.lang.Object
  extended by com.googlecode.flyway.core.dbsupport.DbSupportFactory

public class DbSupportFactory
extends java.lang.Object

Factory for obtaining the correct DbSupport instance for the current connection.


Method Summary
static DbSupport createDbSupport(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
          Initializes the appropriate DbSupport class for the database product used by the data source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createDbSupport

public static DbSupport createDbSupport(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
Initializes the appropriate DbSupport class for the database product used by the data source.

Parameters:
jdbcTemplate - The Jdbc Template to use to query the database.
Returns:
The appropriate DbSupport class.


Copyright © 2011. All Rights Reserved.