A code generator for quill-cache DAOs.
Download this project:
$ git clone https://github.com/mslinn/quill-gen.git
$ cd quill-gen
To view the help message using the included bin/run script:
$ bin/run --help
QuillGen 0.2.0
Generate quill-cache DAOs.
Usage: quillGen [options] Class1, Class2, etc
-p, --package <value> Package for generated quill-cache DAOs (defaults to model.dao)
-d, --outputDir <value> Directory to write generated quill-cache DAOs to (defaults to target/quillGen/)
-c, --cache <value> Type of cache for the DAOs being created (case insensitive, can be NONE, SOFT or STRONG, defaults to STRONG)
Class1, Class2, etc Names of domain objects to generate DAOs for
--help prints this usage text
Example usages:
- Write generated DAO with strong cache for
Blahtotarget/quillGen/model/dao/Blahs.scalabin/run Blah - Write generated DAOs with strong cache for
Blah,FooandBartotarget/quillGen/model/dao/{Blahs,Foos,Bars}.scalabin/run Blah Foo Bar - Write generated DAO with strong cache for
Blahtosrc/main/scala/model/dao/Blahs.scalabin/run -d src/main/scala/ Blah - Write generated DAO with strong cache for
Blahtosrc/main/scala/Blahs.scalabin/run -d src/main/scala/ -p "" Blah - Write generated DAO with strong cache for
Blahtotarget/quillGen/Blahs.scalabin/run -p "" Blah - Write generated DAO without a cache for
Blahtotarget/quillGen/model/dao/Blahs.scalabin/run -c none Blah - Write generated DAO with a soft cache for
Blahtotarget/quillGen/model/dao/Blahs.scalabin/run -c soft Blah
