Add support for @andromda.persistence.assigned.identifer
--------------------------------------------------------

         Key: SPRING-136
         URL: http://jira.andromda.org/browse/SPRING-136
     Project: Spring Cartridge
        Type: Improvement
    Versions: 3.1    
    Reporter: Jason Dillon
 Assigned to: Chad Brandon 


This relates to http://galaxy.andromda.org/forum/viewtopic.php?p=8165

----

Currently generated Spring DAO create() methods do not include any identifiers, 
even when @andromda.hibernate.generator.class = assigned or  
@andromda.persistence.assigned.identifer = true.

To add support for the <<Identifier>> tagged value 
@andromda.persistence.assigned.identifer = true, replace all instances of:

(true,false)

with:

(true,$entity.isUsingAssignedIdentifier())

in the following templates:

spring/SpringDao.vsl
spring/hibernate/SpringHibernateDaoBase.vsl





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

Reply via email to