Uses of Class
velosurf.sql.Database

Packages that use Database
velosurf Contains the Velosurf tool. 
velosurf.context Contains all classes that can be accessed from inside a Velocity template. 
velosurf.model Classes linked to the data model : entities, attributes and actions 
velosurf.sql Contains all core classes dealing with the database itself. 
velosurf.validation Contains all classes related to data validation constraints. 
velosurf.web Contains the Velocity View Tools version of the Velosurf tool, plus an http query parameter parser tool. 
 

Uses of Database in velosurf
 

Methods in velosurf that return Database
 Database Velosurf.getDatabase()
          Allows to access the underlying velosurf.sql.Database object
 

Uses of Database in velosurf.context
 

Fields in velosurf.context declared as Database
protected  Database DBReference.db
          The wrapped database connection.
protected  Database Instance.db
          The main database connection.
 

Methods in velosurf.context with parameters of type Database
protected  void DBReference.init(Database db)
          Protected initialization method.
 

Constructors in velosurf.context with parameters of type Database
DBReference(Database db)
          Constructs a new database reference.
Instance(java.util.Map<java.lang.String,java.lang.Object> values, Database db)
          Builds a generic instance using values.
 

Uses of Database in velosurf.model
 

Fields in velosurf.model declared as Database
private  Database Entity.db
          The database connection.
protected  Database Action.db
          The database connection.
protected  Database Attribute.db
          Database connection.
 

Methods in velosurf.model that return Database
 Database Entity.getDB()
          Get the database connection.
 Database Action.getDB()
          Get the database connection.
 Database Attribute.getDB()
          Gets the database connection.
 

Constructors in velosurf.model with parameters of type Database
Entity(Database db, java.lang.String name, boolean readOnly, int cachingMethod)
          Constructor reserved for the framework.
 

Uses of Database in velosurf.sql
 

Fields in velosurf.sql declared as Database
private  Database ConfigLoader.database
          Database.
private  Database ReverseEngineer.db
          Database.
 

Fields in velosurf.sql with type parameters of type Database
private static java.util.Map<java.lang.Integer,Database> Database.connectionsByConfigFile
          Map config files -> instances.
private static java.util.Map<java.lang.Integer,Database> Database.connectionsByParams
          Map parameters -> instances.
 

Methods in velosurf.sql that return Database
static Database Database.getInstance(java.io.InputStream config)
          Get a new connection.
static Database Database.getInstance(java.io.InputStream config, XIncludeResolver xincludeResolver)
          Get a new connection.
static Database Database.getInstance(java.lang.String configFilename)
          Get a unique Database from config filename.
static Database Database.getInstance(java.lang.String user, java.lang.String password, java.lang.String url)
          Get a unique Database from connection params.
static Database Database.getInstance(java.lang.String user, java.lang.String password, java.lang.String url, java.lang.String driver)
          Get a unique Database from connection params.
static Database Database.getInstance(java.lang.String user, java.lang.String password, java.lang.String url, java.lang.String driver, java.lang.String schema)
          Get a unique Database from connection params.
 

Constructors in velosurf.sql with parameters of type Database
ConfigLoader(Database db)
          Constructor.
ConfigLoader(Database db, XIncludeResolver xincludeResolver)
          Constructor.
ReverseEngineer(Database database)
          constructor.
 

Uses of Database in velosurf.validation
 

Fields in velosurf.validation declared as Database
private  Database Reference.db
          database
 

Constructors in velosurf.validation with parameters of type Database
Reference(Database db, java.lang.String table, java.lang.String column)
          Constructor.
 

Uses of Database in velosurf.web
 

Fields in velosurf.web with type parameters of type Database
private static java.util.Map<java.lang.String,Database> VelosurfTool.dbMap
          database connections.
 

Methods in velosurf.web that return Database
protected static Database VelosurfTool.getConnection(java.lang.String configFile)
          return the existing Database for the specified config file, or null if it isn't already open.
protected static Database VelosurfTool.getConnection(java.lang.String configFile, javax.servlet.ServletContext servletContext)
          return the existing Database for the specified config file and servlet context, or null if an error occurs.
protected static Database VelosurfTool.getDefaultConnection()
          return the existing Database for the default config file, or null if it does not already exist.
protected static Database VelosurfTool.getDefaultConnection(javax.servlet.ServletContext servletContext)
          return the existing Database for the default config file and servlet context, or null if an error occurs.
 



~ooOoo~