Hi,

I use the combination Hibernate, Spring & Apache CXF and I am wondering
if Apache CXF supports lazy loading, and if it does how do i configure it.

I have Entity class with a BLOB column (defined as byte[]). It's annotated
with:

 

    @Column(name = "data", columnDefinition="longblob")

    @Basic(fetch=FetchType.LAZY)

 

But when I am on client side and look at the messages coming in & out it
requests
the lazy loaded variable directly with the first call. Can I somehow define
it as lazy
loaded in Apache CXF (or maybe spring)?

 

Regards,

 

Tom

Reply via email to