[ http://jira.andromda.org/browse/HIB-204?page=all ]

Wouter Zoons reassigned HIB-204:
--------------------------------

    Assign To: Wouter Zoons  (was: Carlos Cuenca)

> Manage formulas as discriminators
> ---------------------------------
>
>          Key: HIB-204
>          URL: http://jira.andromda.org/browse/HIB-204
>      Project: Hibernate Cartridge
>         Type: New Feature

>     Reporter: Franco Caponi
>     Assignee: Wouter Zoons

>
> Hibernate documentation say that is possible using the formula attribute of 
> the discriminator tag, but AndroMDA doesn't implement this feature.
> From Hibernate documentation:
> [QUOTE]
> The <discriminator> element is required for polymorphic persistence using the 
> table-per-class-hierarchy mapping strategy and declares a discriminator 
> column of the table. The discriminator column contains marker values that 
> tell the persistence layer what subclass to instantiate for a particular row. 
> A restricted set of types may be used: string, character, integer, byte, 
> short, boolean, yes_no, true_false.
> <discriminator
>         column="discriminator_column"                      (1)
>         type="discriminator_type"                          (2)
>         force="true|false"                                 (3)
>         insert="true|false"                                (4)
>         formula="arbitrary sql expression"                 (5)
> />
> [/QUOTE]

-- 
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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Reply via email to