Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: Issue with jdbc resultset ....: msg#00188

db.maxdb

Subject: RE: Issue with jdbc resultset ....

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>
Google Custom Search

Recently Viewed:
version-control...    qnx.openqnx.dev...    redhat.rhn.user...    ietf.openpgp/20...    mail.mutt.user/...    web.microformat...    java.sync4j.use...    education.ezpro...    user-groups.blu...    solaris.manager...    org.fitug.debat...    technology.erps...    politics.activi...    linux.redhat.fe...    bug-tracking.ma...    xfce.user/2004-...    hams/2004-11/ms...    kde.users.pim/2...    culture.cooking...    freebsd.devel.x...    gnu.m4.adhoc/20...    ngpt.user/2002-...    apple.fink.deve...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation