$jdbcFactory

Object providing the JDBC factory


Since : 2.1.1

Attributes and methods
.getInstance(EntityInContext entity) : JdbcInContext

Creates a new instance of the JDBC tool for the given entity


Parameters :
   entity : the entity to be used (to create CRUD SQL requests, mapping, etc)

Example :
   $jdbcFactory.getInstance($entity)

Since : 2.1.1

.useSchema(boolean value) : void

Defines if the 'schema' must be used in the table name
Must be set before 'getInstance()'
Default value is FALSE

Parameters :
   value : true = use schema, false = do not use schema

Example :
   $jdbc.useSchema()

Since : 2.1.1