Hi ,
I have created a Enum Type on Postgres :
CREATE TYPE discipline AS ENUM (
'PLAT',
'ATTELE',
'HAIE',
'STEEPLECHASE',
'MONTE',
'CROSS');
Joog generated the following class that failed to compile :
*com.donpinna.turf.jooq.enums.Discipline is not abstract and does not override
abstract method getCatalog() in org.jooq.EnumType*
/**
* This class is generated by jOOQ
*/
package com.donpinna.turf.jooq.enums;
import com.donpinna.turf.jooq.Public;
import javax.annotation.Generated;
import org.jooq.EnumType;
import org.jooq.Schema;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.8.5"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public enum Discipline implements EnumType {
PLAT("PLAT"),
ATTELE("ATTELE"),
HAIE("HAIE"),
STEEPLECHASE("STEEPLECHASE"),
MONTE("MONTE"),
CROSS("CROSS");
private final String literal;
private Discipline(String literal) {
this.literal = literal;
}
/**
* {@inheritDoc}
*/
@Override
public Schema getSchema() {
return Public.PUBLIC;
}
/**
* {@inheritDoc}
*/
@Override
public String getName() {
return "discipline";
}
/**
* {@inheritDoc}
*/
@Override
public String getLiteral() {
return literal;
}
}
I'm using jooq version 3.9.1.
Any help would be appreciate .
Thanks
--
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.