Postgresql Schema Export: do not make integer id column serial if non native generator is specified
See http://stackoverflow.com/questions/24614778/do-not-make-integer-id-column-serial
In our project we need to create a db entry with assigned primary key but it becomes replaced with autoincremented value which is wrong.
The test project requires a postgres db server. https://github.com/vbprogr/nhpgserialbug.git
In Jira tracker: "This not a bug of NHibernate, but rather the bug of Automapper generator of Fluent-NHibernate"
I'll see what I can do. But I have to set up Postgres first :)
Ok, I will be here if you have any questions. It can run with default postgres installation (user: postgres, db: postgres, password: postgres).
@chester89, Gleb, there is nothing to do with Postgres itself
Actually in this scenario the id in the mapping is mapped as <generator name="identity"> with ignorance of what was actually specified. So it could be checked with only unit test.
Got it.
2014-08-13 7:58 GMT+04:00 Alexander Zaytsev [email protected]:
Gleb, there is nothing to do with postgers
Actually in this scenario the id in the mapping is mapped as
with ignorance of what was actually specified. — Reply to this email directly or view it on GitHub https://github.com/jagregory/fluent-nhibernate/issues/275#issuecomment-52007300 .
С уважением, Чермённов Глеб, тел. (916) 314-9324