Top "Sqlexception" questions

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

How to get parameters from PreparedStatement?

I'm writing generic logger for SQLException and I'd like to get parameters that were passed into PreparedStatement, how to do …

java sql jdbc parameters sqlexception
Get the SQLException java.sql.SQLException: ResultSet.next was not called

I'm developing a Webservice at the moment. I thought I was ready to release my first productive version but I …

java oracle soap sqlexception
Where can I find the list of SQLException error codes for MySQL?

java.sql.SQLException offers an int getErrorCode() function so the program can know what in particular has happened to cause …

mysql jdbc sqlexception
Intermittent SQLException: OALL8 is in an inconsistent state

Am getting the below error intermittently. ERROR Exception occured while fetching the available subscriptions from the database - Could not …

java oracle hibernate spring sqlexception
How to store byte from Java into a bytea in PostgreSQL?

I am getting a problem when I try to insert a variable of type "byte" in Java into a variable …

java postgresql byte sqlexception bytea
Can't connect to SQL Server database: Login failed for user 'sa''

I can't simply connect to my database because of this error Login failed for user 'sa' Consider these lines of …

c# sql-server sql-server-2008 sqlexception
How to set the timezone region for JDBC Connection and avoid the SqlException timezone region not found?

I have the following problem trying to create a Connection object to handle the connection from a command line Java …

java oracle jdbc connection sqlexception
java.sql.SQLException: No value specified for parameter 2

I have here my code for login and I am encountering this error, "java.sql.SQLException: No value specified for …

java sql sqlexception
Getting SQL Exception while using prepared statement for select query

StringBuilder sqlQry = new StringBuilder(); sqlQry.append("SELECT LIB, PATH") .append(" FROM OBJ") .append(" INNER JOIN SRC ON SRC.MBR = OBJ.…

java db2 sqlexception
How can I prevent this exception? java.sql.SQLException: Fail to convert to internal representation:

My code is throwing the above exception on the following line (line 2 of this) : final ArrayDescriptor tParamArrayDescriptor = ArrayDescriptor.createDescriptor("MY_…

java oracle sqlexception