Subject | DataSource with pooling - cannot set ENCODING |
---|---|
Author | Nikolay Ivanchev |
Post date | 2003-11-14T13:33:04Z |
In the following example:
dataSource = new
org.firebirdsql.pool.FBWrappingDataSource();
dataSource.setDatabase
(DBNAME);
dataSource.setMinSize(5);
dataSource.setMaxSize(30);
dataSource.setPooling(true);
dataSource.setDescription ("Info catalog");
dataSource.setType("embedded");
dataSource.setSqlRole("USER");
dataSource.setEncoding("NONE");
dataSource.setNonStandardProperty("isc_dpb_sweep", null);
dataSource.setNonStandardProperty("isc_dpb_num_buffers", "75");
dataSource.setMinSize(5);
dataSource.setMaxSize(30);
dataSource.setPooling(true);
dataSource.setDescription ("Info catalog");
dataSource.setType("embedded");
dataSource.setSqlRole("USER");
dataSource.setEncoding("NONE");
dataSource.setNonStandardProperty("isc_dpb_sweep", null);
dataSource.setNonStandardProperty("isc_dpb_num_buffers", "75");
The only value that dataSource understands is
"NONE"?
How can I specify windows-1251 and UTF8 encodings?
This is a quite nasty problem to me
Regards
Niki