KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > h2 > engine > SessionInterface


1 /*
2  * Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
3  * Initial Developer: H2 Group
4  */

5 package org.h2.engine;
6
7 import java.sql.SQLException JavaDoc;
8
9 import org.h2.command.CommandInterface;
10 import org.h2.message.Trace;
11 import org.h2.store.DataHandler;
12
13 public interface SessionInterface {
14     CommandInterface prepareCommand(String JavaDoc sql) throws SQLException JavaDoc;
15     void close() throws SQLException JavaDoc;
16     Trace getTrace();
17     boolean isClosed();
18     SessionInterface createSession(ConnectionInfo ci) throws SQLException JavaDoc;
19     int getPowerOffCount();
20     void setPowerOffCount(int i) throws SQLException JavaDoc;
21     DataHandler getDataHandler();
22 }
23
Popular Tags