Hi,
We are developing a web based application in
EJB. I've a query for u all.Please help me out.
If in a database(Oracle 8i) I'm creating a sequence for the primary key.Since it is a sequence written in Oracle.Can I access the sequence from my entity bean.
But if I want to make this field as the bean managed field(Entity Bean). Is it possible?.If yes How the create method in my home interface look like? Generally while accessing the sequence we use sequencename.nextValue() in a
servlet. But how it is to be done in EJB since it is a Primary Key. Is it possible to have sequence as the Primary Key?
Thanx
Mahesh