hbm2ddl does not take into account table name defined in @JoinTable annotation and thus might lead to unexpected errors like identifier too long on Oracle. this started to be visible after upgrade to hibernate 5 which resulted in recent bug report for jBPM running on Oracle: https://issues.jboss.org/browse/JBPM-5729 Please let me know if there are any other details needed to help resolve this. |