Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

weblogic 8.1 , Oracle sequence problem.

 
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi,

I am using Oracle sequqnce to generate primary key for CMP EJB 2.0 on weblogic 8.1.

My ejbCreate method is


hobbyId is primary key which I am not setting in ejbCreate method because it will be generated using Oracle Sequence.

I have added following in weblogic-cmp-rdbms-jar.xml



But when I try to create ejb, I get following exception.

How to resovle this error. Also, can we log sql statements sent by weblogic to database?
 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it was silly mistake in deployment descriptor.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic