java - Importance of implementing VersionType,LiteralType for custom hibernate Type -


i implemented custom utctimestamptype in hibernate save time in utc.like discussed here. in post suggested on ridden methods delegated timestamptype. not sure of role these methods play, ok delegate timestamptype? importance of over-riding below methods , correctly:

1 . string[] getregistrationkeys() in org.hibernate.type.basetype 2.  seed, next, getcomparator in org.hibernate.type.versiontype<t> 3.  objecttosqlstring in org.hibernate.type.literaltype