Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible to create association of non associated tables in hibernate?

 
Mohamed Farouk
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends
This is the scenario. I have a table called



There is another table



USERNAME in USER is same as USER_LEAD in COMPONENT but not related using foreign key

Requirement I need to update all the usernames which are alpha format to Numbers in both the tables?

Example: Where ever the username is 'XYZ' this should be changed to 123 in USER and COMPONENT TABLES is it possible?

Is this possible to do this update via Hibernate?
 
Mohamed Farouk
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any ideas please?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic