[ http://jira.andromda.org/browse/SPRING-115?page=history ]
     
Chad Brandon closed SPRING-115:
-------------------------------

     Resolution: Fixed
    Fix Version: 3.1RC1

This is fixed in CVS, the next continous build with have the fix.

> Changing entityNamePattern does not change mapping references in 
> applicationContext.xml
> ---------------------------------------------------------------------------------------
>
>          Key: SPRING-115
>          URL: http://jira.andromda.org/browse/SPRING-115
>      Project: Spring Cartridge
>         Type: Bug
>     Versions: 3.1RC1
>  Environment: Windows XP J2SDK 1.5.0_04
>     Reporter: Jim McCollom
>     Assignee: Chad Brandon
>     Priority: Minor
>      Fix For: 3.1RC1

>
> I have changed the entityNamePattern from it default to:
> <property name="entityNamePattern">Abstract{0}</property>
> and my entityImplementationNamePattern to:
> <property name="entityImplementationNamePattern">{0}</property>
> So if we take one of my entities: ActivationCode
> This works and changes all the entity source file names correctly to:
> AbstractActivationCode.java (Abstract Entity)
> ActivationCode.java (Entity Implementation)
> Additionally, my HBM file has been renamed to AbstractActivationCode.hbm.xml, 
> which by itself is fine. However in the mappingResources area of my 
> applicationContext.xml the mappings still point to ActivationCode.hbm.xml, it 
> should be AbstractActivationCode.hbm.xml. 




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

Reply via email to