Hi Lukas,

looks like I need some help from you.
Currently, I have an interface which looks like this:

public interface IdentifiableDomain<PK extends Serializable> {
    PK getPrimaryKey();
}

Now I also have a generator class:

public class DomainGenerator extends JavaGenerator {

    @Override
    protected void generatePojoClassFooter(TableDefinition table, JavaWriter 
out) {
        UniqueKeyDefinition primaryKey = table.getPrimaryKey();
    }

}

And now, I don't know how to get any further. How can I get the specific 
primary key type from UniqueKeyDefinition?

Thanks a lot...

ciao
Christian

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