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

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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic