Skip to content

logilitedev/llp-JooqCodeGenerationTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llp-jooq_codeGenerationTool

  • This project for jooq Tables and Records object creation.
  • In joust we are using jooq-3.4.4 so jooq query require to create tables and records object based on this version.

Database and Location Setup

  • Open joust.xml and setup jdbc configurations.
  • Replace {LOCATION} with your target location (Location at you want to generate code)
    • Like, /home/llp/Joust/src/main/java

How to generate code in linux and window machine.

  • For Linux use this command line:

    java -classpath jooq-3.4.4.jar:jooq-meta-3.4.4.jar:jooq-codegen-3.4.4.jar:mysql-connector-java-5.1.26.jar:. org.jooq.util.GenerationTool joust.xml
    
  • For Windows use this command line:

    java -classpath jooq-3.4.4.jar;jooq-meta-3.4.4.jar;jooq-codegen-3.4.4.jar;mysql-connector-java-5.1.26.jar;. org.jooq.util.GenerationTool joust.xml 
    
  • Help of Eclipse :

    • Go to Run Configurations -> Java Application.
    • Create New Configuration.
    • Select Main tab and adding Main Class org.jooq.util.GenerationTool
    • Adding joust.xml inside program arguments.
    • Go to Classpath tab and adding following Extrenal JARs
      • jooq-3.4.4.jar
      • jooq-meta-3.4.4.jar
      • jooq-codegen-3.4.4.jar
      • mysql-connector-java-5.1.26.jar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published