Class CockroachDB202SpatialDialect

    • Constructor Detail

      • CockroachDB202SpatialDialect

        public CockroachDB202SpatialDialect()
    • Method Detail

      • contributeTypes

        public void contributeTypes​(TypeContributions typeContributions,
                                    ServiceRegistry serviceRegistry)
        Description copied from class: Dialect
        Allows the Dialect to contribute additional types
        Overrides:
        contributeTypes in class CockroachDB192Dialect
        Parameters:
        typeContributions - Callback to contribute the types
        serviceRegistry - The service registry
      • equivalentTypes

        public boolean equivalentTypes​(int typeCode1,
                                       int typeCode2)
        Description copied from class: Dialect
        Do the given JDBC type codes, as defined in Types represent essentially the same type in this dialect of SQL? The default implementation treats NUMERIC and DECIMAL as the same type, and FLOAT, REAL, and DOUBLE as essentially the same type, since the ANSI SQL specification fails to meaningfully distinguish them.
        Overrides:
        equivalentTypes in class Dialect
        Parameters:
        typeCode1 - the first JDBC type code
        typeCode2 - the second JDBC type code
        Returns:
        true if the two type codes are equivalent