• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with composite primary key---URGENT

 
Venkataramu Pendiyala
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.
 
scottygg
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
 
Nayyer Kamran
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!