org.hibernate.tool.hbm2ddl
Class SchemaUpdateScript

java.lang.Object
  extended by org.hibernate.tool.hbm2ddl.SchemaUpdateScript

public class SchemaUpdateScript
extends Object

Pairs a SchemaUpdate SQL script with the boolean 'quiet'. If true, it allows the script to be run, ignoring all exceptions.


Constructor Summary
SchemaUpdateScript(String script, boolean quiet)
           
 
Method Summary
static List<SchemaUpdateScript> fromStringArray(String[] scriptsArray, boolean quiet)
           
 String getScript()
           
 boolean isQuiet()
           
static String[] toStringArray(List<SchemaUpdateScript> scripts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaUpdateScript

public SchemaUpdateScript(String script,
                          boolean quiet)
Method Detail

getScript

public String getScript()

isQuiet

public boolean isQuiet()

toStringArray

public static String[] toStringArray(List<SchemaUpdateScript> scripts)

fromStringArray

public static List<SchemaUpdateScript> fromStringArray(String[] scriptsArray,
                                                       boolean quiet)


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.