use long for primary key
schema changes
Merge pull request #532 from patriot1burke/master

jpa schema changes