Thanks for your fast responses.

On Jan 14, 2008 1:13 AM, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote:


> If your UserDao is interface then just cast to it, not to the JdbcUserDao
> and it should be fine.


Actually, that was just a typo in the code I've pasted here. It supposed to
be JdbcUserDao instead of UserDao everywhere.


> You have to use interface and cast to the interface unless Spring is
> forced to use cglib for proxy creation.


Well, Spring asked for cglib and I included it into libraries.
Thanks for the tip though, I'll try it.


-- 
sp

Reply via email to