NetBeansからS2Jdbc-Genするときの注意点
NetBeansからS2Jdbc-GenのAntタスクを実行する際、 明示的に出力先を指定しておかないと、 NetBeansインストールディレクトリの下にソースが生成されてしまう?
seen from Chile
seen from United States
seen from United States
seen from United States

seen from Russia
seen from United States

seen from Australia
seen from Chile
seen from United States
seen from Yemen
seen from United States
seen from Russia
seen from Japan

seen from Russia
seen from United States
seen from Malaysia
seen from Netherlands
seen from Cyprus
seen from United States
seen from China
NetBeansからS2Jdbc-Genするときの注意点
NetBeansからS2Jdbc-GenのAntタスクを実行する際、 明示的に出力先を指定しておかないと、 NetBeansインストールディレクトリの下にソースが生成されてしまう?

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
SpringとS2Jdbcを組み合わせて使う
S2JdbcのSSQLExceptionのエラーメッセージ表示がずれる
S2Jdbcを使っていてSQL実行時エラーが発生した際、以下のようなSSQLExceptionが発生するが、そのメッセージに表示される Message、ErrorCode、SQLState がずれている。
Caused by: org.seasar.framework.exception.SSQLException: [ESSR0072]SQLで例外(SQL=[ : 実行したSQL文 : ], Message=[1013], ErrorCode=72000, SQLState={3})が発生しました at org.seasar.extension.jdbc.impl.PreparedStatementWrapper.wrapException(PreparedStatementWrapper.java:72)
この例で言えば、
Message=1013
ErrorCode=72000
SQLState={3}
と表示されているが、
Message=なし
ErrorCode=1013
SQLState=72000
が正しい。
どうやらS2JdbcのバグのようでPreparedStatementWrapperでSSQLExceptionを生成する際のメッセージコードとメッセージ引数の対応が取れていないようだ。

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
AOPの2.3リファレンス。2.4のより詳しい?
Seasar2でサクサクか炎上か - ひがやすを blog