/** * Create the {@link ChangeParameterMetaData} "requiredDatabases" 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[] createRequiredDatabasesMetaData( String parameterName, DatabaseChangeProperty changePropertyAnnotation) { if (changePropertyAnnotation == null) { return new String[] {ChangeParameterMetaData.COMPUTE}; } else { return changePropertyAnnotation.requiredForDatabase(); } }