best practice for migrating from mysql

you could just point directly to long instead of creating a method