public class AlephConnection
extends java.lang.Object
Constructor and Description |
---|
AlephConnection()
builds a connection to the Aleph database
|
Modifier and Type | Method and Description |
---|---|
void |
disconnect()
closes the connection to the Aleph database
|
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql)
builds a
PreparedStatement for the Aleph connection |
public AlephConnection() throws java.sql.SQLException
java.sql.SQLException
- exception querying the Aleph databasepublic java.sql.PreparedStatement prepareStatement(java.lang.String sql) throws java.sql.SQLException
PreparedStatement
for the Aleph connectionsql
- the sql statement to be executedPreparedStatement
for the Aleph connectionjava.sql.SQLException
- exception querying the Aleph databasepublic void disconnect()