Hibernate generateChangeLog does not write schemas

Hey, i'm having a problem with generating changeLogs from Hibernate annotations.

Somehow Liquibase does not create the 'schemaName' attributes when generating a changeLog, so all tables, keys etc. are created in the defaultSchema.

Is that a bug or is there some command to get these attributes?

 

 

I'm using the Liquibase Main.main() class with the following params..

{"--url","hibernate:hibernate.cfg.xml","--changeLogFile","changeLog.xml","generateChangeLog"}

 

and annotations like this:

@Entity

@Table(name = "my_table", schema = "my_schema")