Which dialect to use for DB2 on z/OS

For now, the DB2390Dialect is probably the most appropriate. In Hibernate 6 we fixed quite a few of the missing features by introducing a DB2zDialect. If you want sequence support, you should extend the dialect and override the appropriate methods.