Package | Description |
---|---|
org.javalite.activejdbc |
ActiveJDBC - the agile Java ORM.
|
Modifier and Type | Method and Description |
---|---|
DB |
DB.open()
This method will open a connection defined in the file 'database.properties' located at
root of classpath.
|
static DB |
Base.open()
This method will open a connection defined in the file 'database.properties' located at
root of classpath.
|
DB |
DB.open(ConnectionSpec spec)
This method is used internally by the framework.
|
DB |
DB.open(DataSource datasource)
Opens a connection from a datasource.
|
static DB |
Base.open(DataSource dataSource)
Opens a connection from a datasource.
|
DB |
DB.open(String jndiName)
Opens a connection from JNDI based on a registered name.
|
static DB |
Base.open(String jndiName)
Opens a connection from JNDI based on a registered name.
|
DB |
DB.open(String jndiName,
Properties jndiProperties)
Opens a new connection from JNDI data source by name using explicit JNDI properties.
|
static DB |
Base.open(String jndiName,
Properties jndiProperties)
Opens a new connection from JNDI data source by name using explicit JNDI properties.
|
DB |
DB.open(String driver,
String url,
Properties props)
Opens a new connection in case additional driver-specific parameters need to be passed in.
|
static DB |
Base.open(String driver,
String url,
Properties props)
Opens a new connection in case additional driver-specific parameters need to be passed in.
|
DB |
DB.open(String driver,
String url,
String user,
String password)
Opens a new connection based on JDBC properties and attaches it to a current thread.
|
static DB |
Base.open(String driver,
String url,
String user,
String password)
Opens a new connection based on JDBC properties and attaches it to a current thread.
|
Copyright © 2019 JavaLite. All rights reserved.