elnicko / diffkit

Automatically exported from code.google.com/p/diffkit
0 stars 0 forks source link

unrecognized dbType_->_POSTGRES_SERIAL with postgresql databases #71

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. PostgreSQL database
2. table with column of type "serial"
3. diff with org.diffkit.diff.conf.DKMagicPlan throws exception

What is the expected output? What do you see instead?
Caused by: java.lang.RuntimeException: unrecognized dbType_->_POSTGRES_SERIAL
        at org.diffkit.diff.sns.DKTableModelUtil.getModelType(DKTableModelUtil.java:202) [diffkit-app.jar:na]
        at org.diffkit.diff.sns.DKTableModelUtil.createDefaultColumnModel(DKTableModelUtil.java:97) [diffkit-app.jar:na]
        at org.diffkit.diff.sns.DKTableModelUtil.createDefaultTableModel(DKTableModelUtil.java:78) [diffkit-app.jar:na]
        at org.diffkit.diff.sns.DKDBSource.getModel(DKDBSource.java:284) [diffkit-app.jar:na]

What version of the product are you using? On what operating system?
diffkit 0.9.0
PostgreSQL 8.4

Please provide any additional information below.

Original issue reported on code.google.com by christia...@calorieking.com on 19 Jul 2011 at 10:31