I'm pretty sure you've been looking at the wrong manual version for the jOOQ version you're using.
Unfortunately, we're exposing internal API through that particular section of the manual, suggesting users to create DefaultConfigurations using package-private constructors through Spring. We'll fix that issue in future versions of jOOQ, where we'll provide example documentation that doesn't use internal API. https://github.com/jOOQ/jOOQ/issues/3328 Sorry for the inconvenience. Cheers Lukas 2014-06-08 12:16 GMT+02:00 Mostafa Shafeian <[email protected]>: > Hi everybody > I used jood with spring in eclipse.In configuration file I wrote: > <bean class="org.jooq.impl.DefaultConfiguration" name="config"> > <constructor-arg index="0" ref="connectionProvider" /> > <constructor-arg index="1"><null /></constructor-arg> > <constructor-arg index="2"><null /></constructor-arg> > <constructor-arg index="3"> > <list> > <bean class="org.jooq.impl.DefaultExecuteListenerProvider"> > <constructor-arg index="0" > ref="exceptionTranslatorJooq"/> > </bean> > </list> > </constructor-arg> > <constructor-arg index="4"><null /></constructor-arg> > <constructor-arg name="dialect"><value > type="org.jooq.SQLDialect">ORACLE</value></constructor-arg> > </bean> > But I get an error: > Error creating bean with name 'config' defined in class path resource > [spring1.xml]: Could not resolve matching constructor (hint: specify > index/type/name arguments for simple parameters to avoid type ambiguities) > How can solve this problem? > thnks > > -- > 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. > -- 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.
