Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

using websevices to populate hibernate pojo?  RSS feed

Elhanan Maayan
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

we have a pojo object model, that most of it's properties are being retrieved via webservices. primary keys and composite keys defined the relationships, between pojos while the rest (name, age etc..) are loaded via web services (meaning they are read only from legacy)

i was wondering if there is a way to use a custom loading class that when hibernate loads an entity only load it's key values, and rest use the webservice automatically, i don't know much about tuplizers, but they seem to do the trick (it sorta like a join table to another schema)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!