| Author |
Problem while inserting into the table
|
Praveen Chadichal
Greenhorn
Joined: Apr 07, 2009
Posts: 21
|
|
Hi,
I have something teadious issue, i donno how is this happening, The problem is i have overall 4 tables(say A,B,C,D) in which i need to manipulate the data. The thing is i only fetch data from table A insert into table B, then fetch data from B and insert into table C & D. The issue what am facing is that a UPDATE query is getting fired for the table A which actually should not happen atall since i only fetch from this table. Its something that breaking my head. M unable to get why is this happening. Can any one help me on this. I am using hibernate to do this, is it that am missing anything in the hibernate configuration. have anyone came across this issue. quick help is deeply appreciated!
Thanks in advance.
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Can you show us your code?
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Praveen Chadichal
Greenhorn
Joined: Apr 07, 2009
Posts: 21
|
|
Here in the below code my A table is "ApplicationEventInstance" & the table B is "EbizAppEvent" into which it is inserted.
The "convertEventInstanceToAppEvent" method will convert the ApplicationEventInstance pojo to EbizAppEvent pojo object..... here its as below:
Can you help me out on this please ?
|
 |
 |
|
|
subject: Problem while inserting into the table
|
|
|