• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need some clarifiation in declaring more than one annotated class in bean xml file

 
Kishor Joshi
Ranch Hand
Posts: 674
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there

I suppose I have declared 5 bean in my xml file of Hibernate and I have annotaed
5 class in one bean
4 class in one bean
3 class in one bean
2 class in one bean

suppose this is my bean


and in my second bean class I have declare something like this


will there any perfomance or memory difference between these two declartions or both are fine irrespective of nuber of annotated class


Thanks
 
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!