Top "Sqlexception" questions

An exception that is thrown when the database driver encounters an error.

java.sql.sqlRecoverableException: Closed statement: next

My code throws java.sql.sqlRecoverableException: Sentencia cerrada: next which, in English, I guess it would be: java.sql.sqlRecoverableException: …

java jdbc sqlexception
Spring JDBCTemplate gives InvalidResultSetAccessException Invalid column index

I use Spring's SimpleJDBCTemplate to access Oracle DB. Here is my code. String sql = "SELECT from_bin_code FROM hbin_…

java spring sqlexception jdbctemplate
How to create a scrollable ResultSet?

I got this simple code to retrieve a recordset from a MSSQL Server 2008 which has to be scrollable due to …

java sql jdbc sqlexception scrollable
Java: Missing Database error

I am getting the following error: java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such table: apartments) …

java database sqlite sqlexception
Issue in connecting Java thin driver in oracle 11G r2

public static Connection getConnection()throws SQLException,ClassNotFoundException { String username="scott"; String password="tiger"; String url="jdbc:oracle:thin:@localhost:1521"; Connection …

java oracle11g thin sqlexception
Receiving SQLException "Login failed for user" connecting to SQL Server 2008

I am trying to connect to SQL Server 2008 via Java. I've added sqljdbc4.jar to my project's library. No username …

java sql-server-2008-r2 connection-string sqlexception
how do I fix SqlException Time-out occurred while waiting for buffer latch type 2 for page (1:37660679), database ID 10

I was running an application for a few hours and then suddenly: SqlException was unhandled by user code: Time-out occurred …

c# asp.net sql-server-2012 sqlexception
C# try catch confusion

I'm very new to C#. When I try catch something like this: try { connection.Open(); command.ExecuteNonQuery(); } catch(SqlException ex) { …

c# sqlexception
How to catch SQLException of Data ? (eg. Data not exist)

Searching Solution for this question for long period but still unmanaged to get a answer for this, I'm trying to …

java exception-handling sqlexception
SQLException - Transaction BEGIN / COMMIT mismatch

Have you encountered this exception for a stored procedure which does indeed have a balanced transaction block? I double-checked the …

sql sql-server-2008 transactions sqlexception