Issue Details (XML | Word | Printable)

Key: DBMIGRATION-2
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Fabrizio Giustina
Reporter: Danilo Ghirardelli
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
DBMigration

Add the possibility to execute a task list only for specific database vendors.

Created: 02/Oct/09 16:56   Updated: 31/Mar/10 22:11   Resolved: 31/Mar/10 22:11
Component/s: None
Affects Version/s: 2.0.7
Fix Version/s: 2.0.8

File Attachments: 1. Java Source File DatabaseConditionalTaskList.java (4 kB) 02/Oct/09 16:56 - Danilo Ghirardelli



 Description  « Hide

Now dbMigration can't differentiate between database vendors or version. With the class attached is possible to add a task list specific for a database vendor (i.e. "Oracle", "PostgreSQL", "MySQL", "Apache Derby"...) or for a single version of the previous (i.e. you may want a script to be executed only in Oracle 8 and not in Oracle 9).
This way is possible to use dbMigration to really "migrate" from one vendor to another or from different versions of a database.



Danilo Ghirardelli added a comment - 02/Oct/09 16:59

I already committed the class (maybe a little formatting is needed), you can close the issue if you accept the improvement.