-
Notifications
You must be signed in to change notification settings - Fork 6
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
In addition to writing SQL queries, what is the effort needed for executing SQL queries? (e.g., database setup? configuration file? mapping object/database?) #2
Comments
I have the intention to close this issue =) |
I'm on it |
I work on it too |
There are two mains steps: 1)Configuration
2)Use
This DSLContext can be use for queries. Links:
|
Notes on the xml configuration file:
Notes on the generation of the classes:Schema generation can then be done by using JOOQ's command line tools. To do so, 3 JOOQ jar files, the MySQL Connector jar file and the xml configuration file are necessary.
Note: jOOQ will try loading the xml configuration file from the classpath. This is also why there is a trailing period (.) on the classpath. If the file cannot be found on the classpath, jOOQ will look on the file system from the current working directory. |
Notes on the generation of the classes : It's possible a create a property file instead of a xml file. #Database connection We can also specify, the following items :
Then, type the following command :
|
No description provided.
The text was updated successfully, but these errors were encountered: