Difference between revisions of "PostgreSQL Adapter Project - Code Review 2 Changes"
(→Classes) |
(→PostgreSQLAdapter) |
||
Line 44: | Line 44: | ||
* on instantiation create reference to PostgreSQLSchemaManager | * on instantiation create reference to PostgreSQLSchemaManager | ||
* reference schema manager for shared logic | * reference schema manager for shared logic | ||
− | | | + | |'''DONE''' |
| | | | ||
|- | |- | ||
Line 52: | Line 52: | ||
* get methods from interfaces and not implementations | * get methods from interfaces and not implementations | ||
* remove unnecessary class declarations | * remove unnecessary class declarations | ||
− | | | + | |'''DONE''' |
| | | | ||
|- | |- | ||
Line 110: | Line 110: | ||
|BIND_BLOB | |BIND_BLOB | ||
* track down why connection used for unittests has autoCommit enabled | * track down why connection used for unittests has autoCommit enabled | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | |unwrap | ||
+ | * Override unwrap and move logic in getPostgreSQLConnection to this method | ||
| | | | ||
| | | | ||
|} | |} | ||
− | |||
=== PostgreSQLSchemaManager === | === PostgreSQLSchemaManager === |
Revision as of 09:55, 11 July 2011
Contents
General
- Run server with connections file that has no port
Research
Task | Outcome |
---|---|
Why does DB add quotes to column names that where not original quoted e.g. if a column name contains $ ? | |
Check meta data that jdbc driver returns if column names are quoted e.g. name, value, cache | |
Check what happens if table with column sizes that exceeds page size for a row. If there is limit, then move virtual columns to tables instead | |
Are postgresql functions atomic? | |
Check if size of column storage for characters can be specified | |
What is the maximum return value for full-text search? |
Classes
Fix repository (DONE - Recreated the repository)
- Remove changeset that overwrites changes that came from NexJ repository
PostgreSQLAdapter
Task | Status | UnitTest |
---|---|---|
shared Logic with PostgreSQLSchemaManager
|
DONE | |
variables for reflection
|
DONE | |
BINB_BLOB
|
||
s_bindFactoryArray
|
||
appendMatchExpression
|
||
appendSuffixHint
|
||
appendTypeConversion
|
||
isUnicode
|
||
makeViewDummy
|
||
caseInsensitive
|
||
indexNameMatches
|
||
executeQuery
|
||
BIND_BLOB
|
||
unwrap
|
PostgreSQLSchemaManager
Task | Status | UnitTest |
---|---|---|
column iterator
|
||
Comparing Primitive
|
||
isLOB
|
||
getOwner
|
||
getDependentViews
|
||
appendColumnType
|
||
renameTable / renameColumn
|
||
appendColumnAlteration
|
||
appendIndexSuffix
|
||
isValidColumnName
|
||
toMetaDatacase
|
||
toMetaDatacase / isCaseInsensitiveColumn
|
||
getCaseSensitiveName
|
||
isImplicitConversion
|
||
unlinkLargeObjects
|
||
alterColumn
|
||
dropFulltextProcedure
|
||
createFulltextProcedure / dropFulltextProcedure
|
||
dropTable
|
||
dummyviews
|
||
getTableName
|
||
renameTable
|
||
getIndexName
|
||
appendTSIncrement
|
CaseInsensitiveSQLSchemaManager
Task | Status | UnitTest |
---|---|---|
appendSeparator / getAlterColumnToken
|
PostgreSQLAdapterTest
Task | Status | UnitTest |
---|---|---|
isComptatibleVersion
|
||
getUnicodeCheckGuard
|
sql.AllTests
Task | Status | UnitTest |
---|---|---|
default.config
|
SQLSchemaManager
Task | Status | UnitTest |
---|---|---|
isWindowsCompatiable
|
||
setMetadataDatabaseProperties
|
SQLCursor
Task | Status | UnitTest |
---|---|---|
create wrapper for preparestatement
|
JBossInstaller
Task | Status | UnitTest |
---|---|---|
installLoginConfig
|
Scripts
- Remove empty script files
postgresql_setup.sql
Task | Status | UnitTest |
---|---|---|
encoding and collation
|
||
add comment that locktimeout exception is not support on postgresql | ||
add procedure to check that all contrib modules have been installed |