Error List

Posts Tagged ‘mysql’

AmbiguousTableNameException

Applies to:
DBUnit

Description:
This error occurs when no schema is specified and that DbUnit detect that it is getting columns information from multiple tables having the same name and located in different schemas

Cause:
a. No schema is specified.
B. Your database contains two tables whose names only differ by case, e.g. “userlist” and “UserList”. DBUnit handles table names case-insensitively and gets confused. This can happen on database systems that are case-sensitive for identifiers, e.g. MySQL and (possibly) Microsoft SQL Server.

JAVA-DBUnit , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

NoSuchColumnException

Applies to:
DBUnit, MySQL

Description:
Occurs when using DBUnit

Cause:
This exception can occur especially with MySQL RDBMS if you forget to set the special MySqlMetadataHandler on the DatabaseConfig.

JAVA-DBUnit , , , , , , , , , , , , , , , , , , , ,

MySQL throws an exception: Cannot disable AUTO_COMMIT

Applies to:
Hibernate

Description:
Occurs while using Hibernate with MySQL

Cause:
Problem is in MySQL driver.

JAVA-Hibernate , , , ,

NoClassDefFoundError: org/aspectj/lang/Signature

Applies to:
NA

Description:
Occurs while connecting to a database using JDBC.

Cause:
This issue relates to some confusion on the MySQL site between the normal MySQL driver and a special debugging/tracing mode driver. This error indicates that you are attempting to use the tracing driver instead of the normal driver.

JAVA-JDBC , , , , , , , , ,

Too many tables. MySQL can only use 31 tables in a join.

Hibernate doesn't work with MySQL

Applies to:
Hibernate, MySQL Server 4.1.12, Mandriva Linux 2006

Description:
Occurs while using Hibernate with MySQL

Cause:
The MySQL Server 4.1.12 RPM delivered with Mandriva Linux 2006 breaks prepared statements.

JAVA-Hibernate , , ,

Error: 1197 - SQLSTATE: HY000 ER_TRANS_CACHE_FULL

Error: 2003 - CR_CONN_HOST_ERROR

Description:
Message: Can’t connect to MySQL server on ‘%s’ %d

MySql-Client , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Error: 1112 - SQLSTATE: 42000 ER_UNSUPPORTED_EXTENSION

Error: 1201 - SQLSTATE: HY000 ER_MASTER_INFO

Description:
Message: Could not initialize master info structure; more error messages can be found in the MySQL error log

MySql-Server , , , , ,