当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
SQLExceptionProcessorMBean (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.cmp.jdbc
Interface SQLExceptionProcessorMBean
- All Known Implementing Classes:
- SQLExceptionProcessor
- public interface SQLExceptionProcessorMBean
MBean interface.
Method Summary |
boolean |
isDuplicateKey(SQLException e)
Return true if the exception indicates that an operation failed due to a unique constraint violation. |
isDuplicateKey
public boolean isDuplicateKey(SQLException e)
- Return true if the exception indicates that an operation failed due to a unique constraint violation. This could be from any unique constraint not just the primary key.
- Parameters:
e
- the SQLException to process
- Returns:
- true if it was caused by a unique constraint violation
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.