IncomingSms class vs IncomingSms hibernate mapping

Hi,

I’ve just played around the IncomingSms class (api). In this one, there is property called “status”. It’s an instance of “SmsMessageStatus” class (enum). But I think I see a bit hacky in declaring in IncomingSms.hbm.xml file is that the “status” above is referencing to an other instance “OutboundSmsStatus” class (enum). It should be “SmsMessageStatus” thought.

Hope that I’m wrong :wink:

···


Expert By Chance