• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how many object created

 
jacob deiter
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Hibernate ,each single data is mapped to string object(as applicable),

for example If a table contain 15 Columns and 1000 records ,then 1000*15 string object are created ,If an application some 100 tables then how many object will be created?
 
Ram Para
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your calculation is right, but do you think that you need data from all 100 tables for a single request.
There are other techniques using them you can increase the performance like Caching.

Try Caching for Reference Data
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic