telosystools

Open full view…

Insert always required Primary Key, doesn't autogenerate.

MikeMerritt
Mon, 18 Aug 2014 20:31:12 GMT

I generated springmvc code from my existing mysql database. It works great, except for the fact that on the create forms it requires me to enter a primary key rather than that primary key being auto-generated by hibernate/mysql.

Telosys Team
Tue, 02 Sep 2014 10:38:56 GMT

This environment (MySQL, JPA) has been tested and it usually works fine . Could you provide us : - the ".dbrep" file - the Java Entity class - the "create table" SQL script - the MySQL engine type (myisam, inodb, ... )

manishkumar
Wed, 06 Jul 2016 08:57:48 GMT

I am also facing same issue with mysql. please let me know how to fix this