Re: setReadOnly(true) with SQL Server 2005 JDBC Driver v1.0 released
- From: "Angel Saenz-Badillos[MS]" <angelsa@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 28 Aug 2006 13:15:42 -0700
Rolle,
What exactly are you expecting setReadOnly to do for you when running
against Sql Server? As far as I am aware this method was placed in the JDBC
API to provide the option for a performance optimized mode for the driver,
this may be useful for other RDBMS but for Sql Server we just did not see a
need. No read-only mode optimizations are currently planned, I would be
interested to know more about your scenario.
--
Angel Saenz-Badillos [MS] Data Programmability
This posting is provided "AS IS", with no warranties, and confers no
rights.Please do not send email directly to this alias.
This alias is for newsgroup purposes only.
I am now blogging: http://blogs.msdn.com/angelsb/
"rolle" <rolle@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4B9A431C-0F14-49E4-9FB9-4DDFA14936BC@xxxxxxxxxxxxxxxx
Hello,
I try to set the readOnly-Flag of a connection by calling the method
connection.setReadOnly(true);
This doesn´t seem to work because the method connection.isReadOnly() then
always returns false. (Also read in the docs that these methods are not
"currently" supported - whatever this means...?!)
Is there a way to set (and get) the readOnly-Flag in an other way?
Cheers,
rolle
.
- Prev by Date: Re: XA and 2000 backwards compatibility
- Next by Date: RE: HA Cluster & XA Transactions
- Previous by thread: SQL Server 200 JDBC Driver Connection too slow when using IP address
- Next by thread: RE: setReadOnly(true) with SQL Server 2005 JDBC Driver v1.0 released
- Index(es):
Relevant Pages
|
Loading