Home
last modified time | relevance | path

Searched refs:statement (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/tests/support/
DDatabaseCreator.java257 Statement statement = conn.createStatement(); in fillParentTable() local
258 statement in fillParentTable()
260 statement.execute("INSERT INTO " + PARENT_TABLE + " VALUES(2,'test2')"); in fillParentTable()
261 statement in fillParentTable()
266 Statement statement = conn.createStatement(); in fillFKStrictTable() local
267 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
269 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
271 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
276 Statement statement = conn.createStatement(); in fillFKCascadeTable() local
277 statement.execute("INSERT INTO " + FKCASCADE_TABLE in fillFKCascadeTable()
[all …]
/libcore/luni/src/test/java/tests/java/sql/
DUpdateFunctionalityTest2.java40 private static Statement statement = null; field in UpdateFunctionalityTest2
47 statement = conn.createStatement(); in setUp()
59 statement.close(); in tearDown()
72 statement in createTestTables()
76 statement in createTestTables()
80 statement in createTestTables()
84 statement in createTestTables()
88 statement in createTestTables()
92 statement.execute(DatabaseCreator.DROP_TABLE5); in createTestTables()
96 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT); in createTestTables()
[all …]
DInsertFunctionalityTest.java37 private static Statement statement = null; field in InsertFunctionalityTest
43 statement = conn.createStatement(); in setUp()
50 statement.close(); in tearDown()
63 statement in createTestTables()
67 statement in createTestTables()
71 statement in createTestTables()
75 statement in createTestTables()
79 statement in createTestTables()
83 statement.execute(DatabaseCreator.DROP_TABLE5); in createTestTables()
87 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT); in createTestTables()
[all …]
DDeleteFunctionalityTest.java39 private static Statement statement = null; field in DeleteFunctionalityTest
45 statement = conn.createStatement(); in setUp()
52 statement.close(); in tearDown()
66 statement in createTestTables()
70 statement in createTestTables()
74 statement in createTestTables()
78 statement.execute(DatabaseCreator.DROP_TABLE5); in createTestTables()
82 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT); in createTestTables()
83 statement.execute(DatabaseCreator.CREATE_TABLE_FKSTRICT); in createTestTables()
84 statement.execute(DatabaseCreator.CREATE_TABLE_FKCASCADE); in createTestTables()
[all …]
DUpdateFunctionalityTest.java40 private static Statement statement; field in UpdateFunctionalityTest
47 statement = conn.createStatement(); in setUp()
58 statement.close(); in tearDown()
72 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
75 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
78 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
83 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
84 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
85 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
94 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
[all …]
DMultiThreadAccessTest.java39 private static Statement statement; field in MultiThreadAccessTest
52 statement = conn.createStatement(); in setUp()
64 statement.close(); in tearDown()
76 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
79 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
82 statement.execute(DatabaseCreator.DROP_TABLE4); in createTestTables()
85 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
90 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
91 statement.execute(DatabaseCreator.CREATE_TABLE4); in createTestTables()
92 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
[all …]
DSelectFunctionalityTest.java46 private static Statement statement; field in SelectFunctionalityTest
57 statement = conn.createStatement(); in setUp()
67 statement.close(); in tearDown()
79 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
82 statement in createTestTables()
86 statement in createTestTables()
90 statement in createTestTables()
96 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
97 statement.execute(DatabaseCreator.CREATE_TABLE_SALESPEOPLE); in createTestTables()
98 statement.execute(DatabaseCreator.CREATE_TABLE_CUSTOMERS); in createTestTables()
[all …]
DStressTest.java40 private static Statement statement; field in StressTest
46 statement = conn.createStatement(); in setUp()
53 statement.close(); in tearDown()
66 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
69 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
78 statement.execute(DatabaseCreator.DROP_TABLE2); in dropTestTables()
175 ResultSet rs = statement in testInsertOfManyRowsUsingOneThread()
210 ResultSet rs = statement in testInsertOfManyRowsUsingManyThreads()
DDatabaseMetaDataNotSupportedTest.java50 protected static Statement statement; field in DatabaseMetaDataNotSupportedTest
62 statement = conn.createStatement(); in setUp()
73 statement = conn.createStatement(); in tearDown()
92 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
95 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
97 statement.execute(DROP_VIEW_QUERY); in createTestTables()
101 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
102 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
103 statement.execute(CREATE_VIEW_QUERY); in createTestTables()
112 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
[all …]
DDatabaseMetaDataTest.java55 protected static Statement statement; field in DatabaseMetaDataTest
67 statement = conn.createStatement(); in setUp()
81 statement = conn.createStatement(); in tearDown()
100 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
103 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
105 statement.execute(DROP_VIEW_QUERY); in createTestTables()
109 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
110 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
111 statement.execute(CREATE_VIEW_QUERY); in createTestTables()
120 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
[all …]
/libcore/luni/src/main/java/javax/sql/
DStatementEvent.java35 private PreparedStatement statement; field in StatementEvent
47 public StatementEvent(PooledConnection con, PreparedStatement statement, in StatementEvent() argument
50 this.statement = statement; in StatementEvent()
62 public StatementEvent(PooledConnection con, PreparedStatement statement) { in StatementEvent() argument
63 this(con, statement, null); in StatementEvent()
70 return this.statement; in getStatement()
/libcore/luni/src/test/java/libcore/java/sql/
DOldConnectionTest.java33 Statement statement = conn.createStatement(); in testCreateStatement() local
34 assertNotNull(statement); in testCreateStatement()
36 assertEquals(ResultSet.FETCH_UNKNOWN, statement.getFetchDirection()); in testCreateStatement()
37 assertNull(statement.getWarnings()); in testCreateStatement()
38 assertTrue(statement.getQueryTimeout() > 0); in testCreateStatement()
41 statement.executeQuery("select * from zoo"); in testCreateStatement()
/libcore/expectations/
Dknownfailures.txt436 description: "statement.close() does not wrap up",
446 description: "statement.close() does not wrap up",
574 description: "statement.close() does not wrap up",
590 description: "no exception is thrown when moving cursor backwards on forward only statement",
615 description: "statement.close() does not wrap up",
623 description: "In Second code block assertion fails. statement. close() does not wrap up",
628 description: "statement.close() does not wrap up",
634 is actually provides a result.statement.close() does not wrap up",
639 description: "statement.close() does not wrap up",
649 description: "statement.close() does not wrap up",
[all …]
/libcore/benchmarks/libs/
Dcaliper.jar.txt124 You may add Your own copyright statement to Your modifications and