Results 1 to 2 of 2

Thread: Updation issue in oracle

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    1

    Default 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

  2. #2
    Join Date
    May 2007
    Location
    Saint Petersburg, Russian Federation
    Posts
    1,189

    Default

    How does the question relate to spring aop?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •