Uses of Class
org.javalite.activejdbc.DB
Packages that use DB
-
Uses of DB in org.javalite.activejdbc
Methods in org.javalite.activejdbc that return DBModifier and TypeMethodDescriptionstatic DBBase.open()This method will open a connection defined in the file 'database.properties' set by an initial previous call toDBConfiguration.loadConfiguration(String).static DBOpens a connection from JNDI based on a registered name.static DBOpens a new connection based on JDBC properties and attaches it to a current thread.static DBBase.open(String driver, String url, Properties props)Opens a new connection in case additional driver-specific parameters need to be passed in.static DBBase.open(String jndiName, Properties jndiProperties)Opens a new connection from JNDI data source by name using explicit JNDI properties.static DBBase.open(DataSource dataSource)Opens a connection from a datasource.DB.open()This method will open a connection defined in the file 'database.properties' set by an initial previous call toDBConfiguration.loadConfiguration(String).Opens a connection from JNDI based on a registered name.Opens a new connection based on JDBC properties and attaches it to a current thread.DB.open(String driver, String url, Properties props)Opens a new connection in case additional driver-specific parameters need to be passed in.DB.open(String jndiName, Properties jndiProperties)Opens a new connection from JNDI data source by name using explicit JNDI properties.DB.open(DataSource datasource)Opens a connection from a datasource.DB.open(ConnectionConfig config)This method is used internally by the framework.