Hi Chee Kin,
I actually tried using that removeBeanDefinition function you
suggested, but it's not available in SpringFramework 2.0. This is the
only reason I ask your suggestion to update it to 2.5. Anyways, I need
to find out how to get this support. I'll try adding a jar file having
GenericApplicationContext from 2.5 framework into my application. I
believe if it doesn't break anything we should go with it. :)
Thanks a ton for you efforts and help.
Main Pal
> I think it is not advisable to upgrade SpringFramework which is Grails
> internal to 2.5, in fact I didn't have any experience doing so. Please
> check whether SpringFramework 2.0 support the API I proposed.
>
> Best regards,
> Chee Kin
>
>
>
>
>
>
>
> On Wed, Apr 11, 2012 at 3:29 PM, Main Pal <
main...@oneappcloud.com> wrote:
> > Hi Chee Kin,
>
> > Thanks for your reply and efforts.
> > I looked into this and tried to use it, but, I'm running my application on
> > Grails-1.3.7 which has springFramework-2.0.
> > The class suggested by you is a great help :). Could you please suggest me
> > how to update springFramework to 2.5 version without updating Grails
> > version.
>
> > Thank you,
> > Main Pal
>
> > On Tuesday, April 10, 2012 8:37:17 PM UTC+5:30, limcheekin wrote:
>
> >> Hi Main Pal,
>
> >> I did some research, try this ...
http://static.springsource.**
> >> org/spring/docs/2.5.x/api/org/**springframework/context/**support/**
> >> GenericApplicationContext.**html#removeBeanDefinition%**
> >> 28java.lang.String%29<
http://static.springsource.org/spring/docs/2.5.x/api/org/springframew...>
>
> >> Let's see whether it works.
>
> >> Best regards,
> >> Chee Kin
>
> >> On Tue, Apr 10, 2012 at 3:36 PM, Main Pal <
main...@oneappcloud.com>wrote:
>
> >>> I'm using this plugin in my Grails Application to load dynamically
> >>> created domains. When I want to remove any dynamically loaded domain, I
> >>> delete the table from database for that domain using SQL. But, when I
> >>> register a new domain it creates table for the deleted domain, as, I
> >>> believe, it doesn't remove the dynamically loaded domain from the session.
>
> >>> How could I remove it from the session so that the table doesn't get
> >>> recreated?
>
> >>> Thanks in Advance,
> >>> Main Pal
>
> > On Tuesday, April 10, 2012 8:37:17 PM UTC+5:30, limcheekin wrote:
>
> >> Hi Main Pal,
>
> >> I did some research, try this ...
http://static.springsource.**
> >> org/spring/docs/2.5.x/api/org/**springframework/context/**support/**
> >> GenericApplicationContext.**html#removeBeanDefinition%**
> >> 28java.lang.String%29<
http://static.springsource.org/spring/docs/2.5.x/api/org/springframew...>
>
> >> Let's see whether it works.
>
> >> Best regards,
> >> Chee Kin
>