public PolyJDBC build ( ) { TransactionManager manager ; if ( dataSource != null ) { manager = new DataSourceTransactionManager ( dataSource ) ; } else { manager = new ExternalTransactionManager ( connectionProvider ) ; } return new DefaultPolyJDBC ( dialect , schemaName , new ColumnTypeMapper ( customMappings ) , manager ) ; }
Return new PolyJDBC instance .