Help coderanch get a
new server
by contributing to the fundraiser

nis siv

Greenhorn
+ Follow
since Oct 28, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by nis siv

Thanks for your reply !!
Do you have any other samples .
using list and all
if there is some master child relationship between tables using the named query we can get all the data satisfying our criteria .like this is there any facility to insert the values using named query

We are using EJB3.0 + entities
in our project we need to save data to 3 to 5 tables.
They have relationship(one to many like ...).

can anyone please suggest a method to insert data to all the tables using one transaction .

(instead insert in master then merge detail then child of second ).


Thanks,

Nis
Thanks Jeanne,


Is it possible to track the usersession by using stateful session beans ?



Thanks,

nis
One C app(same user multiple times)is calling a servlet,this sevlet will call stateful session bean (EJB3).
need to save the results from the DB operatins in session.
How can I maintain each user session in this scenario.
same user may send more than one requests while finalizing the transaction needs to fetch all these details from the session ,save to DB.
send a response to C app too.

How can I track the each user session from the C app.

please help me with sample code

Thanks in advance