Class GenerationTargetToScript
- java.lang.Object
-
- org.hibernate.tool.schema.internal.exec.GenerationTargetToScript
-
- All Implemented Interfaces:
GenerationTarget
public class GenerationTargetToScript extends Object implements GenerationTarget
AGenerationTargetthat writes DDL to scripts.
-
-
Constructor Summary
Constructors Constructor Description GenerationTargetToScript(ScriptTargetOutput scriptTarget, String delimiter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String command)Accept a commandvoidprepare()Prepare for accepting actionsvoidrelease()Release this target, giving it a change to release its resources.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.tool.schema.internal.exec.GenerationTarget
beforeScript
-
-
-
-
Constructor Detail
-
GenerationTargetToScript
public GenerationTargetToScript(ScriptTargetOutput scriptTarget, String delimiter)
-
-
Method Detail
-
prepare
public void prepare()
Description copied from interface:GenerationTargetPrepare for accepting actions- Specified by:
preparein interfaceGenerationTarget
-
accept
public void accept(String command)
Description copied from interface:GenerationTargetAccept a command- Specified by:
acceptin interfaceGenerationTarget- Parameters:
command- The command
-
release
public void release()
Description copied from interface:GenerationTargetRelease this target, giving it a change to release its resources.- Specified by:
releasein interfaceGenerationTarget
-
-