Ticket #394 (assigned enhancement)
[patch] Native schema support for PostgreSQL and MSSQL using packages
| Reported by: | impl@… | Owned by: | hans |
|---|---|---|---|
| Priority: | high | Milestone: | To be scheduled |
| Component: | Generator | Version: | devel |
| Severity: | major | Keywords: | |
| Cc: |
Description
I've created a patch to allow native schema support in databases that allow it. Right now I believe only pgsql and MSSQL do (Oracle sort-of does; see the @note in the patch).
Schemas are defined by a database/table's package, which works exceptionally well with packageObjectModel.
It is, of course, a user option. To enable it, one simply uses propel.packageSchemas in their build.properties.
There's a few small bugfixes in here, too, the most notable of which is fixing ConvertConfTask to understand what to do with multiple data models that share the same database when mapping classes.
This probably needs a lot of testing. I haven't built anything complex using it yet, but if more changes are necessary I'll provide additional patches.

