Glad if it's of any help 😀
Thanks for the info. I've created the integration test (and the test passed) and made another merge-request here: https://sourceforge.net/p/dbunit/code.git/merge-requests/33/ You can ignore its previous merge-request (32), in which I forgot to remove PostgreSQLOidDataTypefrom the wrong location.
You're welcome. It's a note for the merger, I will check them again and remove after confirming. Same a point 1 For the adjustments: 1. Will do that, I also think that package is more suitable for the class 2. OK, I will look into that SQLHelperDomainPostgreSQLIT class. Do you have a short intro how to write/run integration tests? 3. OK, will add. How do I add the original author of the code to change.xml, using a comma like the following? due-to="mfrechePgest,ibic" One more question: I guess there...
I just post a reply with some questions in the merge-request, just in case you don't receive notification there.
You're welcome. It's a note for the merger, I will check them again and remove after confirming. Same a point 1 For the adjustments: 1. Will do that, I also think that package is more suitable for the class 2. OK, I will look into that SQLHelperDomainPostgreSQLIT class. Do you have a short intro how to write/run integration tests? 3. OK, will add. One more question: I guess there are probably changes in your upstream repository, do I need to pull & rebase in my repo to make the changes? Or I just...
Thanks for notifying. Somehow (maybe due to my account settings), I never receive any email notification after your made your comments in the pull-requests... I will reply your comments (and probably ask questions) there and make some changes neccessary. I'm a bit busy in the next two days, but probably should get back to you before end of this weekend.
Thanks for the pointers, I made a merge request here (with comments on things to note about this change): https://sourceforge.net/p/dbunit/code.git/merge-requests/31/
You're welcome and thanks for following up this issue. I'm afraid your second paragraph isn't totally accurate :) - Let me clarify: My situation is a very special case (I'd say the bizzare problem was introduced by the DDL creator), so for dbunit's sake, we can totally forget about it (the Text type). I think the OP's naming of the file (PostgreSQLOidDataType.java) is correct - PostgreSQL's OID should be mapped to bytea/blob (byte[] in Java) only, and we only need this one file to handle it. The...
You're welcome and thanks for following up this issue. I'm afraid your second paragraph isn't totally accurate :) - Let me clarify: My situation is a very special case (I'd say the bizzare problem was introduced by the DDL creator), so for dbunit's sake, we can totally forget about it (the Text type). I think the OP's naming of the file (PostgreSQLOidDataType.java) is correct - PostgreSQL's OID should be mapped to bytea/blob (byte[] in Java) only, and we only need this one file to handle it. The...
That was some fast reply :) The scenario is like this: I was trying to migrate the database from PostgreSQL to MySQL using some tools/scripts that come with the proudct (it's actually just calling dbunit from ant). However, after migration, the product won't work properly with the migrated MySQL database. After some investigation, I found that the original PostgreSQL DDL is using OID for some table columns, and a default export will generate BigInt numbers as the contents for these columns, so after...
Thanks, this helped me in migrating from PostgreSQL to MySQL.