Advertisement
Guest User

Untitled

a guest
Feb 21st, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.96 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <configuration xmlns="http://www.jooq.org/xsd/jooq-codegen-3.10.0.xsd">
  3.   <!-- Configure the database connection here -->
  4.   <jdbc>
  5.     <driver>com.mysql.jdbc.Driver</driver>
  6.     <url>jdbc:mysql://localhost:3306/library</url>
  7.     <user>root</user>
  8.     <password></password>
  9.   </jdbc>
  10.  
  11.   <generator>
  12.     <!-- The default code generator. You can override this one, to generate your own code style.
  13.         Supported generators:
  14.         - org.jooq.util.JavaGenerator
  15.         - org.jooq.util.ScalaGenerator
  16.         Defaults to org.jooq.util.JavaGenerator -->
  17.     <name>org.jooq.util.JavaGenerator</name>
  18.  
  19.     <database>
  20.       <!-- The database type. The format here is:
  21.           org.util.[database].[database]Database -->
  22.       <name>org.jooq.util.mysql.MySQLDatabase</name>
  23.  
  24.       <!-- The database schema (or in the absence of schema support, in your RDBMS this
  25.           can be the owner, user, database name) to be generated -->
  26.       <inputSchema>library</inputSchema>
  27.  
  28.       <!-- All elements that are generated from your schema
  29.           (A Java regular expression. Use the pipe to separate several expressions)
  30.           Watch out for case-sensitivity. Depending on your database, this might be important! -->
  31.       <includes>.*</includes>
  32.  
  33.       <!-- All elements that are excluded from your schema
  34.           (A Java regular expression. Use the pipe to separate several expressions).
  35.           Excludes match before includes, i.e. excludes have a higher priority -->
  36.       <excludes></excludes>
  37.     </database>
  38.  
  39.     <target>
  40.       <!-- The destination package of your generated classes (within the destination directory) -->
  41.       <packageName>test.generated</packageName>
  42.  
  43.       <!-- The destination directory of your generated classes. Using Maven directory layout here -->
  44.       <directory>C:/workspace/MySQLTest/src/main/java</directory>
  45.     </target>
  46.   </generator>
  47. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement