-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to generate entity classes with MySQL request? #21
Comments
Telosys can do that from the database tables created by this script but not from the script itself (you need a database to create a "db model"). Telosys has been thought to replace the developer, therefore it positions itself before the compilation/build phase. Moreover Telosys is usable to generate any kind of languages (not only Java). So, there's no Maven plugin. |
Can I add Telosys-cli as a library from my project and to configure it from Java code? Can I find it in Maven? |
Telosys is not published on Maven central but you can just add the JAR "telosys-cli-3.X.X-xxx.jar" in you project libs. It's a "fat jar" and it contains everything you need (including Telosys-API). |
I was wondering if I can ask for an example that uses this "jar" to automatically create the dm model and classes from MySQL? |
The best example is probably the "new db model" command in Telosys-CLI itself. |
Hello, here is a MySQL script below. Can Telesys-cli create classes with Hibernate annotations based on this script? How to launch it during the build of the Java Maven project?
The text was updated successfully, but these errors were encountered: