[ http://jira.andromda.org/browse/HIB-181?page=comments#action_12590 ] 

Paul Pavlidis commented on HIB-181:
-----------------------------------

This is due to HibernateTypeMappings.xml, which is used by maven. The 
hard-coded variables there are not replaced with the user-specified ones. 
Because that's a static resource of the plugin, the only (easy) alternative is 
to check for the variable in the hibernate cartridge.

Very cheesy patch follows.


> userTypesPackage namespace property is ignored for hibernate.hbm.xml 
> generation
> -------------------------------------------------------------------------------
>
>          Key: HIB-181
>          URL: http://jira.andromda.org/browse/HIB-181
>      Project: Hibernate Cartridge
>         Type: Bug

>     Versions: 3.2-RC1
>     Reporter: Paul Pavlidis
>     Assignee: Carlos Cuenca
>  Attachments: hibtypenames.patch.txt
>
> Building from CVS.
> For example, using
> {code}
>  <property 
> name="userTypesPackage">${application.package}.persistence.hibernate.usertypes</property>
> {code}
> results in the Blob and Clob types generated with the right package name, but 
> in the mapping files you get
> {code}
> <property name="description" 
> type="org.andromda.persistence.hibernate.usertypes.HibernateStringClobType">
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

Reply via email to