user saysif am getting you correctly means. you want to generate the employee id "automatically". if this is your requirement am strong suggested to go with timo suggested "db sequence"..coming to code part which you have . you had a method in implclass it should return the number ( i hope it would be employee id). so simple,
but I want message give me the value of n?
i need the part of try>> execute
not the part of catch