0 Replies Latest reply on May 24, 2006 7:14 PM by Karol Oslowski

    problems with booleans

    Karol Oslowski Newbie

      Dear All,

      I'm using jboss 4.0.3 and postgresql 8.0. I'm trying to write a CMP entity bean with fields of type boolean (or I have also tried Boolean). Unfortunatelly none of those works and I get the following exception:

      12:08:04,796 ERROR [LogInterceptor] TransactionRolledbackLocalException in method: public abstract bla.bla.MessageLocal bla.bla.interfaces.MessageLocalHome.create(bla.bla.interfaces.ContextLocal,levia.messages.interfaces.MessageTypeLocal) throws javax.ejb.CreateException,bla.bla.exceptions.MalformedMessageContentException, causedBy:
      org.postgresql.util.PSQLException: Unsupported Types value: 16

      I tried to give the accesors names starting by "is" instead of "get" but it didn't help at all.

      I'm using xdoclet so probably all the files should be generated correctly (when I changed the type to String, then everything seems to work ok).

      I would apreciate any help,

      Kind Regards,

      Karol Oslowski