hbwf / mybatis

Automatically exported from code.google.com/p/mybatis
0 stars 0 forks source link

MyBatis Generator : Add SQL wildcards support to attribute 'column' in <columnOverride> #167

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the MyBatis are you using?
3.0.2

Please describe the problem.  Unit tests are best!
Would like to use SQL wildcards for attribute 'column' in <columnOverride>, in 
MyBatis Generator config file.

What is the expected output? What do you see instead?
ex :
<table tableName="%">
    <columnOverride column="PREFIX_%"
        javaType="javaType"
        typeHandler="myTypeHandler" />
</table>

Please provide any additional information below.

Original issue reported on code.google.com by adrien.c...@gmail.com on 8 Nov 2010 at 3:10

GoogleCodeExporter commented 9 years ago

Original comment by jeffgbut...@gmail.com on 11 Dec 2010 at 12:10

GoogleCodeExporter commented 9 years ago
Get loan at laurahilsfunds@skymail.mn

Original comment by lorahill...@gmail.com on 14 Apr 2012 at 12:32

GoogleCodeExporter commented 9 years ago
It would be really useful to convert columns that contains boolean values (ie. 
flags) in databases that do not support the BOOLEAN type (ie. oracle) using a 
prefix convention in column names (ie. FLAG_%)

Original comment by axa1...@gmail.com on 18 Sep 2012 at 10:09

rkoshy commented 8 years ago

It's also useful for converting CHAR(1) to 'char'