Am trying to get some order information from xml file and trying to store it in database(mysql) table. I can retrieve the order information from xml file but when am trying to insert into the table it shows error as MySQLIntegrityConstraintException.
My Grails program shown as below,
When i run the program i get an error as,
Can anyone help me to come out from this problem. Thanks in advance