A new topic, 'Dynamic, sql-based custom change class', has been made on a board you are watching.
You can see it at
http://liquibase.org/forum/index.php?topic=167.new#newThe text of the topic is shown below:
This is more of a question of style.
I'm implementing a custom change class that is currently querying the database to programmatically figure out what data to modify using Stmts, ResultSets and DatabaseMetaData from:
Code:
database.getConnection().getUnderlyingConnection()
I'm wondering if I should:
a) issue the queries that actually modify the database from the change class itself, or
b) return them as an array of Strings - after using queries to determine what they should be
I'm leaning towards a) as it seems like 1 less step but wondering if there is any problem with modifying the database directly from a custom change. Should I just implement CustomTaskChange in this case?
Unsubscribe to new topics from this board by clicking here:
http://liquibase.org/forum/index.php?action=notifyboard;board=1.0Regards,
The LiquiBase Community Forum Team.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user