• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem while inserting into the table

 
Praveen Chadichal
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show us your code?
 
Praveen Chadichal
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic