示例#1
0
 /**
  * Create the {@link ChangeParameterMetaData} "supportedDatabase" value. Uses the value on the
  * DatabaseChangeProperty annotation or returns an array containing the string "COMPUTE" as a
  * default. "COMPUTE" will cause ChangeParameterMetaData to attempt to determine the required
  * databases based on the generated Statements
  */
 @SuppressWarnings("UnusedParameters")
 protected String[] createSupportedDatabasesMetaData(
     String parameterName, DatabaseChangeProperty changePropertyAnnotation) {
   if (changePropertyAnnotation == null) {
     return new String[] {ChangeParameterMetaData.COMPUTE};
   } else {
     return changePropertyAnnotation.supportsDatabase();
   }
 }