Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <configuration xmlns="http://www.jooq.org/xsd/jooq-codegen-3.10.0.xsd">
- <!-- Configure the database connection here -->
- <jdbc>
- <driver>com.mysql.jdbc.Driver</driver>
- <url>jdbc:mysql://localhost:3306/library</url>
- <user>root</user>
- <password></password>
- </jdbc>
- <generator>
- <!-- The default code generator. You can override this one, to generate your own code style.
- Supported generators:
- - org.jooq.util.JavaGenerator
- - org.jooq.util.ScalaGenerator
- Defaults to org.jooq.util.JavaGenerator -->
- <name>org.jooq.util.JavaGenerator</name>
- <database>
- <!-- The database type. The format here is:
- org.util.[database].[database]Database -->
- <name>org.jooq.util.mysql.MySQLDatabase</name>
- <!-- The database schema (or in the absence of schema support, in your RDBMS this
- can be the owner, user, database name) to be generated -->
- <inputSchema>library</inputSchema>
- <!-- All elements that are generated from your schema
- (A Java regular expression. Use the pipe to separate several expressions)
- Watch out for case-sensitivity. Depending on your database, this might be important! -->
- <includes>.*</includes>
- <!-- All elements that are excluded from your schema
- (A Java regular expression. Use the pipe to separate several expressions).
- Excludes match before includes, i.e. excludes have a higher priority -->
- <excludes></excludes>
- </database>
- <target>
- <!-- The destination package of your generated classes (within the destination directory) -->
- <packageName>test.generated</packageName>
- <!-- The destination directory of your generated classes. Using Maven directory layout here -->
- <directory>C:/workspace/MySQLTest/src/main/java</directory>
- </target>
- </generator>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement