public class AmberContext
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
close()
Closes the connection.
|
static AmberContext |
create(AmberFactory factory)
Creates a new amber context.
|
static AmberConnection |
getConnection()
Gets the current connection.
|
public static AmberContext create(AmberFactory factory)
public static AmberConnection getConnection() throws java.sql.SQLException
java.sql.SQLException
public static void close()