|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.j2ee.dao.errors.AbstractErrorMapper | +--org.j2ee.dao.errors.HSQLErrorMapper
This is concrete implementation for the class AbstractErrorMapper for HSQL database provide the transalation method betwen HSQL error codes to the DAOErrorHandler error code list
AbstractErrorMapper
,
DAOErrorHandler
Constructor Summary | |
---|---|
HSQLErrorMapper()
|
Method Summary | |
---|---|
int |
DBErrorConvert(int error)
It will resolve problem of incompatibility of the error coded returned by different Database vendors. |
Methods inherited from class org.j2ee.dao.errors.AbstractErrorMapper |
---|
DBErrorMapper |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HSQLErrorMapper()
Method Detail |
public int DBErrorConvert(int error)
DBErrorConvert
in class AbstractErrorMapper
error
- value returned by getErrorCode method of SQLException
for a complete list of error code to return
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |