Re: [JBoss-user] ResultSet.TYPE_SCROLL_INSENSITIVE

2001-05-14 Thread MailingLists

Oscar -

I too noticed this problem, and it appears to me to be a Minerva problem
rather than oracle specific (if you followed the jboss documentation). If it
was a huge issue for me i probably would look into using a different
connection pool -- poolman comes to mind -- to replace it or modify the
source...

if you solve this problem i would be interested to hear how.


- Original Message -
From: Oscar Radio [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 11, 2001 1:17 AM
Subject: [JBoss-user] ResultSet.TYPE_SCROLL_INSENSITIVE


 Hi all,

 I am trying to pass to jboss2.2.1 from jboss2.0, all is working fine
 except that now the resulsets cant be TYPE_SCROLL_INSENSITIVE. The
following
 code works fine in jboss2.0, but with jboss2.2.1 it doesn't


 prepareStatement = con.prepareStatement(this.cadenaSQL,
 ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);

 if (prepareStatement.getResultSetType() ==
 java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE)
 {
 System.out.println(TYPE_SCROLL_INSENSITIVE);
 }
 else
 {
 System.out.println(not TYPE_SCROLL_INSENSITIVE);
 }


 Output results:

 jboss2.0: TYPE_SCROLL_INSENSITIVE

 jboss2.2.1: not TYPE_SCROLL_INSENSITIVE


 Is there anything I have to put in the conf files to work. I am
 using an Oracle 8.1.6, can be this the error, if I upgrade to 8.1.7 should
 it work?

 Thanks, Oscar

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] ResultSet.TYPE_SCROLL_INSENSITIVE

2001-05-11 Thread Oscar Radio

Hi all,

I am trying to pass to jboss2.2.1 from jboss2.0, all is working fine
except that now the resulsets cant be TYPE_SCROLL_INSENSITIVE. The following
code works fine in jboss2.0, but with jboss2.2.1 it doesn't


prepareStatement = con.prepareStatement(this.cadenaSQL,
ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);

if (prepareStatement.getResultSetType() ==
java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE)
{
System.out.println(TYPE_SCROLL_INSENSITIVE);
}  
else
{
System.out.println(not TYPE_SCROLL_INSENSITIVE);
}


Output results:

jboss2.0: TYPE_SCROLL_INSENSITIVE

jboss2.2.1: not TYPE_SCROLL_INSENSITIVE


Is there anything I have to put in the conf files to work. I am
using an Oracle 8.1.6, can be this the error, if I upgrade to 8.1.7 should
it work?

Thanks, Oscar

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user