Uploaded image for project: 'S2Dao'
  1. S2Dao
  2. DAO-46

テーブル名を修正して@Bean(table="ほげほげ")の部分を書き換えてもfrom句が書き換わらない

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.39
    • 1.0.40
    • s2dao
    • None
    • 環境:click1.0+Seasar 2.4.4+S2Dao 1.0.39+S2Dao Tiger 1.0.35
      DB:SQL Server 2005

    Description

      http://d.hatena.ne.jp/arn/20061119


      [状況]
      環境:click1.0+Seasar 2.4.4+S2Dao 1.0.39+S2Dao Tiger 1.0.35
      DB:SQL Server 2005

      SQLServer側でsc_employeeをsc_employeesに変更後、eclipse上でBeanの@Beanを修正。s2servletでhotdeployモードになっていることを確認済み。

      [例外]

      [ESSR0072] SQLで例外(SQL=[SELECT sc_employees.name, sc_employees.id, sc_employees.timestamp FROM sc_employee], ErrorCode=208, SQLState=S0002)が発生しました
      at org.seasar.framework.util.PreparedStatementUtil.executeQuery(PreparedStatementUtil.java:37)
      at org.seasar.extension.jdbc.impl.BasicResultSetFactory.createResultSet(BasicResultSetFactory.java:36)
      at org.seasar.extension.jdbc.impl.BasicSelectHandler.createResultSet(BasicSelectHandler.java:173)
      at org.seasar.extension.jdbc.impl.BasicSelectHandler.execute(BasicSelectHandler.java:162)
      at org.seasar.extension.jdbc.impl.BasicSelectHandler.execute(BasicSelectHandler.java:133)
      at org.seasar.extension.jdbc.impl.BasicSelectHandler.execute(BasicSelectHandler.java:120)
      at org.seasar.dao.impl.SelectDynamicCommand.execute(SelectDynamicCommand.java:55)』
      

      ソースを追った限りだと、org.seasar.dao.dbms.StandardのautoSelectFromClauseCacheが悪さをしているみたいですが......

      Attachments

        Activity

          People

            manhole manhole
            manhole manhole
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: