Possible to get the current databasedriver for a custumchange?


i want to create some customchangeclasses. Each class needs different sql, each for sqlserver and oracle.

My idea would be to change the rawsql if driver == oracle/sql.

So is it possible to get the current connectionproperties/driver in the customchangeclass?



nvm just got it… seems to be saved in the ‘database’ variable. So a simple toString and  .contains works.

kk, i should think before writing 'stupid' stuff ;)

database.getTypeName(); does the trick