Added a equals test to test it with proxy, added SequenceGenerator with sequence name so it is portable from Hibernate to EclipseLink.