- [#5917] Add Settings.parseUnsupportedSyntax to define behaviour when a parser error occurs - [#7171] Parse unsupported SPATIAL INDEX and FULLTEXT INDEX syntax
This commit is contained in:
parent
c58270578c
commit
26053ad80f
45
jOOQ/src/main/java/org/jooq/conf/ParseUnsupportedSyntax.java
Normal file
45
jOOQ/src/main/java/org/jooq/conf/ParseUnsupportedSyntax.java
Normal file
@ -0,0 +1,45 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
package org.jooq.conf;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for ParseUnsupportedSyntax.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="ParseUnsupportedSyntax">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="FAIL"/>
|
||||
* <enumeration value="IGNORE"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "ParseUnsupportedSyntax")
|
||||
@XmlEnum
|
||||
public enum ParseUnsupportedSyntax {
|
||||
|
||||
FAIL,
|
||||
IGNORE;
|
||||
|
||||
public String value() {
|
||||
return name();
|
||||
}
|
||||
|
||||
public static ParseUnsupportedSyntax fromValue(String v) {
|
||||
return valueOf(v);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user