Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB hangs on create

 
Douglas Kent
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post your code / XML schema around this bean?
Are you using sequences to autogenerate the primary key or manually setting?
 
Douglas Kent
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic