Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try (Connection connection = DriverManager.getConnection(
- "jdbc:oracle:thin:@" + server + ":" + port, username, password);
- Statement statement = connection.createStatement();
- ResultSet resultSet = statement.executeQuery(sqlQuery)) {
- try {
- while (resultSet.next()) {
- }
- } catch (final SQLException e) {
- LOGGER.error("Exception while processing resultSet ", e);
- }
- }
- Exception while creating/releasing Connection or Statement or ResultSet
- java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
- ORA-27102: out of memory
- Linux-x86_64 Error: 12: Cannot allocate memory
- Additional information: 1
- Additional information: 32768
- Additional information: 8
Add Comment
Please, Sign In to add comment