0

I am aware of liquibase:diff which could give me the difference scripts between my databases.

I am trying to generate the difference scripts between my database and my jpa entity.

I have my hibernate orm.xml of my jpa entity and I want to find out the difference scripts using liquibase-hibernate plugin.

Is this possible, if so how can it be achieved?

JITHIN_PATHROSE
  • 1,134
  • 4
  • 14
  • 29

1 Answers1

0

Documentation here indicates it is possible to compare a hibernate entity model: https://www.liquibase.org/blog/liquibase-diffs.

Although I have not tried this, I think you would use org.hibernate.dialect.<specificdb> for the driver.

ronak
  • 628
  • 5
  • 11