Here you can find the source of executeShutDownForHSQL(java.sql.Connection connection)
Parameter | Description |
---|---|
connection | a parameter |
Parameter | Description |
---|---|
SQLException | an exception |
public static void executeShutDownForHSQL(java.sql.Connection connection) throws SQLException
//package com.java2s; // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt import java.sql.SQLException; import java.sql.Statement; public class Main { /**/*from ww w .j av a 2 s . c o m*/ * execute ShutDown For HSQL connection. * * @param connection * @throws SQLException */ public static void executeShutDownForHSQL(java.sql.Connection connection) throws SQLException { Statement statement = connection.createStatement(); statement.executeUpdate("SHUTDOWN;");//$NON-NLS-1$ statement.close(); } }