i\'m using the Persitence class from javax for generating SQL scripts from our entities. And it works just fine, for the project where i\'am currently in. Here is the code: