org.dbmaintain.maven.plugin
Class UpdateSequencesMojo
java.lang.Object
   org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.AbstractMojo
       org.dbmaintain.maven.plugin.BaseMojo
org.dbmaintain.maven.plugin.BaseMojo
           org.dbmaintain.maven.plugin.BaseDatabaseMojo
org.dbmaintain.maven.plugin.BaseDatabaseMojo
               org.dbmaintain.maven.plugin.UpdateSequencesMojo
org.dbmaintain.maven.plugin.UpdateSequencesMojo
- All Implemented Interfaces: 
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- public class UpdateSequencesMojo 
- extends BaseDatabaseMojo
This operation is also mainly useful for automated testing purposes. This operation sets all sequences and identity
 columns to a minimum value. By default this value is 1000, but is can be configured with the
 lowestAcceptableSequenceValue option. The updateDatabase operation offers an option to automatically update the
 sequences after the scripts were executed.
- Author:
- Tim Ducheyne, tiwe
 
 
 
| Fields inherited from interface org.apache.maven.plugin.Mojo | 
| ROLE | 
 
 
 
 
 
| Methods inherited from class org.apache.maven.plugin.AbstractMojo | 
| getLog, getPluginContext, setLog, setPluginContext | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
lowestAcceptableSequenceValue
protected Long lowestAcceptableSequenceValue
- Threshold indicating the minimum value of sequences. If sequences are updated, all sequences having a lower value than this
 one are set to this value. Defaults to 1000.
 
 
UpdateSequencesMojo
public UpdateSequencesMojo()
createDbMaintainTask
protected DbMaintainTask createDbMaintainTask(List<DbMaintainDatabase> dbMaintainDatabases)
- 
- Specified by:
- createDbMaintainTaskin class- BaseDatabaseMojo
 
- 
 
Copyright © 2011. All Rights Reserved.