So, I created a connection with weblogic data source and tried to execute a query and got the following error:
ORA-03115: unsupported network datatype or representation[[
java.sql.SQLException: ORA-03115: unsupported network datatype or representation
The solution is simple,
Instead of
resultSet = preparedStatement.executeQuery(myQuery);
use
resultSet = preparedStatement.executeQuery();
ORA-03115: unsupported network datatype or representation[[
java.sql.SQLException: ORA-03115: unsupported network datatype or representation
The solution is simple,
Instead of
resultSet = preparedStatement.executeQuery(myQuery);
use
resultSet = preparedStatement.executeQuery();
No comments:
Post a Comment