Wrox Programmer Forums
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 1st, 2005, 11:43 AM
Registered User
 
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Oracle9i and ADO error??

My project team and are in the midst of converting our current Oracle 8i database (8.1.7.3) to 9i (9.2.0.5.0) and have come across an issue when trying to retieve data from the database using stored procedures. Using ADO we attempt to retieve a result set with the lock type set to adLockBatchOptimistic and are recieving a catastropic error. We have tested creating dynamic sql statements and retrieve result sets that way, and there is no problem. The issue seems to be when we set the ado recordset locktype to adlockbatchoptimistic. We have changed the locktype to adLockOptimistic and have been successful. This is not a acceptable solution though as we have many components which use the adLockBatchOptimistic locktype. Our data provider is the Oracle ODBC driver. Anybody know of any issues with this driver and adlockbatchoptimistic? Anybody have any ideas? Thanks in advance

Phil

 
Old March 1st, 2005, 11:54 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

You might want to try a different technology (OLE DB, etc.), and see if the problem abates. (This would verify whether the problem lies within the particular wrapper.)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection with Oracle9i Database prasanta.chowdhury ASP.NET 1.0 and 1.1 Basics 2 March 17th, 2007 12:25 PM
Oracle9i Administrator Certified Associate matrial samnachilomo Oracle 0 February 27th, 2007 12:40 AM
install vs.net along with Oracle9i arpd2005 .NET Framework 1.x 1 June 8th, 2006 04:39 AM
Migration from Oracle8i to Oracle9i muthukumar Oracle 0 November 14th, 2005 12:32 AM
Multiple ADO multiple user login Oracle9i jhay0721 Pro VB Databases 1 April 4th, 2005 11:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.