| I agree mapping to Long is probably a more common expectation. It definitely matches better the JDBC spec for implicit type mapping, but if you mean the JPA spec you'll have to point out a section/passage because I am unaware of the JPA spec implying this in any way. |