Is NHibernate SchemaUpdate safe in production code?

前端 未结 4 2243
忘了有多久
忘了有多久 2021-02-07 14:19

For simplicity\'s sake. I\'m using Fluent NHibernate\'s Automapping combined with NHibernate\'s SchemaUpdate during runtime. On each run Automapper creates mappings for all enti

4条回答
  •  后悔当初
    2021-02-07 14:54

    It depends on how critical the data is! I doubt that's such a good idea for a banking system. I have not had any problems with the update apart from one thing. Sometimes it does not rename properly. Further more it's a security risk connecting with an account that can modify the schema like that :)

提交回复
热议问题