Hi, Please use NHUsers Group for such posts (https://groups.google.com/forum/#!forum/nhusers).
Am Dienstag, 8. Januar 2013 12:53:40 UTC+1 schrieb Juliano Tiago Rinaldi: > > Please, help me. > > I create a Class OR for NHibernate: > > > <https://lh5.googleusercontent.com/-aBpze6ZevBQ/UOwIgQ7DqnI/AAAAAAAAND0/jz7aUGCNyyw/s1600/ScreenShot001.jpg> > > > The struct table is: > > > <https://lh6.googleusercontent.com/-lHSaUMOcBo4/UOwIkmRf8tI/AAAAAAAAND8/b9BQPqdhdBQ/s1600/ScreenShot002.jpg> > > > > <https://lh6.googleusercontent.com/-lGw7GVfpdYU/UOwIn_xy4UI/AAAAAAAANEE/7vD8byI9xSY/s1600/ScreenShot003.jpg> > > > But, when I retrieve data from NHibernate, the all ID return = 0. > > > <https://lh4.googleusercontent.com/-eHFAJS4LKRE/UOwIru3h6DI/AAAAAAAANEM/JjTeuEo-Lo8/s1600/ScreenShot004.jpg> > > > I verify the SQL generate NHibernate and is correct, return the data > correct: > > SELECT > > this_.ID_RELEASE as ID1_0_0_, > > this_.BLOCK as BLOCK0_0_, > > this_.DATE_UPDATED as DATE3_0_0_, > > this_.KEY_DATABASE as KEY4_0_0_ > > FROM > > FRW_RELEASE this_ > > > Help me please. > > Thanks. >
