Hi
Let's assume there's a project, which loads entities from a legacy
database schema. In that schema users are distributed onto 2 tables:
Users and Worksers.
To map that and use schema export (project extend the schema with new
tables) the mapping file looks simmilarily to the one below:
<class name="User" table="Users" mutable="false" schema-action="none">
// id, properties nad such
<join table="Workers">
// other properties and mapped column
</join>
</class>
Now the problem with schema export is that it does not generate Users
table, but it does generate the Workers table. The same applies to a
many-to-many association (idbag for sure, havn't tried the others).
The association table gets generated even if the containing class has
schema-action="none"
Is there a workaround to that or an issue to vote for? Or will I have
to edit the generated script every time?
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.