org.jooq.util
Class GenerationTool
java.lang.Object
org.jooq.util.GenerationTool
public class GenerationTool
- extends Object
The GenerationTool takes care of generating Java code from a database schema. It
takes its configuration parameters from a standard Java properties file,
using this format:
- jdbcDriver = [the JDBC driver to connect with. Make sure it is on the
classpath]
- jdbcURL = [the JDBC URL to connect with]
- jdbcUser = [the JDBC user to connect with]
- jdbcPassword = [the JDBC password to connect with]
- Author:
- Lukas Eder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenerationTool
public GenerationTool()
main
public static void main(String[] args)
throws Exception
- Parameters:
args -
- Throws:
Exception
main
public static void main(Properties properties,
String... args)
throws Exception
- Throws:
Exception
main
public static void main(org.jooq.util.jaxb.Configuration configuration)
throws Exception
- Throws:
Exception
copyLarge
public static long copyLarge(InputStream input,
OutputStream output)
throws IOException
- Copy bytes from a large (over 2GB)
InputStream to an
OutputStream.
This method buffers the input internally, so there is no need to use a
BufferedInputStream.
- Parameters:
input - the InputStream to read fromoutput - the OutputStream to write to
- Returns:
- the number of bytes copied
- Throws:
NullPointerException - if the input or output is null
IOException - if an I/O error occurs- Since:
- Commons IO 1.3
Copyright © 2012. All Rights Reserved.