Annotation Type Lang


@Documented
@Retention(RUNTIME)
@Target(METHOD)
public @interface Lang
The annotation that specify a LanguageDriver to use.

How to use:

 public interface UserMapper {
   @Lang(MyXMLLanguageDriver.class)
   @Select("SELECT id, name FROM users WHERE id = #{id}")
   User selectById(int id);
 }
 
Author:
Clinton Begin