How to map a Firebird Smallint to Boolean with Hibernate Annotations?
===

I've an old database running in Firebird 2.0, and I need to map a SmallInt column to a Boolean  type, which when <code>SmallInt = 0</code> then is <code>False</code>, and when <code>SmallInt = 1</code> it's <code>True</code>.

I also need that this be done using Hibernate Annotations.

I'm using Hibernate 3.6.

Any tips?

Thanks in advance.