No, you can specify different access types in the XML mapping file.
-----Original Message-----
From Sanjeeb Kumar Sahoo <Sanjeeb.Sahoo_at_Sun.COM>
Sent Wed 2/15/2006 5:46 AM
To persistence_at_glassfish.dev.java.net <persistence_at_glassfish.dev.java.net>; Mike Keith <michael.keith_at_oracle.com>
Subject single access type for entire hierarchy?
Hi,
[Section 2.1.1]
/A single access type (field or property access) applies to an entity
hierarchy./
Is this rule applicable even when access type is specified on a per
class basis using orm.xml file?
Thanks,
Sahoo