www.cnblogs.com/jun1019/p/6…

Blog.csdn.net/qq_30684181…

www.cnblogs.com/myf008/p/60…

PostgreSQL SERIAL created on the columns: blog.csdn.net/neweastsun/…

Postgresql, serial type and sequence: www.cnblogs.com/alianbog/p/…

Change the data type of a field in pg: blog.csdn.net/wenyan_liu/…

Mybatis uses annotations to insert data, after successful insertion, the object is automatically assigned id: blog.csdn.net/m0_38072683…

Mybatis annotations inserted, the primary key generated by uuid function: www.cnblogs.com/nongzihong/…

MyBatis automatically generated id useGeneratedKeys: blog.csdn.net/qq_35981283…

CREATE SEQUENCE x_interface_log_id_seq;

ALTER SEQUENCE x_interface_log_id_seq
OWNED BY x_interface_log.id;
Copy the code