File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes EJB hangs on create Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB hangs on create" Watch "EJB hangs on create" New topic

EJB hangs on create

Douglas Kent
Ranch Hand

Joined: Oct 06, 2000
Posts: 171
I've built an Entity EJB, very simple, just one table. When the client calls create on the home interface, the ejbCreate method puts out its logging messages, followed by the ejbPostCreate. It then hangs. The database is Oracle 8.1.5. Anyone have any idea on why?
Karl Laird
Ranch Hand

Joined: Jul 14, 2001
Posts: 67
Can you post your code / XML schema around this bean?
Are you using sequences to autogenerate the primary key or manually setting?

The Eagle sneers at the Peacock<p>Systems Administrator<br />OrderWare Solutions Ltd<br /><a href="" target="_blank" rel="nofollow"></a>
Douglas Kent
Ranch Hand

Joined: Oct 06, 2000
Posts: 171
The primary key is a String, supplied in the home create method.
Are you thinking the transaction type might have something to do with it?
I'd better leave off the code due to the nature of the subject, not classified, but not for release.
I agree. Here's the link:
subject: EJB hangs on create
It's not a secret anymore!