JAXP and Hibernate
I have a question concering JAXP in combination with hibernate.
- I have a realtion 'product' and a relation 'extension'.
- Each product has 0..n extension attached and each extension has a foreign key constraint to one product.
- I would like to use lazy-loading with hibernate.
=> Hibernate creates all references:
Product.extensionList --> Extension
Extensioni.product --> Product
This creates a circle within the JAXP-XML-transformation which can not be solved by JAXP.
Could I solve this without using wrapper classes?
Thanks for your help and have a nice day.