/aoo42x/main/connectivity/qa/connectivity/tools/ |
H A D | CRMDatabase.java | 64 m_database = new HsqlDatabase( m_orb ); in CRMDatabase() 65 m_dataSource = m_database.getDataSource(); in CRMDatabase() 107 return m_database; in getDatabase() 124 m_database.store(); in saveAndClose() 125 m_database.closeAndDelete(); in saveAndClose() 159 m_database.createTable( table, true ); in createTables() 169 m_database.createTable( table, true ); in createTables() 184 m_database.createTable( table, true ); in createTables() 197 m_database.createTable( table, true ); in createTables() 207 m_database.createTable( table, true ); in createTables() [all …]
|
/aoo42x/main/dbaccess/qa/complex/dbaccess/ |
H A D | ApplicationController.java | 55 private HsqlDatabase m_database; field in ApplicationController 73 if (m_database != null) in impl_closeDocument() 75 m_database.close(); in impl_closeDocument() 76 m_database = null; in impl_closeDocument() 89 m_database = (_documentURL == null) in impl_switchToDocument() 92 m_databaseDocument = m_database.getDatabaseDocument(); in impl_switchToDocument() 133 final String oldDocumentURL = m_database.getDocumentURL(); in checkSaveAs() 143 … assertTrue("could not connect to " + m_database.getDocumentURL(), m_documentUI.isConnected()); in checkSaveAs() 146 m_database.createTable(new HsqlTableDescriptor("abc", new HsqlColumnDescriptor[] in checkSaveAs() 156 … assertTrue("could not connect to " + m_database.getDocumentURL(), m_documentUI.isConnected()); in checkSaveAs() [all …]
|
H A D | QueryInQuery.java | 52 …m_database.getDatabase().getDataSource().createQuery( QUERY_PRODUCTS,"SELECT * FROM \"products\""); in createTestCase() 64 …final RowSet outerRowSet = m_database.getDatabase().createRowSet( _outerCommandType, _outerCommand… in verifyEqualRowSetContent() 67 …final RowSet innerRowSet = m_database.getDatabase().createRowSet( _innerCommandType, _innerCommand… in verifyEqualRowSetContent() 123 … m_database.getDatabase().getDataSource().createQuery( "products", "SELECT * FROM \"products\"" ); in checkNameCollisions() 140 m_database.getDatabase().createTableInSDBCX( table ); in checkNameCollisions() 153 …m_database.getDatabase().getDataSource().createQuery( "orders level 1", "SELECT * FROM \"orders le… in checkCyclicReferences() 154 …m_database.getDatabase().getDataSource().createQuery( "orders level 2", "SELECT * FROM \"orders le… in checkCyclicReferences() 155 …m_database.getDatabase().getDataSource().createQuery( "orders level 3", "SELECT * FROM \"orders le… in checkCyclicReferences() 156 …m_database.getDatabase().getDataSource().createQuery( "orders level 0", "SELECT * FROM \"orders le… in checkCyclicReferences() 158 …final RowSet rowSet = m_database.getDatabase().createRowSet( CommandType.QUERY, "orders level 0" ); in checkCyclicReferences() [all …]
|
H A D | SingleSelectQueryComposer.java | 65 …m_database.getDatabase().getDataSource().createQuery(INNERPRODUCTSQUERY, "SELECT * FROM \"products… in createQueries() 138 …m_database.getDatabase().getDataSource().createQuery("set command test", "SELECT * FROM \"orders f… in testSetCommand() 140 …"setCommand/getQuery QUERY inconsistent", m_composer.getQuery().equals(m_database.getDatabase().ge… in testSetCommand() 227 …final String sInnerCommand = m_database.getDatabase().getDataSource().getQueryDefinition(INNERPROD… in testSubQueries() 241 …m_database.getDatabase().getDataSource().createQuery("orders for customer", "SELECT * FROM \"all o… in testParameters() 244 …m_database.getDatabase().getDataSource().createQuery("orders for customer and product", "SELECT * … in testParameters() 246 …m_composer.setQuery(m_database.getDatabase().getDataSource().getQueryDefinition("orders for custom… in testParameters() 298 …assertTrue("At least one row should exist", m_database.getConnection().createStatement().executeQu… in testConditionByColumn()
|
H A D | CRMBasedTestCase.java | 38 protected CRMDatabase m_database; field in CRMBasedTestCase 45 m_database = new CRMDatabase( getMSF(), false ); in createTestCase() 69 if ( m_database != null ) in after() 71 m_database.saveAndClose(); in after() 85 return m_database.getConnection().createSingleSelectQueryComposer(); in createQueryComposer()
|
H A D | DataSource.java | 41 HsqlDatabase m_database; field in DataSource 49 if (m_database == null) in createTestCase() 52 m_database = database.getDatabase(); in createTestCase() 53 m_dataSource = m_database.getDataSource(); in createTestCase()
|
H A D | Query.java | 42 connectivity.tools.HsqlDatabase m_database; field in Query 49 if (m_database == null) in createTestCase() 52 m_database = database.getDatabase(); in createTestCase() 77 XQueriesSupplier.class, m_database.defaultConnection().getXConnection() ); in testQueryColumns()
|
H A D | RowSet.java | 67 HsqlDatabase m_database; field in RowSet 118 if (m_database == null) in createTestCase() 123 m_database = database.getDatabase(); in createTestCase() 124 m_dataSource = m_database.getDataSource(); in createTestCase() 180 …rowSetProperties.setPropertyValue("ActiveConnection", m_database.defaultConnection().getXConnectio… in createRowSet() 238 m_database.executeSQL("DROP TABLE \"TEST1\" IF EXISTS"); in createStruture() 239 …m_database.executeSQL("CREATE TABLE \"TEST1\" (\"ID\" integer not null primary key, \"col2\" varch… in createStruture() 241 final Connection connection = m_database.defaultConnection(); in createStruture()
|
H A D | Parser.java | 49 …m_database.getDatabase().getDataSource().createQuery( "query products", "SELECT * FROM \"products\… in createTestCase()
|
H A D | CopyTableWizard.java | 86 source = new DatabaseApplication(m_database.getDatabase()); in before()
|
/aoo42x/main/forms/qa/integration/forms/ |
H A D | ListBox.java | 50 HsqlDatabase m_database = null; field in ListBox 175 m_database = new HsqlDatabase( m_orb ); in impl_createDatabase() 176 Connection connection = m_database.defaultConnection(); in impl_createDatabase() 177 System.out.println( m_database.getDocumentURL() ); in impl_createDatabase() 199 m_database.createTable( new HsqlTableDescriptor( tableName, in impl_createDatabase() 233 …m_database.createTable( new HsqlTableDescriptor( m_foreignKeyTableName, foreignKeyColumns.toArray(… in impl_createDatabase() 248 m_database.defaultConnection().refreshTables(); in impl_createDatabase() 252 if ( m_database != null ) in impl_createDatabase() 253 m_database.store(); in impl_createDatabase() 266 form.setPropertyValue( "DataSourceName", m_database.getDocumentURL() ); in impl_createForm()
|
/aoo42x/main/connectivity/qa/complex/connectivity/ |
H A D | FlatFileAccess.java | 63 m_database = new CsvDatabase( (XMultiServiceFactory)param.getMSF() ); in before() 66 final XPropertySet dataSourceSettings = m_database.getDataSource().geSettings(); in before() 70 m_database.store(); in before() 73 final String tableLocation = m_database.getTableFileLocation().getAbsolutePath(); in before() 236 rowSet = m_database.createRowSet( CommandType.COMMAND, i_command ); in testRowSetResults() 257 private CsvDatabase m_database = null; field in FlatFileAccess
|
/aoo42x/main/odk/examples/DevelopersGuide/Forms/ |
H A D | DataAwareness.java | 135 private HsqlDatabase m_database; field in DataAwareness 561 XDataSource xDS = m_database.getDataSource(); in ensureTables() 677 m_database = new HsqlDatabase( m_xCtx ); in prepareDocument() 708 m_xMasterForm.setPropertyValue( "DataSourceName", m_database.getDocumentURL() ); in prepareDocument() 731 xSalesFormProps.setPropertyValue( "DataSourceName", m_database.getDocumentURL() ); in prepareDocument()
|