-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Xmlbeans And Hibernate
PostPosted: Wed Sep 06, 2006 8:44 am 
Newbie

Joined: Mon Jan 03, 2005 10:57 pm
Posts: 14
Hi,

Some one here work with XmlBeans objet mapping in Hibernate ?

I need to use it, but cant becouse xmlbean object does not have no-args constructor, im try to write a Interceptor but xmlbeans factory is most complexy to use, becouse this is a inner class on Interface, and i cant invoke a class inner Interface by reflection.


Some one can help me ? How to use xmlbeans and Hibernate, this is possibile ?

[]s


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 06, 2006 11:02 am 
Newbie

Joined: Mon Jan 03, 2005 10:57 pm
Posts: 14
I was write a Interceptor to workaround this problem, the interceptor detect a entity name and create a instance with Factory.newInstance().

This work fine.. but i wold like to do one stuff more clean and generic, becouse in interceptor i need to declare IF's, and if one new entity is created, i will need change de interceptor.

Some one, know a clean method to do XmlBeans Objects to work with Hibernate ?

[]s


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.