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

DBのカラム名が「org」だと、CannotCompileExceptionが発生する

XMLWordPrintable

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major Major
    • None
    • Affects Version/s: 1.0.42
    • Component/s: s2dao
    • None
    • Environment:

      DBのカラム名が「org」の場合、javassistの例外が発生する。
      seasarというフィールドがないというメッセージが出ている。「org.seasar」?

      ーー以下該当箇所のログーーー
      DEBUG 2007-04-20 15:46:35,296 [http-8080-Processor25] END test.h3.dao.ServerStatusDao#selectById(1) Throwable:org.seasar.framework.exception.CannotCompileRuntimeException: [ESSR0017]例外が発生しました。理由はjavassist.CannotCompileException: [source error] no such field: seasar
      DEBUG 2007-04-20 15:46:35,296 [http-8080-Processor25] トランザクションをロールバックしました
      DEBUG 2007-04-20 15:46:35,312 [http-8080-Processor25] END test.h3.web.IndexPage#prerender() Throwable:org.seasar.framework.exception.CannotCompileRuntimeException: [ESSR0017]例外が発生しました。理由はjavassist.CannotCompileException: [source error] no such field: seasar
      DEBUG 2007-04-20 15:46:35,312 [http-8080-Processor25] [measurement] perform ms:1750

      ちなみにテーブルのスキーマは以下のとおり。
      Create Table: CREATE TABLE `server_status` (
      `server_status_id` int(11) NOT NULL auto_increment,
      `status_type` text NOT NULL,
      `status` int(11) NOT NULL,
      `org` text,
      PRIMARY KEY (`server_status_id`)
      ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8

            Assignee:
            manhole manhole
            Reporter:
            wataru saito WataruSaito
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: