Specify GenerationType for PostgreSQL (source: http://stackoverflow.com/a/10628670/1308142)