It happened in the following metafacade operation in the 
HibernateAssociationEndLogicImpl of the hibernate cartridge. 



    protected java.lang.String 
handleGetHibernateAggregationCascade()

    {

        return 
StringUtils.trimToEmpty(ObjectUtils.toString(this.getConfiguredProperty(HIBERNATE_AGGREGATION_CASCADE)));

    }



 Before the bug was fixed it was this:



    protected java.lang.String 
handleGetHibernateAggregationCascade()

    {

        return 
StringUtils.trimToEmpty(String.valueOf(this.getConfiguredProperty(HIBERNATE_AGGREGATION_CASCADE)));

    }



Since the getConfiguredProperty call returned null, String.valueOf was 
converting it to a string called "null" and the code using this checked to see 
whether or not the value was empty before taking action (which it wasn't since 
it was returning "null").
--
Chad Brandon - [EMAIL PROTECTED]

http://www.andromda.org
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1352#1352
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to