Skip to content

Missing variable replacement translation #56

@joncarmignani

Description

@joncarmignani

Ibatis used to allow type-specified variable replacements as follows:
#varName:DECIMAL#

It looks like only one of these types is translated (VARCHAR).
So #myText:VARCHAR# translates to #{myText,jdbcType=VARCHAR}, but the above example is left untouched.

I wrote a regex pair to to the replacement. Not sure if this helps with XSLT, but here you go:
Find:
#(\w+):([A-Z]+)#

Replace:
#{$1,jdbcType=$2}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions