Just didn't implement it yet.

Messy changes in one of the persisters. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Emmanuel Bernard
Sent: Monday, December 26, 2005 10:15 PM
To: Hibernate development
Subject: [Hibernate] <join> and <joined-subclass> not compatible

What's the rational behind that?
This is a massive pain in the ass for Annotations.

@Entity(access = AccessType.FIELD)
@Inheritance(strategy = InheritanceType.JOINED)
@SecondaryTable(name="ExtendedPerson")
class Person implements Serializable {
   ...
}

@Entity(access = AccessType.FIELD)
@PrimaryKeyJoinColumn(name = "person_id") class Employee extends Person
{
   ...
}

If this constraint is not removed, this is going to cost me *a lot* of
refactoring if even possible.



-------------------------------------------------------
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
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


-------------------------------------------------------
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_idv37&alloc_id865&op=click
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to