[ http://jira.andromda.org/browse/HIB-32?page=history ]
Thomas Schmidt updated HIB-32: ------------------------------ Attachment: andromda-hibernate.patch Here are my changes. I have in addition added to the stereotype Entity into the the andromda-profile-persistence.xml.zip following tagged values: @andromda.hibernate.discriminator.column:String [0..1] @andromda.hibernate.discriminator.type:String [0..1] @andromda.hibernate.discriminator.value:String [0..1] and following Attributes to the metafascade HibernateEntity in HibernateMetafascadeModel.xml.zip [EMAIL PROTECTED] : datatype::String > Discriminator value should be configurable > ------------------------------------------ > > Key: HIB-32 > URL: http://jira.andromda.org/browse/HIB-32 > Project: Hibernate Cartridge > Type: Improvement > Versions: 3.0M3 > Reporter: Martin Vlcek > Assignee: Martin West > Attachments: andromda-hibernate.patch > > Using the class name as discriminator value in database tables creates a > dependency of the data on the implementation (and uses quite a lot of space). > It should be possible to specify the discriminator value and column name/type > via tags, e.g. @andromda.hibernate.discriminator.column, > @andromda.hibernate.discriminator.type and > @andromda.hibernate.discriminator.value (where subclasses only specify the > value). ------------------------------------------------------- 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