Re: Type_forward_only

From: rpcxdr (member46083_at_dbforums.com)
Date: 10/29/03


Date: Tue, 28 Oct 2003 18:38:22 -0500


Because you are now doing random access, you must specify if you want
the data you are viewing to be cached in the JVM or not. If you want it
cached, use

connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.-
CONCUR_UPDATABLE);

If you want to requery the server on each result access, use

connection.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CO-
NCUR_UPDATABLE);

rpc

--
Posted via http://dbforums.com


Relevant Pages

  • Re: 64bit JVM - some help appreciated
    ... that I will specify for the JVM, is there an "optimal" limit above ... If you allocate to much VM then you inhibit GC and you have objects ...
    (comp.lang.java.machine)
  • Re: Multiple JVMs; specifying the runtime lib
    ... > Is it possible to specify the location of the Java runtime lib (i.e., ... By installing I mean running the installer ... I want to manually specify which JVM to use through batch files. ...
    (comp.lang.java.programmer)
  • Re: JNI_CreateJavaVM fails in client jvm, if initial/max heap sizes are specified
    ... > However, if I specify the initial and maximum heap sizes (i.e., -Xms ... > and -Xmx options) while creating JVM (i.e., while calling ...
    (comp.lang.java.programmer)
  • Re: How do timers work?
    ... You specify the time your thread is to sleep, ... I hardly ever need to sleep a thread for any amount of time. ... daemon thread or it will prevent the JVM from exiting). ...
    (comp.lang.java.programmer)
  • nio and default charset
    ... there is a way to specify the default nio charset use by jvm? ... linux, jdk1.4.2, jvm start up with utf-8, i need it to start with ...
    (comp.lang.java.programmer)