Unmapped Columns in NHibernate?

后端 未结 5 937
梦如初夏
梦如初夏 2020-12-20 07:31

I\'m working with a legacy database in Oracle and some of my tables have columns that are set to NOT-NULL that I don\'t want in my domain model, but, obviously, I need to sp

5条回答
  •  没有蜡笔的小新
    2020-12-20 08:02

    you could go with custom CRUD sql, in java i'd say a private setter with default value for the attribute would work too

提交回复
热议问题