net.sf.saffron.ext
Interface JdbcSchema

All Superinterfaces:
SaffronSchema

public interface JdbcSchema
extends SaffronSchema

A JdbcSchema is a schema against a JDBC database and for which, therefore, we will need to generate SQL.


Method Summary
 DataSource getDataSource(SaffronConnection connection)
          Returns the JDBC data source contained within a Saffron connection.
 SqlDialect getSqlDialect()
          Returns the SQL dialect spoken by this database.
 
Methods inherited from interface net.sf.saffron.core.SaffronSchema
getTableForMember, getTypeFactory, registerRules
 

Method Detail

getSqlDialect

public SqlDialect getSqlDialect()
Returns the SQL dialect spoken by this database.


getDataSource

public DataSource getDataSource(SaffronConnection connection)
Returns the JDBC data source contained within a Saffron connection.


SourceForge.net_Logo