ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darek Dober" <doover...@op.pl>
Subject synchronization between DB and ibatis sqlmaps
Date Wed, 20 Jul 2005 12:02:47 GMT
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
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