1,234
edits
Changes
no edit summary
{{Admon/obsolete}}
<big><big> Postgre Project - SQLAdapter Files</big></big>
==SQLAdapter.java==
{| class="wikitable sortable" border="1" cellpadding="5"
|+ '''Protected Non-Abstract methods to work on'''
! Modifier !! Method Name !! Tests Cases !! Status !! ToDo
|-
| protected || boolean indexNameMatches(String sMetadataName, int nMetaStart, String sPhysicalName, String sPrefix, boolean bCaseInsensitive)|| testNew(), no implementation in MySQL, but it's called from <code> indexNameMatches (Index, String) </code> || not started || ---
|-
|-
| public || void close(Connection connection)|| All the tests (After commit, closes the conncetion) ||---|| --- || not started || ---
|-
| public || SQLConnection getConnection(Query query) throws SQLException|| All the tests ||---|| --- || not started || ---
|-
| public || String getInitialSQL() || Before any test and during testMatch() (Gets SQL statement to execute when a connection is first established) ||---|| --- || not started || ---
|-
| public || Table getMatchJoin(Column column, Pair expression) || testMatch() (see the comment for appendMatchStatement() in SQLAdapter) ||---|| --- || not started || ---
|-
| public || void setFetchSize(PreparedStatement stmt, Query query) throws SQLException || All the tests EXCEPT testUpgrade(), testSQLUpdateDenorm() ||---|| --- || not started || ---
|-
|}
==MySQLAdapter.java==
{| class="wikitable sortable" border="1" cellpadding="5"
|+'''Methods specific to MySQL'''
! Modifier !! Method !! Tests Cases !! Status !! ToDo
|-
| protected || void appendMatchLiteral(StringBuffer buf, String sValue) || --- || not started || ---
|-
| protected ||void appendMatchExpression(StringBuffer buf, Object expression, boolean bMax) || testMatch() || not started || ---
|-
| protected ||String getIndexName(Table table, int nId) || testNew() --- see comments for <code>boolean indexNameMatches</code> in SQLAdapter.java|| not started || ---
|-
|}
|-
|}