Hi Everybody,

I am using Spring Module Cache and it's working well for the result returned from the method.

For example

Class Customer {

String firstname;
String lastnmae;
int age;
Set<Address> address;

}
Class CustomerDAO(){
@Cacheblae(modelId="testCache")
public Customer getCustomer();

}

Class testCustomer(){
Customer customer = customerDao.getCusotmer();
customer.getAddress();

}
The customer object will be cached correctly.
The address set weren't cached.

The hibernate cache can cache association.
Can I use both Spring module and hiberante cache at the same time to meet my goals?

Or I have to use hibernat cache only?

Thanks very much for any inputs.