We might also have a look at @Convert and @Converter of JPA 2.1. It is somehow similar to the third option. It also offers an auto-convert option which comes back to the original proposal. I kind of like the idea of aligning the two approaches.