[jboss-jira] [JBoss JIRA] Created: (JBAS-4250) Bug In remote jdbc adapter

Fr?d?ric Blaser (JIRA) jira-events at lists.jboss.org
Mon Mar 26 10:06:57 EDT 2007


Bug In remote jdbc adapter
--------------------------

                 Key: JBAS-4250
                 URL: http://jira.jboss.com/jira/browse/JBAS-4250
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: JBossAS-4.0.5.GA
         Environment: Windows XP, Oracle 9i
            Reporter: Fr?d?ric Blaser
            Priority: Minor


I have found some bugs inside jboss when I access datasource remotly. 

1. The code bellow throws NullPointerException when the blob field is empty. failed on org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService:553 
Code: 

      Blob blob = resultSet.getBlob(column.name());
      bytes = blob.getBytes(1, (int)blob.length());
	 

2. The same code above does not return the contents of the blob when the blob is filled. 

3. There is a failue on org.jboss.resource.adapter.jdbc.remote.SerializableInputStream:266 
Correction should be Code: 

      return read(b, 0, b.length);
	 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list