-
Bug
-
Resolution: Obsolete
-
Minor
-
JBossAS-4.0.5.GA
-
None
-
None
-
Windows XP, Oracle 9i
-
Low
-
Workaround Exists
-
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);