[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2358) get subclass from discriminator
jose (JIRA)
noreply at atlassian.com
Mon Jan 15 07:48:44 EST 2007
get subclass from discriminator
-------------------------------
Key: HHH-2358
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2358
Project: Hibernate3
Type: New Feature
Components: core
Versions: 3.2.1
Environment: any
Reporter: jose
create utility method that return subclass from discriminator value.
In Lightweight class I would lid to know concrete subclass to show, example:
- BankEntry has many-to-one relationship to lightweight OrderInfo (GREAT subclass hierarchy => avoid polymorphism queries)
- OrderInfo is superclass of MANY subclasses: Check, BankTransfer, RegularPayment,...
In a list of BankEntries I would like to show the order source (OrderInfo.subclass)
BankEntries:
[Date | Money | Source.subclass]
2007-01-01 | -1000$ | BankTransfer
2007-01-01 | 500$ | Check
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list