Top "Sqlexception" questions

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

java.sql.SQLException: Incorrect string value: '\xAC\xED\x00\x05sr...'

I have code looking like that: @Column(name = COLUMN_DESCRIPTION, columnDefinition = "LONGTEXT") private Map<Locale, String> description = new …

java mysql jpa sqlexception
Timeout exception when timeout set to infinite time

In my C# .NET 3.5 application I am using CastleProject ActiveRecord over NHibernate. This is desktop application using MS SQL Server 2008. …

nhibernate timeout castle-activerecord sqlexception command-timeout
RAISERROR―How to distinguish with SqlException?

I have some 3-4 stored procedures ― which I can modify if needed ― that use RAISERROR to inform my application of …

c# wcf sql-server-2005 sqlexception raiserror
What does this BatchUpdateException mean?

I'm getting this BatchUpdateException from a stmt.executeBatch() statement: BatchUpdateException: A resultset was created for update The internet does not …

java exception sqlexception batch-updates
java.sql.SQLSyntaxErrorException: Syntax error: Encountered "(" at line

I'm executing the following: private void createTable() { try { PreparedStatement psCreateTable = con.prepareStatement("CREATE TABLE COMPANIES(" + "name VARCHAR(50), " + "location VARCHAR(50), " + "address …

java sql prepared-statement sqlexception
why SQLException: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index and toString

I have the following program in which the user must give the order code so to get the data of …

sql sql-server user-input sqlexception jdbc-odbc
SQL ERROR: Closed Connection in java

Connection is closing automatically even if i'm not closing in finally block. public String look( long id, String codeName, Connection …

java sql jdbc database-connection sqlexception
java sql exception parameter not set

I am trying to get data from a database in a table with 2 where parameters, When i try to execute …

java jdbc parameters sqlexception ucanaccess
How to catch properly an SqlException: A transport-level error has occurred

I am getting an SqlException in the logs of .NET 3.5 app, I am looking for the corresponding number (value of …

.net sql numbers sqlexception
Strange SQLException: Column not found

I'm getting a weird SQLException on a function I run against a database using JDBC. SQLException: Column 'Message' not found. …

java mysql sqlexception