Making "Customer" extendable

7 views
Skip to first unread message

ferjon

unread,
Oct 9, 2010, 4:51:56 AM10/9/10
to xaloon
Just a thought, would this be desirable?

@Entity
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name = "CUSTOMER_TYPE", discriminatorType =
DiscriminatorType.STRING)
@DiscriminatorValue("CUSTOMER")
@Table(name = "XAL_CUSTOMER")
public class Customer extends AbstractEntity {
...
}

Vytautas Racelis

unread,
Oct 9, 2010, 1:12:43 PM10/9/10
to xal...@googlegroups.com
Hey,
thanks for suggestion. Just added JIRA ticket for your request;)

http://www.xaloon.org/jira/browse/XWC-99

--
Regards,
Vytautas Racelis
-----------------------------------
phone:+370-600-34389
www.xaloon.org
www.allcarindex.com
www.leenle.com

Reply all
Reply to author
Forward
0 new messages