I've read this in the latest hibernate document https://docs.jboss.org/hibernate/orm/5.5/userguide/html_single/Hibernate_User_Guide.html#schema-generation-database-objects
However, the document only shows how to create the database object in XML mapping. I think XML is more or less old-style, and currently, I created all entity mapping with annotations, don't want to create an XML just for that. Is it possible to do it with annotation?
