Public class trolesjdbdao extends basejdbcdao imports itrolesdao {
protected static class trorsupdate extends Sqlupdate {
Protected trorsupdate (DataSource DS) {
Super (DS, SQL.PUB_TROLES_UPDATE);
// Parameter type setting
DeclareParameter (New SqlParameter (Types.varchar);
DeclareParameter (New SqlParameter (Types.varchar);
DeclareParameter (New Sqlparameter (Types.char));
DeclareParameter (New Sqlparameter);
DeclareParameter (New SqlParameter (Types.varchar);
DeclareParameter (New SqlParameter (Types.varchar);
}
}
SQL .java constant is defined as follows:
Public static final string pub_troles_update = "Update update pub_troles set role_name = ?, role_alias = ?, is_sys =?, users_limit =?
Due to the wrong SQL statement, all query databases will be wrong.
But after SQL.java, put SQL.CLASS replace the original class in the web application, the error is still
Only re-compilet the Trolesjdbcdao .java also re-copies a collection
All instructions in trolesjdbcdao .java are directly reference constants, not every call reaches the value in SQL.class.
So after the compilation is successful, SQL.CLASS is equivalent to it.??
Don't you need this class after the release?
After using Eclipse, it is like this. I don't know if it is in the Java specification.