Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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

problem with composite primary key---URGENT

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a CMP which is created from table which contains composite primary key ( made of 5 coloumns). But when i test this bean from VAJ test environment I am unabe to update record i.e. setXXXX() methods are not working . I am not getting any errors , but database is not getting updated. Please help me to come over this problem.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just send me ur Java files let me see, and i will let u know

Bye
Scotty
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you did not mention which version of the ejb specificaiton u r implementing and where did u defined the setXXX() methods, is it container managed or beanmanaged. and some detail description of how u r using it I mean cliet calls.
hope I would be able to help u after these details.
Nayyer
 
Venkataramu Pendiyala
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Nayyer Kamran:
you did not mention which version of the ejb specificaiton u r implementing and where did u defined the setXXX() methods, is it container managed or beanmanaged. and some detail description of how u r using it I mean cliet calls.
hope I would be able to help u after these details.
Nayyer


I am using Container managed bean . I am using ejb1.1 .
I have a table which contains primary key made up of 5 columns.
From the Visual age for java test client when i run invoke findByPrimaryKey(...) i get handle of Remote interface. but when i update ( i. e. setXXXX())methods of remote , record is not getting updated in my database. I am using Oracle as a back end.
if u need any other info let me know.
Thanks,
venkat.
 
Something must be done about this. Let's start by reading this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic