[jOOQ/jOOQ#9598] Fix race condition caused by Tools#PARSER
Since this package private field `Tools#PARSER` isn't used anywhere, it can just be deleted.
This commit is contained in:
parent
922b62b444
commit
aa35783e55
@ -190,6 +190,7 @@
|
||||
</database>
|
||||
<generate>
|
||||
<deprecated>false</deprecated>
|
||||
<generatedAnnotation>false</generatedAnnotation>
|
||||
</generate>
|
||||
<target>
|
||||
<packageName>org.jooq.example.db.oracle</packageName>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#Database Configuration
|
||||
db.driver=oracle.jdbc.OracleDriver
|
||||
db.url=jdbc:oracle:thin:@localhost:1521:xe
|
||||
db.url=jdbc:oracle:thin:@localhost:1521:ORCLCDB
|
||||
db.username=SP
|
||||
db.password=SP
|
||||
|
||||
|
||||
@ -103,7 +103,7 @@ public class OracleSpatialExamples extends Utils {
|
||||
System.out.println("Return the areas of all cola markets.");
|
||||
System.out.println("-------------------------------------");
|
||||
|
||||
dsl.select(SdoGeom.sdoArea2(c_a.SHAPE, val(0.005)))
|
||||
dsl.select(SdoGeom.sdoArea2(c_a.SHAPE, val(0.005), val("SQ_KM")))
|
||||
.from(c_a)
|
||||
.fetch()
|
||||
.map(Record1::value1)
|
||||
@ -117,7 +117,7 @@ public class OracleSpatialExamples extends Utils {
|
||||
System.out.println("Return the distance between two geometries.");
|
||||
System.out.println("-------------------------------------------");
|
||||
|
||||
dsl.select(SdoGeom.sdoDistance2(c_b.SHAPE, c_d.SHAPE, val(0.005)))
|
||||
dsl.select(SdoGeom.sdoDistance2(c_b.SHAPE, c_d.SHAPE, val(0.005), val("KM"), val("false")))
|
||||
.from(c_b, c_d)
|
||||
.where(c_b.NAME.eq("cola_b"))
|
||||
.and(c_d.NAME.eq("cola_d"))
|
||||
|
||||
@ -2962,7 +2962,6 @@ final class Tools {
|
||||
|
||||
|
||||
static final DSLContext CTX = DSL.using(new DefaultConfiguration());
|
||||
static final ParserImpl PARSER = (ParserImpl) CTX.parser();
|
||||
|
||||
/**
|
||||
* Return a non-negative hash code for a {@link QueryPart}, taking into
|
||||
|
||||
Loading…
Reference in New Issue
Block a user