Is there a naming strategy that does the following things:
1)
Code:
<class name="Person">
<set name="dogSet">
<key not-null="true"/>
<one-to-many class="Dog"/>
</set>
</class>
Where the key column name would end up "person"?
2)
Code:
<class name="Person">
<component name="firstAddress" >
<property name="street" not-null="true"/>
</component>
<component name="secondAddress" >
<property name="street" not-null="true"/>
</component>
</class>
Where the component street column names would be "firstAddress_street" and "secondAdress_street" instead of both "street" (which crashes)?