I\'m playing around with some JPA stuff, changing the mappings to see how they\'re supposed to be etc. It\'s basic experimentation. However I can\'t find a tool that will si
Antonio Goncalves says in his blog about API to generate the schema. In JPA 2.1 generateSchema method was introduced for this purpose.
Example from blog:
public class Main { public static void main(String[] args) { Persistence.generateSchema("samplePU", null); } }