| Yes, I meant the JDBC spec (for JPA I usually just follow the Hibernate documentation, so I wouldn't know much about the spec). For us it is mainly about entity ids (Long mapped to bigint), and selecting the ids in native queries where we want them to be returned as Long as well. |