[appfuse-user] Injected Bean with Advisor throws ClassCastException

2007-05-22 Thread ayan
I'm having problem with retrieving a bean from Spring using ClassPathXmlApplicationContext.getBean(), given that the bean has Advisor around it. I can't find exactly what I missed here. Any help is greatly appreciated... Here is my context xml: http://www.springframework.org/schema/beans"; xmln

Re: [appfuse-user] LazyInitializationException in XXManagerTestCase

2007-05-03 Thread ayan
appings we have already created on our entities which lazy loads its collection. cheers, ayan mraible wrote: > > If I said the reason BaseManagerTestCase extends > AbstractDependencyInjectionSpringContextTests instead of > AbstractTransactionalDataSourceSpringContextTests was t

[appfuse-user] LazyInitializationException in XXManagerTestCase

2007-05-02 Thread ayan
Hi, We have tried to rewrite the built-in UserManager of appfuse, and came up with our own UserManager. For the test case of our UserManager, given a code which accesses a collection field, it returns LazyInitializationException, i.e. user.getAccounts().get(0). The collection field is configured