Jun 12, 2008 I'd guess that your key violation errors are due to attempts to insert duplicate values into a column with a unique index/key. There's no Access function to return all of the autonumbers generated. The element is used to specify properties for auto generated keys (from identity field or sequences). If you specify this element, MyBatis Generator (MBG) will generate an appropriate element inside the generated element in the SQL map. Feb 05, 2018 Basically, I have fields which add data to the SQL Server database (working perfectly), now I want to use the auto-generated primary key that has just been added and add it as a foreign key in another table when the buttons clicked.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |