-
Nov 22nd, 2009, 02:23 AM
#1
Updation issue in oracle
Code :
String sql = "INSERT INTO reg VALUES (?,?,?,?,?,?)";
Object[]params = {""+user.getRegid(),user.getName(),user.getEmail() ,user.getPass(),user.getMobile(),user.getAddress() };
JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSource);
result = jdbcTemplate.update(sql, params);
Error log :
Jan 22, 2009 1:44:38 PM org.springframework.beans.factory.xml.XmlBeanDefin itionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
Jan 22, 2009 1:44:38 PM org.springframework.beans.factory.support.Abstract BeanFactory getBean
INFO: Creating shared instance of singleton bean 'DB2'
Jan 22, 2009 1:44:38 PM org.springframework.beans.factory.support.Abstract BeanFactory getBean
INFO: Creating shared instance of singleton bean 'HSQL'
Jan 22, 2009 1:44:38 PM org.springframework.beans.factory.support.Abstract BeanFactory getBean
INFO: Creating shared instance of singleton bean 'MS-SQL'
Jan 22, 2009 1:44:38 PM org.springframework.beans.factory.support.Abstract BeanFactory getBean
INFO: Creating shared instance of singleton bean 'MySQL'
Jan 22, 2009 1:44:38 PM org.springframework.beans.factory.support.Abstract BeanFactory getBean
INFO: Creating shared instance of singleton bean 'Oracle'
Jan 22, 2009 1:44:38 PM org.springframework.beans.factory.support.Abstract BeanFactory getBean
INFO: Creating shared instance of singleton bean 'Informix'
Jan 22, 2009 1:44:38 PM org.springframework.beans.factory.support.Abstract BeanFactory getBean
INFO: Creating shared instance of singleton bean 'PostgreSQL'
Jan 22, 2009 1:44:38 PM org.springframework.beans.factory.support.Abstract BeanFactory getBean
INFO: Creating shared instance of singleton bean 'Sybase'
Jan 22, 2009 1:44:38 PM org.springframework.jdbc.support.SQLErrorCodesFact ory <init>
INFO: SQLErrorCodes loaded: [DB2, HSQL, MS-SQL, MySQL, Oracle, Informix, PostgreSQL, Sybase]
Pls help
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules