use of org.firebirdsql.ds.FBConnectionPoolDataSource in project siesta by cadenzauk.
the class FirebirdConfig method dataSource.
@Bean
public DataSource dataSource() throws SQLException {
FBConnectionPoolDataSource pool = new FBConnectionPoolDataSource();
pool.setServerName("localhost");
pool.setUser("SIESTA");
pool.setPassword("siesta");
pool.setDatabaseName("siesta");
pool.setCharSet("utf-8");
return new PooledDataSource(pool);
}
Aggregations