Best to use GenerationType.SEQUENCE
since it is highly optimized for postgres, avoids unnecessary SELECT statements
In order to create an index on a column of type "inet" (internet address, a.k.a IP), you must use a GIST tree, explicitly enabling inet_ops