11/10/2012 1:45:06 AM
into audit-rework
|
11/9/2012 11:06:06 PM
into audit-rework
|
|
|
11/10/2012 1:44:42 AM
Pierre-Alexandre Meyer <pierre@ning.com>
|
11/9/2012 10:47:24 PM
into audit-rework
|
11/9/2012 7:11:26 PM
into audit-rework
|
|
|
11/9/2012 10:46:21 PM
<pierre@ning.com>
|
11/9/2012 6:44:48 PM
a context.
Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
|
11/9/2012 6:04:16 PM
will now print the SQL query (if available), for example:
33445 [main] WARN com.ning.billing.util.entity.dao.EntitySqlDaoWrapperInvocationHandler - Error during transaction for sql entity interface com.ning.billing.account.dao.AccountSqlDao and method test [SQL State: 42000, Vendor Error Code: 1064]
select t.record_id
, t.id
,
, t.account_record_id
, t.tenant_record_id
from accounts t
where t.tenant_record_id = ?
limit 1
;
The vendor message is still available when the exception is re-thrown:
java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' t.account_record_id
, t.tenant_record_id
from accounts t
where t.tenant_record_' at line 5
Signed-off-by: Pierre-Alexandre Meyer <pierre@ning.com>
|