Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to auto generate primary key?

 
kahkean chor
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using mysql, i would like to auto generate the primary like this....

cus1
cus2
cus3
cus4........

follow by "cus"
can anyone help me?thanks in advanced
 
James Boswell
Bartender
Posts: 1051
5
Chrome Eclipse IDE Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a requirement to generate the primary key this way?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic