• Post Reply Bookmark Topic Watch Topic
  • New Topic

how many object created

 
jacob deiter
Ranch Hand
Posts: 585
  • 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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!