Jira issue originally created by user @beberlei:
Any custom type could use vendors column comment functionalities to allow more details on the specific type of a column that can be used inside the "listTableColumns()" method.
Comment created by @beberlei:
MySQL, postfix column with "COMMENT 'The KEY obviously'"
Postgres, COMMENT syntax (another SQL statement, narf!): http://www.postgresql.org/docs/8.3/static/sql-comment.html
Oracle, COMMENT syntax (another SQL statement): http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/statements_4009.htm
Mssql: (woah this is ugly) http://msdn.microsoft.com/en-us/library/ms180047.aspx
Implemented for Oracle, PostgreSQL and MySQL.
Now for Array and Object types a Column Comment is appended of the format "(DC2Type:$type)" which is parsed when reading from the database.
Issue was closed with resolution "Fixed"