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.

Reply via email to