BigInteger columns on H2
On H2 a BigInteger attribute now gets a NUMERIC column instead of a BIGINT column, and so does a foreign key referencing a BigInteger primary key (OPENJPA-3058).
A BIGINT column cannot hold a value with more than 19 digits, so storing such a value failed with Numeric value out of range.
Tables created by earlier releases are not altered by the mapping tool or SynchronizeMappings and keep their BIGINT columns, which still work for values in the range of a long.
To store larger values, alter the columns, for example ALTER TABLE ACCOUNT ALTER COLUMN BALANCE SET DATA TYPE NUMERIC, including the foreign key columns that reference a BigInteger primary key.