I am trying to extract data out a table that contains internationalization
strings, and the columns are named after i18n codes.
These are obviously reserved words, so the column names were double-quoted
when inserted.
org.dbunit.dataset.DataSetException: org.postgresql.util.PSQLException:
ERROR: column "en_us" does not exist
at org.dbunit.database.DatabaseDataSet.getTable(DatabaseDataSet.java
:234)
at org.dbunit.database.DatabaseTableIterator.getTable(
DatabaseTableIterator.java:70)
at org.dbunit.dataset.stream.DataSetProducerAdapter.produce(
DataSetProducerAdapter.java:61)
at org.dbunit.dataset.xml.FlatXmlWriter.write(FlatXmlWriter.java:86)
at org.dbunit.dataset.xml.FlatXmlDataSet.write(FlatXmlDataSet.java:238)
Is there a way around this error using DBUnit? It seems to die when trying
to access double-quoted named columns.
|