or answer my question directly: when a sql of select has a primary key and an index, what is the order of its execution? is there a big god to find it first from the primary key or from the index? ...
I m going to go back to mybatis and add the useGeneratedKeys= "true " keyProperty= "id " keyColumn= "id " attributes to id, but doesn t feel much use . Has anyone ever returned to success in this way? description: mysql used by the database. ...