How can i force hibernate to save ipBytes as BINARY type?

Check out this answer: