org.clazzes.jdbc2xml.schema
Interface ISchemaUpdateSnippet


public interface ISchemaUpdateSnippet

This interface encapsulates a schema update part, which increments the schema version.


Method Summary
 String getTargetVersion()
           
 String getUpdateComment()
           
 void performUpdate(ISchemaEngine schemaEngine)
          Perform the schema update.
 

Method Detail

getTargetVersion

String getTargetVersion()
Returns:
The target version after the update.

getUpdateComment

String getUpdateComment()
Returns:
The update comment to be added to the database.

performUpdate

void performUpdate(ISchemaEngine schemaEngine)
                   throws SQLException
Perform the schema update.

Parameters:
schemaEngine - The JDBC connection.
Throws:
SQLException


Copyright © 2012. All Rights Reserved.