If you're colleciton field is declared with a concrete class, then you're fine. If you're working with collection interfaces, then you must either provider a Factory class and/or provide add-method, iter-method, etc... Either way, you should really take a look at the documentation...
http://jibx.sourceforge.net/tutorial/binding-collects.html Ilya On 2/8/07, Vairoj A. <[EMAIL PROTECTED]> wrote: > I would like to elaborate more on my question. What if some field, for > example, collection field does not have set-method (encapsulation)? Are > there any other way to make JibX works with Hibernate without modify the > code specifically for JibX? > > Vairoj A. wrote: > > Hi, > > > > In order to use Hibernate with JibX enhanced classes, JibX mapping will > > need to use 'get-method' and 'set-method' instead of 'field' is that > > correct? Is this a hard requirement and apply to every attribute and > > relationship? Are there any other consideration to make these two works > > together (Hibernate 3.2 - JibX 1.1)? > > > > Regards, > > Vairoj > > > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier. > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > jibx-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/jibx-users > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > jibx-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jibx-users > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users
