Entity mapping - rafalkieras/jpa-kss GitHub Wiki
#Entity mapping
There are two ways to specify that the class is an entity, either via annotations or xml file.
Example showing both ways is available in entity-mapping module.
XML mapping always overrides annotations.