Hi,

I am trying to use jooq without generated code.  So far, I've had luck 
substituting in  DSL.tableByName where I need a Table<Record>.  (Is this a 
good idea?).

I was able to export code like this:

CREATE.selectFrom(DSL.tableByName("mytable")).fetch().formatCSV(';')

However, this import code won't compile because it requires a Table<R>

CREATE.loadInto(DSL.tableByName("mytable")).loadCSV(new File("mytable.csv"
)).fields(DSL.fieldByName("f1"), DSL.fieldByName("f2"), DSL.fieldByName("f3"
), DSL.fieldByName("f4")).execute();

Is there a way around this without code generation?

Ryan

-- 
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/groups/opt_out.


Reply via email to