Saved Bookmarks
| 1. |
What Is The Purpose Of @typeconversion Annotation Annotation? |
|
Answer» This ANNOTATION annotation is used for class and APPLICATION wide CONVERSION rules. The TypeConversion annotation can be applied at property and method level. @TypeConversion(rule = ConversionRule.COLLECTION, CONVERTER = "java.util.String") public VOID setUsers( List users ) { this.users = users; } This annotation annotation is used for class and application wide conversion rules. The TypeConversion annotation can be applied at property and method level. @TypeConversion(rule = ConversionRule.COLLECTION, converter = "java.util.String") public void setUsers( List users ) { this.users = users; } |
|