I found how to solve the problem now.
The problem is, MySQL table I created, the idPlayer column is not configure properly. Even I set this column as 'unique' and 'primary key', but I forgot to set its as 'auto increment'. That causes Apptacular to generate application code in wrong way. After I re-create my datbase, and use Apptacular to generate the code again. It works!
I hope my solution can help some of you out.