@ Override public Sql [ ] generateSql ( final InsertStatement statement , final Database database , final SqlGeneratorChain sqlGeneratorChain ) { for ( final Entry < String , Object > entry : statement . getColumnValues ( ) . entrySet ( ) ) { entry . setValue ( handleColumnValue ( entry . getValue ( ) , database ) ) ; } return super . generateSql ( statement , database , sqlGeneratorChain ) ; }
Find any fields that look like WKT or EWKT and replace them with the database - specific value .