Class WingsJooqDaoAliasImpl

  • All Implemented Interfaces:
    org.jooq.DAO

    
    public abstract class WingsJooqDaoAliasImpl<T extends Table<R>, WingsAliasTable<T>, R extends UpdatableRecord<R>, P, K>
    extends DAOImpl<R, P, T>
                        
    In principle, the database information carried by Record should not be spread,
    so it's recommended to use Pojo instead of Record outside of Dao.
    
    For read method, it always returns Pojo; for write method, it supports both Record and Pojo.
    For the convenience of coding and to reduce data copying, you can use Record for operation.
    In batch processing, new Record is always used to improve performance.
    
    Note that alias is used in multi-table query, filed/condition and table must have the same name,
    otherwise there will be a syntax error. I.e., fields that are in different alias from the table.
    
    Since:

    2019-10-12

    Author:

    trydofor