|
|
@ -97,10 +97,11 @@ public class SQLErrorCodesFactory { |
|
|
|
* @see #loadResource(String) |
|
|
|
* @see #loadResource(String) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
protected SQLErrorCodesFactory() { |
|
|
|
protected SQLErrorCodesFactory() { |
|
|
|
Map<String, SQLErrorCodes> errorCodes = null; |
|
|
|
Map<String, SQLErrorCodes> errorCodes; |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
DefaultListableBeanFactory lbf = new DefaultListableBeanFactory(); |
|
|
|
DefaultListableBeanFactory lbf = new DefaultListableBeanFactory(); |
|
|
|
|
|
|
|
lbf.setBeanClassLoader(getClass().getClassLoader()); |
|
|
|
XmlBeanDefinitionReader bdr = new XmlBeanDefinitionReader(lbf); |
|
|
|
XmlBeanDefinitionReader bdr = new XmlBeanDefinitionReader(lbf); |
|
|
|
|
|
|
|
|
|
|
|
// Load default SQL error codes.
|
|
|
|
// Load default SQL error codes.
|
|
|
|