ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: synchronization between DB and ibatis sqlmaps
Date Wed, 20 Jul 2005 14:06:03 GMT
Why wouldn't you have test cases to test your statements anyway?


On 7/20/05, Darek Dober <dooverone@op.pl> wrote:
> Do you have any solutions for that?
> Let's assume, that something changed in database, i.e names of tables or
> columns. And you forgot to change it.
> As far as I know I cannot check if sqlmap command is still valid, unless i
> execute it. It is difficult to execute and check all of the sqlmaps. Bean
> properties
> are checked at creation of ibatis instance so you get an error, but what 
> if
> something changed in database?
> One of the way is to write test case, which should test all of the sqlmaps
> against any changes.
> Is the simplier way to check correctness of all sqlmaps
> Darek Dober

View raw message