Still working on generation i wish to add the spring @Repository on all the
generated DAOs because i'm lazy to write a spring context file declaring
all beans and that will be more generic.
But based on the following example, i could not find how. I wish a method
like strategy.getJavaAnnotation(TableDefinition, Mode) exist ?
package com.example.tables;// 1: ^^^^^^^^^^^^^^^^^^public class Book extends
TableImpl<com.example.tables.records.BookRecord> {// 2: ^^^^
3: ^^^^^^^^^^
public static final Book BOOK = new Book();// 2: ^^^^
4: ^^^^
public final TableField<BookRecord, Integer> ID = /* ... *///
3: ^^^^^^^^^^ 5: ^^ }
// 1: strategy.getJavaPackageName(table)// 2:
strategy.getJavaClassName(table)// 3: strategy.getJavaClassName(table,
Mode.RECORD)// 4: strategy.getJavaIdentifier(table)// 5:
strategy.getJavaIdentifier(column)
--
You received this message because you are subscribed to the Google Groups "jOOQ
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.