Class ListUtilities
java.lang.Object
org.mybatis.generator.codegen.mybatis3.ListUtilities
Couple of little utility methods to make dealing with generated always
columns easier. If a column is GENERATED ALWAYS, it should not
be referenced on an insert or update method.
If a column is identity, it should not be referenced on an insert method.
- Author:
- Jeff Butler
-
Method Summary
Modifier and TypeMethodDescriptionstatic List
<IntrospectedColumn> static List
<IntrospectedColumn>
-
Method Details
-
removeGeneratedAlwaysColumns
public static List<IntrospectedColumn> removeGeneratedAlwaysColumns(List<IntrospectedColumn> columns) -
removeIdentityAndGeneratedAlwaysColumns
public static List<IntrospectedColumn> removeIdentityAndGeneratedAlwaysColumns(List<IntrospectedColumn> columns)
-