| From the user guide: [1] "You should be aware that the @Formula annotation takes a native SQL clause which can affect database portability." http://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html#mapping-column-formula |