Hi!

    I don't know what is wrong. When generating DAOs, the code does not 
compile. Witout DAOs it is ok.

SomethingDao.java:12: error: type argument SomethingRecord is not within 
bounds of type-variable R
    [javac] public class SomethingDaoextends 
org.jooq.impl.DAOImpl<com.tables.records.SomethingRecord, 
com.tables.pojos.Something, java.lang.Integer> {
    
[javac]                                                                         
                     
^
    [javac]   where R is a type-variable:
    [javac]     R extends UpdatableRecord<R> declared in class DAOImpl

config:
    <generator>
        <name>org.jooq.util.DefaultGenerator</name>
        <database>
            <name>org.jooq.util.oracle.OracleDatabase</name>
            <includes>.*</includes>
            <excludes></excludes>
            <recordVersionFields></recordVersionFields>
            <recordTimestampFields></recordTimestampFields>
            <dateAsTimestamp>false</dateAsTimestamp>
            <unsignedTypes>true</unsignedTypes>
            <inputSchema>booker</inputSchema>
        </database>
        <generate>
            <relations>false</relations>
            <navigationMethods>true</navigationMethods>
            <deprecated>true</deprecated>
            <instanceFields>true</instanceFields>
            <generatedAnnotation>true</generatedAnnotation>
            <records>true</records>
            <pojos>false</pojos>
            <immutablePojos>false</immutablePojos>
            <interfaces>false</interfaces>
            <daos>true</daos>
            <jpaAnnotations>false</jpaAnnotations>
            <validationAnnotations>false</validationAnnotations>
        </generate>
        <target>
            <packageName>com</packageName>
            <directory>./gen/</directory>
        </target>
    </generator>

Thanks for any help,
Pavol

PS: Just starting with jooq, I thought to give it a shot.

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