Example usage for java.sql Connection TRANSACTION_REPEATABLE_READ

List of usage examples for java.sql Connection TRANSACTION_REPEATABLE_READ

Introduction

In this page you can find the example usage for java.sql Connection TRANSACTION_REPEATABLE_READ.

Prototype

int TRANSACTION_REPEATABLE_READ

To view the source code for java.sql Connection TRANSACTION_REPEATABLE_READ.

Click Source Link

Document

A constant indicating that dirty reads and non-repeatable reads are prevented; phantom reads can occur.

Usage

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_1.CFAstDb2LUW.CFAstDb2LUWSchema.java

public CFAstDb2LUWSchema(Connection argCnx) {
    super();//from   ww  w  .ja  v  a 2s . c o  m
    cnx = argCnx;
    inTransaction = false;
    tableAsteriskConf = new CFAstDb2LUWAsteriskConfTable(this);
    tableAuditAction = new CFAstDb2LUWAuditActionTable(this);
    tableCluster = new CFAstDb2LUWClusterTable(this);
    tableConfigurationFile = new CFAstDb2LUWConfigurationFileTable(this);
    tableDomain = new CFAstDb2LUWDomainTable(this);
    tableDomainBase = new CFAstDb2LUWDomainBaseTable(this);
    tableExtConfigConf = new CFAstDb2LUWExtConfigConfTable(this);
    tableExtensionsConf = new CFAstDb2LUWExtensionsConfTable(this);
    tableHostNode = new CFAstDb2LUWHostNodeTable(this);
    tableISOCountry = new CFAstDb2LUWISOCountryTable(this);
    tableISOCountryCurrency = new CFAstDb2LUWISOCountryCurrencyTable(this);
    tableISOCountryLanguage = new CFAstDb2LUWISOCountryLanguageTable(this);
    tableISOCurrency = new CFAstDb2LUWISOCurrencyTable(this);
    tableISOLanguage = new CFAstDb2LUWISOLanguageTable(this);
    tableISOTimezone = new CFAstDb2LUWISOTimezoneTable(this);
    tableMajorVersion = new CFAstDb2LUWMajorVersionTable(this);
    tableMimeType = new CFAstDb2LUWMimeTypeTable(this);
    tableMinorVersion = new CFAstDb2LUWMinorVersionTable(this);
    tableProjectBase = new CFAstDb2LUWProjectBaseTable(this);
    tableRealProject = new CFAstDb2LUWRealProjectTable(this);
    tableSecApp = new CFAstDb2LUWSecAppTable(this);
    tableSecDevice = new CFAstDb2LUWSecDeviceTable(this);
    tableSecForm = new CFAstDb2LUWSecFormTable(this);
    tableSecGroup = new CFAstDb2LUWSecGroupTable(this);
    tableSecGroupForm = new CFAstDb2LUWSecGroupFormTable(this);
    tableSecGroupInclude = new CFAstDb2LUWSecGroupIncludeTable(this);
    tableSecGroupMember = new CFAstDb2LUWSecGroupMemberTable(this);
    tableSecSession = new CFAstDb2LUWSecSessionTable(this);
    tableSecUser = new CFAstDb2LUWSecUserTable(this);
    tableService = new CFAstDb2LUWServiceTable(this);
    tableServiceType = new CFAstDb2LUWServiceTypeTable(this);
    tableSipConf = new CFAstDb2LUWSipConfTable(this);
    tableSubProject = new CFAstDb2LUWSubProjectTable(this);
    tableTSecGroup = new CFAstDb2LUWTSecGroupTable(this);
    tableTSecGroupInclude = new CFAstDb2LUWTSecGroupIncludeTable(this);
    tableTSecGroupMember = new CFAstDb2LUWTSecGroupMemberTable(this);
    tableTenant = new CFAstDb2LUWTenantTable(this);
    tableTld = new CFAstDb2LUWTldTable(this);
    tableTopDomain = new CFAstDb2LUWTopDomainTable(this);
    tableTopProject = new CFAstDb2LUWTopProjectTable(this);
    tableURLProtocol = new CFAstDb2LUWURLProtocolTable(this);
    tableVersion = new CFAstDb2LUWVersionTable(this);
    tableVoicemailConf = new CFAstDb2LUWVoicemailConfTable(this);
    try {
        cnx.setAutoCommit(false);
        cnx.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
        cnx.rollback();
    } catch (SQLException e) {
        throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "CFAstDb2LUWSchema-constructor", e);
    }
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_0.CFAstMySql.CFAstMySqlSchema.java

public CFAstMySqlSchema(Connection argCnx) {
    super();/*  w  w w. j a v  a  2 s  . co m*/
    cnx = argCnx;
    inTransaction = false;
    tableAsteriskConf = new CFAstMySqlAsteriskConfTable(this);
    tableAuditAction = new CFAstMySqlAuditActionTable(this);
    tableCluster = new CFAstMySqlClusterTable(this);
    tableConfigurationFile = new CFAstMySqlConfigurationFileTable(this);
    tableDomain = new CFAstMySqlDomainTable(this);
    tableDomainBase = new CFAstMySqlDomainBaseTable(this);
    tableExtConfigConf = new CFAstMySqlExtConfigConfTable(this);
    tableExtensionsConf = new CFAstMySqlExtensionsConfTable(this);
    tableHostNode = new CFAstMySqlHostNodeTable(this);
    tableISOCountry = new CFAstMySqlISOCountryTable(this);
    tableISOCountryCurrency = new CFAstMySqlISOCountryCurrencyTable(this);
    tableISOCountryLanguage = new CFAstMySqlISOCountryLanguageTable(this);
    tableISOCurrency = new CFAstMySqlISOCurrencyTable(this);
    tableISOLanguage = new CFAstMySqlISOLanguageTable(this);
    tableISOTimezone = new CFAstMySqlISOTimezoneTable(this);
    tableMajorVersion = new CFAstMySqlMajorVersionTable(this);
    tableMimeType = new CFAstMySqlMimeTypeTable(this);
    tableMinorVersion = new CFAstMySqlMinorVersionTable(this);
    tableProjectBase = new CFAstMySqlProjectBaseTable(this);
    tableRealProject = new CFAstMySqlRealProjectTable(this);
    tableSecApp = new CFAstMySqlSecAppTable(this);
    tableSecForm = new CFAstMySqlSecFormTable(this);
    tableSecGroup = new CFAstMySqlSecGroupTable(this);
    tableSecGroupForm = new CFAstMySqlSecGroupFormTable(this);
    tableSecGroupInclude = new CFAstMySqlSecGroupIncludeTable(this);
    tableSecGroupMember = new CFAstMySqlSecGroupMemberTable(this);
    tableSecSession = new CFAstMySqlSecSessionTable(this);
    tableSecUser = new CFAstMySqlSecUserTable(this);
    tableService = new CFAstMySqlServiceTable(this);
    tableServiceType = new CFAstMySqlServiceTypeTable(this);
    tableSipConf = new CFAstMySqlSipConfTable(this);
    tableSubProject = new CFAstMySqlSubProjectTable(this);
    tableTSecGroup = new CFAstMySqlTSecGroupTable(this);
    tableTSecGroupInclude = new CFAstMySqlTSecGroupIncludeTable(this);
    tableTSecGroupMember = new CFAstMySqlTSecGroupMemberTable(this);
    tableTenant = new CFAstMySqlTenantTable(this);
    tableTld = new CFAstMySqlTldTable(this);
    tableTopDomain = new CFAstMySqlTopDomainTable(this);
    tableTopProject = new CFAstMySqlTopProjectTable(this);
    tableURLProtocol = new CFAstMySqlURLProtocolTable(this);
    tableVersion = new CFAstMySqlVersionTable(this);
    tableVoicemailConf = new CFAstMySqlVoicemailConfTable(this);
    try {
        cnx.setAutoCommit(false);
        cnx.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
        cnx.rollback();
    } catch (SQLException e) {
        throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "CFAstMySqlSchema-constructor", e);
    }
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_1.CFAstMySql.CFAstMySqlSchema.java

public CFAstMySqlSchema(Connection argCnx) {
    super();/*from  www  .  j  av  a  2s. co m*/
    cnx = argCnx;
    inTransaction = false;
    tableAsteriskConf = new CFAstMySqlAsteriskConfTable(this);
    tableAuditAction = new CFAstMySqlAuditActionTable(this);
    tableCluster = new CFAstMySqlClusterTable(this);
    tableConfigurationFile = new CFAstMySqlConfigurationFileTable(this);
    tableDomain = new CFAstMySqlDomainTable(this);
    tableDomainBase = new CFAstMySqlDomainBaseTable(this);
    tableExtConfigConf = new CFAstMySqlExtConfigConfTable(this);
    tableExtensionsConf = new CFAstMySqlExtensionsConfTable(this);
    tableHostNode = new CFAstMySqlHostNodeTable(this);
    tableISOCountry = new CFAstMySqlISOCountryTable(this);
    tableISOCountryCurrency = new CFAstMySqlISOCountryCurrencyTable(this);
    tableISOCountryLanguage = new CFAstMySqlISOCountryLanguageTable(this);
    tableISOCurrency = new CFAstMySqlISOCurrencyTable(this);
    tableISOLanguage = new CFAstMySqlISOLanguageTable(this);
    tableISOTimezone = new CFAstMySqlISOTimezoneTable(this);
    tableMajorVersion = new CFAstMySqlMajorVersionTable(this);
    tableMimeType = new CFAstMySqlMimeTypeTable(this);
    tableMinorVersion = new CFAstMySqlMinorVersionTable(this);
    tableProjectBase = new CFAstMySqlProjectBaseTable(this);
    tableRealProject = new CFAstMySqlRealProjectTable(this);
    tableSecApp = new CFAstMySqlSecAppTable(this);
    tableSecDevice = new CFAstMySqlSecDeviceTable(this);
    tableSecForm = new CFAstMySqlSecFormTable(this);
    tableSecGroup = new CFAstMySqlSecGroupTable(this);
    tableSecGroupForm = new CFAstMySqlSecGroupFormTable(this);
    tableSecGroupInclude = new CFAstMySqlSecGroupIncludeTable(this);
    tableSecGroupMember = new CFAstMySqlSecGroupMemberTable(this);
    tableSecSession = new CFAstMySqlSecSessionTable(this);
    tableSecUser = new CFAstMySqlSecUserTable(this);
    tableService = new CFAstMySqlServiceTable(this);
    tableServiceType = new CFAstMySqlServiceTypeTable(this);
    tableSipConf = new CFAstMySqlSipConfTable(this);
    tableSubProject = new CFAstMySqlSubProjectTable(this);
    tableTSecGroup = new CFAstMySqlTSecGroupTable(this);
    tableTSecGroupInclude = new CFAstMySqlTSecGroupIncludeTable(this);
    tableTSecGroupMember = new CFAstMySqlTSecGroupMemberTable(this);
    tableTenant = new CFAstMySqlTenantTable(this);
    tableTld = new CFAstMySqlTldTable(this);
    tableTopDomain = new CFAstMySqlTopDomainTable(this);
    tableTopProject = new CFAstMySqlTopProjectTable(this);
    tableURLProtocol = new CFAstMySqlURLProtocolTable(this);
    tableVersion = new CFAstMySqlVersionTable(this);
    tableVoicemailConf = new CFAstMySqlVoicemailConfTable(this);
    try {
        cnx.setAutoCommit(false);
        cnx.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
        cnx.rollback();
    } catch (SQLException e) {
        throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "CFAstMySqlSchema-constructor", e);
    }
}

From source file:net.sourceforge.msscodefactory.cfcrm.v2_1.CFCrmDb2LUW.CFCrmDb2LUWSchema.java

public CFCrmDb2LUWSchema(Connection argCnx) {
    super();//  ww w .j av a 2 s  .c  om
    cnx = argCnx;
    inTransaction = false;
    tableAddress = new CFCrmDb2LUWAddressTable(this);
    tableAddressTag = new CFCrmDb2LUWAddressTagTable(this);
    tableAttachment = new CFCrmDb2LUWAttachmentTable(this);
    tableAttachmentTag = new CFCrmDb2LUWAttachmentTagTable(this);
    tableAuditAction = new CFCrmDb2LUWAuditActionTable(this);
    tableCluster = new CFCrmDb2LUWClusterTable(this);
    tableContact = new CFCrmDb2LUWContactTable(this);
    tableContactList = new CFCrmDb2LUWContactListTable(this);
    tableContactTag = new CFCrmDb2LUWContactTagTable(this);
    tableContactURL = new CFCrmDb2LUWContactURLTable(this);
    tableDomain = new CFCrmDb2LUWDomainTable(this);
    tableDomainBase = new CFCrmDb2LUWDomainBaseTable(this);
    tableHostNode = new CFCrmDb2LUWHostNodeTable(this);
    tableISOCountry = new CFCrmDb2LUWISOCountryTable(this);
    tableISOCountryCurrency = new CFCrmDb2LUWISOCountryCurrencyTable(this);
    tableISOCountryLanguage = new CFCrmDb2LUWISOCountryLanguageTable(this);
    tableISOCurrency = new CFCrmDb2LUWISOCurrencyTable(this);
    tableISOLanguage = new CFCrmDb2LUWISOLanguageTable(this);
    tableISOTimezone = new CFCrmDb2LUWISOTimezoneTable(this);
    tableMajorVersion = new CFCrmDb2LUWMajorVersionTable(this);
    tableMemo = new CFCrmDb2LUWMemoTable(this);
    tableMemoTag = new CFCrmDb2LUWMemoTagTable(this);
    tableMimeType = new CFCrmDb2LUWMimeTypeTable(this);
    tableMinorVersion = new CFCrmDb2LUWMinorVersionTable(this);
    tablePhone = new CFCrmDb2LUWPhoneTable(this);
    tablePhoneTag = new CFCrmDb2LUWPhoneTagTable(this);
    tableProjectBase = new CFCrmDb2LUWProjectBaseTable(this);
    tableRealProject = new CFCrmDb2LUWRealProjectTable(this);
    tableSecApp = new CFCrmDb2LUWSecAppTable(this);
    tableSecDevice = new CFCrmDb2LUWSecDeviceTable(this);
    tableSecForm = new CFCrmDb2LUWSecFormTable(this);
    tableSecGroup = new CFCrmDb2LUWSecGroupTable(this);
    tableSecGroupForm = new CFCrmDb2LUWSecGroupFormTable(this);
    tableSecGroupInclude = new CFCrmDb2LUWSecGroupIncludeTable(this);
    tableSecGroupMember = new CFCrmDb2LUWSecGroupMemberTable(this);
    tableSecSession = new CFCrmDb2LUWSecSessionTable(this);
    tableSecUser = new CFCrmDb2LUWSecUserTable(this);
    tableService = new CFCrmDb2LUWServiceTable(this);
    tableServiceType = new CFCrmDb2LUWServiceTypeTable(this);
    tableSubProject = new CFCrmDb2LUWSubProjectTable(this);
    tableTSecGroup = new CFCrmDb2LUWTSecGroupTable(this);
    tableTSecGroupInclude = new CFCrmDb2LUWTSecGroupIncludeTable(this);
    tableTSecGroupMember = new CFCrmDb2LUWTSecGroupMemberTable(this);
    tableTag = new CFCrmDb2LUWTagTable(this);
    tableTenant = new CFCrmDb2LUWTenantTable(this);
    tableTld = new CFCrmDb2LUWTldTable(this);
    tableTopDomain = new CFCrmDb2LUWTopDomainTable(this);
    tableTopProject = new CFCrmDb2LUWTopProjectTable(this);
    tableURLProtocol = new CFCrmDb2LUWURLProtocolTable(this);
    tableVersion = new CFCrmDb2LUWVersionTable(this);
    try {
        cnx.setAutoCommit(false);
        cnx.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
        cnx.rollback();
    } catch (SQLException e) {
        throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "CFCrmDb2LUWSchema-constructor", e);
    }
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskDb2LUW.CFAsteriskDb2LUWSchema.java

public CFAsteriskDb2LUWSchema(Connection argCnx) {
    super();//  w w w.  j a  va2  s  .  c  o m
    cnx = argCnx;
    inTransaction = false;
    tableAsteriskConf = new CFAsteriskDb2LUWAsteriskConfTable(this);
    tableAuditAction = new CFAsteriskDb2LUWAuditActionTable(this);
    tableCluster = new CFAsteriskDb2LUWClusterTable(this);
    tableConfigurationFile = new CFAsteriskDb2LUWConfigurationFileTable(this);
    tableDomain = new CFAsteriskDb2LUWDomainTable(this);
    tableDomainBase = new CFAsteriskDb2LUWDomainBaseTable(this);
    tableExtConfigConf = new CFAsteriskDb2LUWExtConfigConfTable(this);
    tableExtensionsConf = new CFAsteriskDb2LUWExtensionsConfTable(this);
    tableHostNode = new CFAsteriskDb2LUWHostNodeTable(this);
    tableISOCountry = new CFAsteriskDb2LUWISOCountryTable(this);
    tableISOCountryCurrency = new CFAsteriskDb2LUWISOCountryCurrencyTable(this);
    tableISOCountryLanguage = new CFAsteriskDb2LUWISOCountryLanguageTable(this);
    tableISOCurrency = new CFAsteriskDb2LUWISOCurrencyTable(this);
    tableISOLanguage = new CFAsteriskDb2LUWISOLanguageTable(this);
    tableISOTimezone = new CFAsteriskDb2LUWISOTimezoneTable(this);
    tableMajorVersion = new CFAsteriskDb2LUWMajorVersionTable(this);
    tableMimeType = new CFAsteriskDb2LUWMimeTypeTable(this);
    tableMinorVersion = new CFAsteriskDb2LUWMinorVersionTable(this);
    tableProjectBase = new CFAsteriskDb2LUWProjectBaseTable(this);
    tableRealProject = new CFAsteriskDb2LUWRealProjectTable(this);
    tableSecApp = new CFAsteriskDb2LUWSecAppTable(this);
    tableSecDevice = new CFAsteriskDb2LUWSecDeviceTable(this);
    tableSecForm = new CFAsteriskDb2LUWSecFormTable(this);
    tableSecGroup = new CFAsteriskDb2LUWSecGroupTable(this);
    tableSecGroupForm = new CFAsteriskDb2LUWSecGroupFormTable(this);
    tableSecGroupInclude = new CFAsteriskDb2LUWSecGroupIncludeTable(this);
    tableSecGroupMember = new CFAsteriskDb2LUWSecGroupMemberTable(this);
    tableSecSession = new CFAsteriskDb2LUWSecSessionTable(this);
    tableSecUser = new CFAsteriskDb2LUWSecUserTable(this);
    tableService = new CFAsteriskDb2LUWServiceTable(this);
    tableServiceType = new CFAsteriskDb2LUWServiceTypeTable(this);
    tableSipConf = new CFAsteriskDb2LUWSipConfTable(this);
    tableSubProject = new CFAsteriskDb2LUWSubProjectTable(this);
    tableSysCluster = new CFAsteriskDb2LUWSysClusterTable(this);
    tableTSecGroup = new CFAsteriskDb2LUWTSecGroupTable(this);
    tableTSecGroupInclude = new CFAsteriskDb2LUWTSecGroupIncludeTable(this);
    tableTSecGroupMember = new CFAsteriskDb2LUWTSecGroupMemberTable(this);
    tableTenant = new CFAsteriskDb2LUWTenantTable(this);
    tableTld = new CFAsteriskDb2LUWTldTable(this);
    tableTopDomain = new CFAsteriskDb2LUWTopDomainTable(this);
    tableTopProject = new CFAsteriskDb2LUWTopProjectTable(this);
    tableURLProtocol = new CFAsteriskDb2LUWURLProtocolTable(this);
    tableVersion = new CFAsteriskDb2LUWVersionTable(this);
    tableVoicemailConf = new CFAsteriskDb2LUWVoicemailConfTable(this);
    try {
        cnx.setAutoCommit(false);
        cnx.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
        cnx.rollback();
    } catch (SQLException e) {
        throw CFLib.getDefaultExceptionFactory().newDbException(getClass(),
                "CFAsteriskDb2LUWSchema-constructor", e);
    }
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskPgSql.CFAsteriskPgSqlSchema.java

public CFAsteriskPgSqlSchema(Connection argCnx) {
    super();/*  w  w  w.  jav a  2  s . c  o  m*/
    cnx = argCnx;
    inTransaction = false;
    tableAsteriskConf = new CFAsteriskPgSqlAsteriskConfTable(this);
    tableAuditAction = new CFAsteriskPgSqlAuditActionTable(this);
    tableCluster = new CFAsteriskPgSqlClusterTable(this);
    tableConfigurationFile = new CFAsteriskPgSqlConfigurationFileTable(this);
    tableDomain = new CFAsteriskPgSqlDomainTable(this);
    tableDomainBase = new CFAsteriskPgSqlDomainBaseTable(this);
    tableExtConfigConf = new CFAsteriskPgSqlExtConfigConfTable(this);
    tableExtensionsConf = new CFAsteriskPgSqlExtensionsConfTable(this);
    tableHostNode = new CFAsteriskPgSqlHostNodeTable(this);
    tableISOCountry = new CFAsteriskPgSqlISOCountryTable(this);
    tableISOCountryCurrency = new CFAsteriskPgSqlISOCountryCurrencyTable(this);
    tableISOCountryLanguage = new CFAsteriskPgSqlISOCountryLanguageTable(this);
    tableISOCurrency = new CFAsteriskPgSqlISOCurrencyTable(this);
    tableISOLanguage = new CFAsteriskPgSqlISOLanguageTable(this);
    tableISOTimezone = new CFAsteriskPgSqlISOTimezoneTable(this);
    tableMajorVersion = new CFAsteriskPgSqlMajorVersionTable(this);
    tableMimeType = new CFAsteriskPgSqlMimeTypeTable(this);
    tableMinorVersion = new CFAsteriskPgSqlMinorVersionTable(this);
    tableProjectBase = new CFAsteriskPgSqlProjectBaseTable(this);
    tableRealProject = new CFAsteriskPgSqlRealProjectTable(this);
    tableSecApp = new CFAsteriskPgSqlSecAppTable(this);
    tableSecDevice = new CFAsteriskPgSqlSecDeviceTable(this);
    tableSecForm = new CFAsteriskPgSqlSecFormTable(this);
    tableSecGroup = new CFAsteriskPgSqlSecGroupTable(this);
    tableSecGroupForm = new CFAsteriskPgSqlSecGroupFormTable(this);
    tableSecGroupInclude = new CFAsteriskPgSqlSecGroupIncludeTable(this);
    tableSecGroupMember = new CFAsteriskPgSqlSecGroupMemberTable(this);
    tableSecSession = new CFAsteriskPgSqlSecSessionTable(this);
    tableSecUser = new CFAsteriskPgSqlSecUserTable(this);
    tableService = new CFAsteriskPgSqlServiceTable(this);
    tableServiceType = new CFAsteriskPgSqlServiceTypeTable(this);
    tableSipConf = new CFAsteriskPgSqlSipConfTable(this);
    tableSubProject = new CFAsteriskPgSqlSubProjectTable(this);
    tableSysCluster = new CFAsteriskPgSqlSysClusterTable(this);
    tableTSecGroup = new CFAsteriskPgSqlTSecGroupTable(this);
    tableTSecGroupInclude = new CFAsteriskPgSqlTSecGroupIncludeTable(this);
    tableTSecGroupMember = new CFAsteriskPgSqlTSecGroupMemberTable(this);
    tableTenant = new CFAsteriskPgSqlTenantTable(this);
    tableTld = new CFAsteriskPgSqlTldTable(this);
    tableTopDomain = new CFAsteriskPgSqlTopDomainTable(this);
    tableTopProject = new CFAsteriskPgSqlTopProjectTable(this);
    tableURLProtocol = new CFAsteriskPgSqlURLProtocolTable(this);
    tableVersion = new CFAsteriskPgSqlVersionTable(this);
    tableVoicemailConf = new CFAsteriskPgSqlVoicemailConfTable(this);
    try {
        cnx.setAutoCommit(false);
        cnx.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
        cnx.rollback();
    } catch (SQLException e) {
        throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "CFAsteriskPgSqlSchema-constructor",
                e);
    }
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_2.CFAstPgSql.CFAstPgSqlSchema.java

public CFAstPgSqlSchema(Connection argCnx) {
    super();//  w w w .  ja  va 2s . co  m
    cnx = argCnx;
    inTransaction = false;
    tableAsteriskConf = new CFAstPgSqlAsteriskConfTable(this);
    tableAuditAction = new CFAstPgSqlAuditActionTable(this);
    tableCluster = new CFAstPgSqlClusterTable(this);
    tableConfigurationFile = new CFAstPgSqlConfigurationFileTable(this);
    tableDomain = new CFAstPgSqlDomainTable(this);
    tableDomainBase = new CFAstPgSqlDomainBaseTable(this);
    tableExtConfigConf = new CFAstPgSqlExtConfigConfTable(this);
    tableExtensionsConf = new CFAstPgSqlExtensionsConfTable(this);
    tableHostNode = new CFAstPgSqlHostNodeTable(this);
    tableISOCountry = new CFAstPgSqlISOCountryTable(this);
    tableISOCountryCurrency = new CFAstPgSqlISOCountryCurrencyTable(this);
    tableISOCountryLanguage = new CFAstPgSqlISOCountryLanguageTable(this);
    tableISOCurrency = new CFAstPgSqlISOCurrencyTable(this);
    tableISOLanguage = new CFAstPgSqlISOLanguageTable(this);
    tableISOTimezone = new CFAstPgSqlISOTimezoneTable(this);
    tableMajorVersion = new CFAstPgSqlMajorVersionTable(this);
    tableMimeType = new CFAstPgSqlMimeTypeTable(this);
    tableMinorVersion = new CFAstPgSqlMinorVersionTable(this);
    tableProjectBase = new CFAstPgSqlProjectBaseTable(this);
    tableRealProject = new CFAstPgSqlRealProjectTable(this);
    tableSecApp = new CFAstPgSqlSecAppTable(this);
    tableSecDevice = new CFAstPgSqlSecDeviceTable(this);
    tableSecForm = new CFAstPgSqlSecFormTable(this);
    tableSecGroup = new CFAstPgSqlSecGroupTable(this);
    tableSecGroupForm = new CFAstPgSqlSecGroupFormTable(this);
    tableSecGroupInclude = new CFAstPgSqlSecGroupIncludeTable(this);
    tableSecGroupMember = new CFAstPgSqlSecGroupMemberTable(this);
    tableSecSession = new CFAstPgSqlSecSessionTable(this);
    tableSecUser = new CFAstPgSqlSecUserTable(this);
    tableService = new CFAstPgSqlServiceTable(this);
    tableServiceType = new CFAstPgSqlServiceTypeTable(this);
    tableSipConf = new CFAstPgSqlSipConfTable(this);
    tableSubProject = new CFAstPgSqlSubProjectTable(this);
    tableSysCluster = new CFAstPgSqlSysClusterTable(this);
    tableTSecGroup = new CFAstPgSqlTSecGroupTable(this);
    tableTSecGroupInclude = new CFAstPgSqlTSecGroupIncludeTable(this);
    tableTSecGroupMember = new CFAstPgSqlTSecGroupMemberTable(this);
    tableTenant = new CFAstPgSqlTenantTable(this);
    tableTld = new CFAstPgSqlTldTable(this);
    tableTopDomain = new CFAstPgSqlTopDomainTable(this);
    tableTopProject = new CFAstPgSqlTopProjectTable(this);
    tableURLProtocol = new CFAstPgSqlURLProtocolTable(this);
    tableVersion = new CFAstPgSqlVersionTable(this);
    tableVoicemailConf = new CFAstPgSqlVoicemailConfTable(this);
    try {
        cnx.setAutoCommit(false);
        cnx.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
        cnx.rollback();
    } catch (SQLException e) {
        throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "CFAstPgSqlSchema-constructor", e);
    }
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_2.CFAstDb2LUW.CFAstDb2LUWSchema.java

public CFAstDb2LUWSchema(Connection argCnx) {
    super();/*  w  ww.java 2  s.c om*/
    cnx = argCnx;
    inTransaction = false;
    tableAsteriskConf = new CFAstDb2LUWAsteriskConfTable(this);
    tableAuditAction = new CFAstDb2LUWAuditActionTable(this);
    tableCluster = new CFAstDb2LUWClusterTable(this);
    tableConfigurationFile = new CFAstDb2LUWConfigurationFileTable(this);
    tableDomain = new CFAstDb2LUWDomainTable(this);
    tableDomainBase = new CFAstDb2LUWDomainBaseTable(this);
    tableExtConfigConf = new CFAstDb2LUWExtConfigConfTable(this);
    tableExtensionsConf = new CFAstDb2LUWExtensionsConfTable(this);
    tableHostNode = new CFAstDb2LUWHostNodeTable(this);
    tableISOCountry = new CFAstDb2LUWISOCountryTable(this);
    tableISOCountryCurrency = new CFAstDb2LUWISOCountryCurrencyTable(this);
    tableISOCountryLanguage = new CFAstDb2LUWISOCountryLanguageTable(this);
    tableISOCurrency = new CFAstDb2LUWISOCurrencyTable(this);
    tableISOLanguage = new CFAstDb2LUWISOLanguageTable(this);
    tableISOTimezone = new CFAstDb2LUWISOTimezoneTable(this);
    tableMajorVersion = new CFAstDb2LUWMajorVersionTable(this);
    tableMimeType = new CFAstDb2LUWMimeTypeTable(this);
    tableMinorVersion = new CFAstDb2LUWMinorVersionTable(this);
    tableProjectBase = new CFAstDb2LUWProjectBaseTable(this);
    tableRealProject = new CFAstDb2LUWRealProjectTable(this);
    tableSecApp = new CFAstDb2LUWSecAppTable(this);
    tableSecDevice = new CFAstDb2LUWSecDeviceTable(this);
    tableSecForm = new CFAstDb2LUWSecFormTable(this);
    tableSecGroup = new CFAstDb2LUWSecGroupTable(this);
    tableSecGroupForm = new CFAstDb2LUWSecGroupFormTable(this);
    tableSecGroupInclude = new CFAstDb2LUWSecGroupIncludeTable(this);
    tableSecGroupMember = new CFAstDb2LUWSecGroupMemberTable(this);
    tableSecSession = new CFAstDb2LUWSecSessionTable(this);
    tableSecUser = new CFAstDb2LUWSecUserTable(this);
    tableService = new CFAstDb2LUWServiceTable(this);
    tableServiceType = new CFAstDb2LUWServiceTypeTable(this);
    tableSipConf = new CFAstDb2LUWSipConfTable(this);
    tableSubProject = new CFAstDb2LUWSubProjectTable(this);
    tableSysCluster = new CFAstDb2LUWSysClusterTable(this);
    tableTSecGroup = new CFAstDb2LUWTSecGroupTable(this);
    tableTSecGroupInclude = new CFAstDb2LUWTSecGroupIncludeTable(this);
    tableTSecGroupMember = new CFAstDb2LUWTSecGroupMemberTable(this);
    tableTenant = new CFAstDb2LUWTenantTable(this);
    tableTld = new CFAstDb2LUWTldTable(this);
    tableTopDomain = new CFAstDb2LUWTopDomainTable(this);
    tableTopProject = new CFAstDb2LUWTopProjectTable(this);
    tableURLProtocol = new CFAstDb2LUWURLProtocolTable(this);
    tableVersion = new CFAstDb2LUWVersionTable(this);
    tableVoicemailConf = new CFAstDb2LUWVoicemailConfTable(this);
    try {
        cnx.setAutoCommit(false);
        cnx.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
        cnx.rollback();
    } catch (SQLException e) {
        throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "CFAstDb2LUWSchema-constructor", e);
    }
}

From source file:net.sourceforge.msscodefactory.cfasterisk.v2_4.CFAsteriskMySql.CFAsteriskMySqlSchema.java

public CFAsteriskMySqlSchema(Connection argCnx) {
    super();/*from  w w  w  . j a va2 s.  com*/
    cnx = argCnx;
    inTransaction = false;
    tableAsteriskConf = new CFAsteriskMySqlAsteriskConfTable(this);
    tableAuditAction = new CFAsteriskMySqlAuditActionTable(this);
    tableCluster = new CFAsteriskMySqlClusterTable(this);
    tableConfigurationFile = new CFAsteriskMySqlConfigurationFileTable(this);
    tableDomain = new CFAsteriskMySqlDomainTable(this);
    tableDomainBase = new CFAsteriskMySqlDomainBaseTable(this);
    tableExtConfigConf = new CFAsteriskMySqlExtConfigConfTable(this);
    tableExtensionsConf = new CFAsteriskMySqlExtensionsConfTable(this);
    tableHostNode = new CFAsteriskMySqlHostNodeTable(this);
    tableISOCountry = new CFAsteriskMySqlISOCountryTable(this);
    tableISOCountryCurrency = new CFAsteriskMySqlISOCountryCurrencyTable(this);
    tableISOCountryLanguage = new CFAsteriskMySqlISOCountryLanguageTable(this);
    tableISOCurrency = new CFAsteriskMySqlISOCurrencyTable(this);
    tableISOLanguage = new CFAsteriskMySqlISOLanguageTable(this);
    tableISOTimezone = new CFAsteriskMySqlISOTimezoneTable(this);
    tableMajorVersion = new CFAsteriskMySqlMajorVersionTable(this);
    tableMimeType = new CFAsteriskMySqlMimeTypeTable(this);
    tableMinorVersion = new CFAsteriskMySqlMinorVersionTable(this);
    tableProjectBase = new CFAsteriskMySqlProjectBaseTable(this);
    tableRealProject = new CFAsteriskMySqlRealProjectTable(this);
    tableSecApp = new CFAsteriskMySqlSecAppTable(this);
    tableSecDevice = new CFAsteriskMySqlSecDeviceTable(this);
    tableSecForm = new CFAsteriskMySqlSecFormTable(this);
    tableSecGroup = new CFAsteriskMySqlSecGroupTable(this);
    tableSecGroupForm = new CFAsteriskMySqlSecGroupFormTable(this);
    tableSecGroupInclude = new CFAsteriskMySqlSecGroupIncludeTable(this);
    tableSecGroupMember = new CFAsteriskMySqlSecGroupMemberTable(this);
    tableSecSession = new CFAsteriskMySqlSecSessionTable(this);
    tableSecUser = new CFAsteriskMySqlSecUserTable(this);
    tableService = new CFAsteriskMySqlServiceTable(this);
    tableServiceType = new CFAsteriskMySqlServiceTypeTable(this);
    tableSipConf = new CFAsteriskMySqlSipConfTable(this);
    tableSubProject = new CFAsteriskMySqlSubProjectTable(this);
    tableSysCluster = new CFAsteriskMySqlSysClusterTable(this);
    tableTSecGroup = new CFAsteriskMySqlTSecGroupTable(this);
    tableTSecGroupInclude = new CFAsteriskMySqlTSecGroupIncludeTable(this);
    tableTSecGroupMember = new CFAsteriskMySqlTSecGroupMemberTable(this);
    tableTenant = new CFAsteriskMySqlTenantTable(this);
    tableTld = new CFAsteriskMySqlTldTable(this);
    tableTopDomain = new CFAsteriskMySqlTopDomainTable(this);
    tableTopProject = new CFAsteriskMySqlTopProjectTable(this);
    tableURLProtocol = new CFAsteriskMySqlURLProtocolTable(this);
    tableVersion = new CFAsteriskMySqlVersionTable(this);
    tableVoicemailConf = new CFAsteriskMySqlVoicemailConfTable(this);
    try {
        cnx.setAutoCommit(false);
        cnx.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
        cnx.rollback();
    } catch (SQLException e) {
        throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "CFAsteriskMySqlSchema-constructor",
                e);
    }
}

From source file:net.sourceforge.msscodefactory.cfensyntax.v2_2.CFEnSyntaxMySql.CFEnSyntaxMySqlSchema.java

public CFEnSyntaxMySqlSchema(Connection argCnx) {
    super();/*from  w  ww  .  j a  va2s .  c  o  m*/
    cnx = argCnx;
    inTransaction = false;
    tableAuditAction = new CFEnSyntaxMySqlAuditActionTable(this);
    tableCluster = new CFEnSyntaxMySqlClusterTable(this);
    tableEnAdjective = new CFEnSyntaxMySqlEnAdjectiveTable(this);
    tableEnAdverbial = new CFEnSyntaxMySqlEnAdverbialTable(this);
    tableEnAuxiliary = new CFEnSyntaxMySqlEnAuxiliaryTable(this);
    tableEnClause = new CFEnSyntaxMySqlEnClauseTable(this);
    tableEnComplement = new CFEnSyntaxMySqlEnComplementTable(this);
    tableEnConnective = new CFEnSyntaxMySqlEnConnectiveTable(this);
    tableEnDeterminer = new CFEnSyntaxMySqlEnDeterminerTable(this);
    tableEnDiscourse = new CFEnSyntaxMySqlEnDiscourseTable(this);
    tableEnHead = new CFEnSyntaxMySqlEnHeadTable(this);
    tableEnIntensifier = new CFEnSyntaxMySqlEnIntensifierTable(this);
    tableEnModifier = new CFEnSyntaxMySqlEnModifierTable(this);
    tableEnMorpheme = new CFEnSyntaxMySqlEnMorphemeTable(this);
    tableEnObject = new CFEnSyntaxMySqlEnObjectTable(this);
    tableEnPhrase = new CFEnSyntaxMySqlEnPhraseTable(this);
    tableEnPreposition = new CFEnSyntaxMySqlEnPrepositionTable(this);
    tableEnSentence = new CFEnSyntaxMySqlEnSentenceTable(this);
    tableEnSubject = new CFEnSyntaxMySqlEnSubjectTable(this);
    tableEnTense = new CFEnSyntaxMySqlEnTenseTable(this);
    tableEnWord = new CFEnSyntaxMySqlEnWordTable(this);
    tableEnglishParse = new CFEnSyntaxMySqlEnglishParseTable(this);
    tableHostNode = new CFEnSyntaxMySqlHostNodeTable(this);
    tableISOCountry = new CFEnSyntaxMySqlISOCountryTable(this);
    tableISOCountryCurrency = new CFEnSyntaxMySqlISOCountryCurrencyTable(this);
    tableISOCountryLanguage = new CFEnSyntaxMySqlISOCountryLanguageTable(this);
    tableISOCurrency = new CFEnSyntaxMySqlISOCurrencyTable(this);
    tableISOLanguage = new CFEnSyntaxMySqlISOLanguageTable(this);
    tableISOTimezone = new CFEnSyntaxMySqlISOTimezoneTable(this);
    tableSecApp = new CFEnSyntaxMySqlSecAppTable(this);
    tableSecDevice = new CFEnSyntaxMySqlSecDeviceTable(this);
    tableSecForm = new CFEnSyntaxMySqlSecFormTable(this);
    tableSecGroup = new CFEnSyntaxMySqlSecGroupTable(this);
    tableSecGroupForm = new CFEnSyntaxMySqlSecGroupFormTable(this);
    tableSecGroupInclude = new CFEnSyntaxMySqlSecGroupIncludeTable(this);
    tableSecGroupMember = new CFEnSyntaxMySqlSecGroupMemberTable(this);
    tableSecSession = new CFEnSyntaxMySqlSecSessionTable(this);
    tableSecUser = new CFEnSyntaxMySqlSecUserTable(this);
    tableService = new CFEnSyntaxMySqlServiceTable(this);
    tableServiceType = new CFEnSyntaxMySqlServiceTypeTable(this);
    tableTSecGroup = new CFEnSyntaxMySqlTSecGroupTable(this);
    tableTSecGroupInclude = new CFEnSyntaxMySqlTSecGroupIncludeTable(this);
    tableTSecGroupMember = new CFEnSyntaxMySqlTSecGroupMemberTable(this);
    tableTenant = new CFEnSyntaxMySqlTenantTable(this);
    try {
        cnx.setAutoCommit(false);
        cnx.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
        cnx.rollback();
    } catch (SQLException e) {
        throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "CFEnSyntaxMySqlSchema-constructor",
                e);
    }
}