Initialize all of the SQLStmt handles. This must be called separately from the constructor, otherwise we can't get access to all of our SQLStmts. @param @return
(DatabaseType dbType)
| 57 | * @return |
| 58 | */ |
| 59 | @SuppressWarnings("unchecked") |
| 60 | protected final <T extends Procedure> T initialize(DatabaseType dbType) { |
| 61 | this.dbType = dbType; |
| 62 | this.name_stmt_xref = Procedure.getStatements(this); |
| 63 | |
| 64 | if (LOG.isDebugEnabled()) { |
| 65 | LOG.debug( |
| 66 | String.format( |
| 67 | "Initialized %s with %d SQLStmts: %s", |
| 68 | this, this.name_stmt_xref.size(), this.name_stmt_xref.keySet())); |
| 69 | } |
| 70 | return ((T) this); |
| 71 | } |
| 72 | |
| 73 | /** Return the name of this Procedure */ |
| 74 | protected final String getProcedureName() { |