Hi all,
I need to insert a new record and need to have the next primary key in the table.
So I use
SELECT Max(prikey) FROM table
* @ejb.findersignature="java.lang.String findAccId()"
* query = "SELECT MAX(acc.accId)
FROM Account acc"
How can I return a string?
Please advise. Thanks
[Novice.. starting learning EJB]
I need to insert a new record and need to have the next primary key in the table.
So I use
SELECT Max(prikey) FROM table
* @ejb.findersignature="java.lang.String findAccId()"
* query = "SELECT MAX(acc.accId)
FROM Account acc"
How can I return a string?
Please advise. Thanks
[Novice.. starting learning EJB]