don't use "max" generator since only present for RDBMS