Skip to content

Commit d255454

Browse files
committed
We should convert the Reporter-ID correctly I guess...
1 parent 0183367 commit d255454

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/org/utplsql/api/reporter/Reporter.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
import org.utplsql.api.compatibility.CompatibilityProxy;
1111
import org.utplsql.api.outputBuffer.OutputBuffer;
1212

13-
import java.sql.*;
13+
import javax.xml.bind.DatatypeConverter;
14+
import java.sql.Connection;
15+
import java.sql.SQLException;
1416

1517
/** This is a basic Reporter implementation, using ORAData interface
1618
*
@@ -77,7 +79,7 @@ private void initDbReporter( OracleConnection oraConn, ReporterFactory reporterF
7779

7880
protected void setAttributes(Object[] attributes ) {
7981
if (attributes != null) {
80-
this.id = String.valueOf(attributes[1]);
82+
this.id = DatatypeConverter.printHexBinary((byte[])attributes[1]);
8183
}
8284
this.attributes = attributes;
8385
}

0 commit comments

Comments
 (0)