|
|
Choosing A Webhost: |
RE: Issue with jdbc resultset ....: msg#00188db.maxdb
Hello Josu, apparantly something unexpected goes on here ... could you please check and tell us: - The version of the JDBC driver. (java -jar sapdbc.jar -V) - Whether you are using explicitely named result sets (either by 'setCursorName', or by 'DECLARE CURSOR' commands, or procedures with result sets. If you use such a named result set, take care that there are no two statements in the same session using the same result set name, as otherwise it can get confused. You might want also create a vtrace of the problem, if it is reproducible (see http://sapdb.2scale.net/moin.cgi/VTrace), use the stop on error option with error -4000, and send it to me. Regards Alexander Schröder SAP DB, SAP Labs Berlin > -----Original Message----- > From: Josu [mailto:gollumsss@xxxxxxxxx] > Sent: Wednesday, December 22, 2004 10:57 AM > To: maxdb@xxxxxxxxxxxxxxx > Subject: Issue with jdbc resultset .... > > When i keep refreshing a resultset to get it in sync with changes in > other screens by the users i ocasionally get: > > Or this error: > com.sap.dbtech.jdbc.exceptions.NotSupportedException: SAP DBTech JDBC: > Method first() of MemoryResultSet is not supported. > > Or an error figuring the number of columns in the resulting resultset > (it returns 0 when if previous and next calls it returns correct > values, the 0 is occasional) > > Anybody knows why does this happen? Is there any connection or > preparedstatement parameter that i miss? > > My prepared statement: > getConexion().prepareCall(fn,ResultSet.TYPE_SCROLL_INSENSITIVE > ,ResultSet.CONCUR_READ_ONLY); > > My connection string: > jdbc:sapdb://10.1.1.4/SGA > > Thanks in advance, > Josu. > -- > "No es lo mismo ensamblar las piezas de un puzzle a fin de > formar un cuadro, > que coger un cuadro y hacerlo añicos, al objeto de crear un puzzle" > Julio Camba, Artículos sobre la II República > > -- > MaxDB Discussion Mailing List > For list archives: http://lists.mysql.com/maxdb > To unsubscribe: > http://lists.mysql.com/maxdb?unsub=alexander.schroeder@xxxxxxx > > > -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Issue with jdbc resultset ...., Josu |
|---|---|
| Next by Date: | Re: LongReadLen error in PHP, Fritz |
| Previous by Thread: | Issue with jdbc resultset ...., Josu |
| Next by Thread: | MaxDB problems working in ORACLE mode with embedded SQL in C/C++ programs, Elbertus Lochtenberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |