• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Interface Mapping

 
saranga rao
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is any body can help me:

i would like to know whether it is possible to hiberante mapping file of type interface....

or

for interface is it possible to create an hibernate mapping file


Regards
saranga
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
 
saranga rao
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can You give some examples

please not Without ProxyInteceptor


regards
saranga
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't be done saranga rao. You need something to interupt the normal flow of application logic in Hibernate to generate a concrete implementation of your interface, otherwise Hibernate will just fall over, since there is not POJO for it to use.
[ May 14, 2007: Message edited by: Paul Sturrock ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic