-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
None
When we add the method hashes, we don't add any for blobs in the org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService.
/**
- Calculate the method hashes
*/
protected void calculateMethodHases() throws Exception
{
Method[] methods = DataSource.class.getMethods();
for(int m = 0; m < methods.length; m ++) { Method method = methods[m]; Long hash = new Long(MarshalledInvocation.calculateHash(method)); marshalledInvocationMapping.put(hash, method); }
// Get the Long to Method mappings
Map m = MarshalledInvocation.methodToHashesMap(Connection.class);
displayHashes(m);
marshalledInvocationMapping.putAll(m);
m = MarshalledInvocation.methodToHashesMap(Statement.class);
displayHashes(m);
marshalledInvocationMapping.putAll(m);
m = MarshalledInvocation.methodToHashesMap(CallableStatement.class);
displayHashes(m);
marshalledInvocationMapping.putAll(m);
m = MarshalledInvocation.methodToHashesMap(PreparedStatement.class);
displayHashes(m);
marshalledInvocationMapping.putAll(m);
m = MarshalledInvocation.methodToHashesMap(ResultSet.class);
displayHashes(m);
marshalledInvocationMapping.putAll(m);
m = MarshalledInvocation.methodToHashesMap(DatabaseMetaData.class);
displayHashes(m);
marshalledInvocationMapping.putAll(m);
}
I'm still currently getting information and will add a test case for this when I'm done.