Problem with foreignKeyConstraintExists without specifying the schema

Hello

I have a problem with the “foreignKeyConstraintExists” condition, I don’t want to specify a schema name in the changeLog as it can change between dev / stage / prod database …
So the schema name is given by a property used in the Ant task (in the defaultSchemaName attribute).

Everything was good except that if i try to use the condition, Liquibase dont prefix it with the defaultSchemaName and so don’t find the foreign key …

Is this a bug or the normal way of work for condition ??

Regards

What version of liquibase and database are you using?  It should be able to find it in the default schema without the schemaName specified.

Nathan

Oups
Sorry i forgot to mention it
Liqquibase 1.9.5
Oracle 11G
Windows 2003 R2