Skip to content

Commit

Permalink
Failure to merge Vdbs when previewing in 7.7.x
Browse files Browse the repository at this point in the history
* The applicability check for the mergeVdbs method fails to find the method
  due to a lack of parameters. Adding in the parameters correctly finds
  the method and the check can be correctly tested.
  • Loading branch information
Paul Richardson committed Jun 16, 2014
1 parent 45802ac commit 0bbac5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ public Driver getTeiidDriver(String driverClass) throws Exception {
@Removed(Version.TEIID_8_0)
public void mergeVdbs( String sourceVdbName, int sourceVdbVersion,
String targetVdbName, int targetVdbVersion ) throws Exception {
if (!AnnotationUtils.isApplicable(getClass().getMethod("mergeVdbs"), getServer().getServerVersion())) //$NON-NLS-1$
if (!AnnotationUtils.isApplicable(getClass().getMethod("mergeVdbs", String.class, int.class, String.class, int.class), getServer().getServerVersion())) //$NON-NLS-1$
throw new UnsupportedOperationException(Messages.getString(Messages.ExecutionAdmin.mergeVdbUnsupported));

admin.mergeVDBs(sourceVdbName, sourceVdbVersion, targetVdbName, targetVdbVersion);
Expand Down

0 comments on commit 0bbac5c

Please sign in to comment.