pheromix
pheromix

Reputation: 19347

What is the java type equivalent for the oracle datatype raw?

In my oracle database table there is a column of datatype raw. Now in my spring bean class I want to map this table. So what java datatype is the equivalent of the oracle raw datatype ?

Upvotes: 0

Views: 2350

Answers (1)

Arnaud
Arnaud

Reputation: 17534

From the following link, it should be mapped to java.sql.Types.BINARY or java.sql.Types.VARBINARY for the JDBC type, and byte[] for the Java type :

Oracle Datatype Mappings

Upvotes: 5

Related Questions