Hi James,

Thanks for reporting this. This is a bug. I have created #2522 for this.
https://github.com/jOOQ/jOOQ/issues/2522

This bug may be related to another bug that was fixed some time ago.
https://github.com/jOOQ/jOOQ/issues/1693

Cheers
Lukas


2013/6/12 <[email protected]>

> Hi,
>   i have found a problem while mapping a different schema at runtime; the
> mapping doesn't work with udts (types and records).
>   the piece of code involved in the mapping operation is the following
>
>   DataSourceConnectionProviderFactory dsFactory =
> DataSourceConnectionProviderFactory.getInstance(config);
>   ConnectionProvider cp = dsFactory.getDataSourceConnectionProvider(type,
> ds);
>   Settings st = new Settings()
> .withRenderMapping(new RenderMapping()
> .withSchemata(
> new MappedSchema().withInput("DEV").withOutput("PRODUCTION")));
>   Configuration cfg = new
> DefaultConfiguration().set(cp).set(dialect).set(st);
>   return DSL.using(cfg);
>
>   The same problem occurs if classes are generated by the generation tool
> (input/output schema defined in configuration xml).
>
> Is this a bug or am I doing something wrong?
>
> thanks
> James
>
>  --
> 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.
>
>
>

-- 
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