title: Run code after Hibernate updates database schema?
body: <p>Is there a way to register some kind of SchemaExportEventListener (that's a name I've chosen) with Hibernate, so that after it has generated the DDL we can make some updates (which Hibernate doesn't support) to the database?</p>
  
  <p>We need to set a case-insensitive unique constraint on a PostgreSQL column, and while this is perfectly possible in PostgreSQL, it doesn't seem possible within Hibernate/JPA annotations (neither <code>@Table(uniqueConstraint)</code> nor <code>@Column(columnDefinition)</code> nor <code>@Column(unique)</code> quite do what we want).</p>