You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
例如User类有列名id、username等,那么User类里面生成列名的常量定义: public class User { ...... static public final String ID = "id"; static public final String USERNAME = "username"; ...... }
这样方便其他地方用到,如Criteria类的方法需要传property,就可以引用这些常量。
或者 是否有其他插件可以实现这个功能?
The text was updated successfully, but these errors were encountered:
例如User类有列名id、username等,那么User类里面生成列名的常量定义:
public class User { ...... static public final String ID = "id"; static public final String USERNAME = "username"; ...... }
这样方便其他地方用到,如Criteria类的方法需要传property,就可以引用这些常量。
或者 是否有其他插件可以实现这个功能?
The text was updated successfully, but these errors were encountered: