Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 262 Bytes

MysqlParticularities.md

File metadata and controls

7 lines (5 loc) · 262 Bytes
// we force the value to int cause mysql AUTO_GENERATED always returns Long instead of Int
val id = m.int(JobPositionEntity.id)
  • Serial columns are returned as java.math.BigInteger. Again the implicit convertor or m.int will convert those to int.