I'm using version 7.0-1.2 Andy suggest that I use SQL_TYPE BOOLEAN and JDBC-TYPE CHAR. I think that would be cool, because you still end up with a boolean in the db. Does that sound ok?
-dain > -----Original Message----- > From: Dave Smith [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 14, 2002 7:54 AM > To: Dain Sundstrom > Cc: [EMAIL PROTECTED] > Subject: Re: [JBoss-dev] more standardjboss-cmp.xml > > > Hmm.. What version of the postgresql JDBC driver are you using. I am > running the newest one and it seems to work here. I will do a little > investigating. > > Dain Sundstrom wrote: > > > This doesn't work. Postgres throws an exception "Unknown > Types" on BIT. > > > > -dain > > > > > >>-----Original Message----- > >>From: Dave Smith [mailto:[EMAIL PROTECTED]] > >>Sent: Thursday, January 10, 2002 8:33 AM > >>To: [EMAIL PROTECTED] > >>Subject: [JBoss-dev] more standardjboss-cmp.xml > >> > >> > >>For postgresql the Boolean mapping is wrong. Should be > >> > >><mapping> > >> <java-type>java.lang.Boolean</java-type> > >> <jdbc-type>BIT</jdbc-type> > >> <sql-type>BOOLEAN</sql-type> > >> </mapping> > >> > >> > >>_______________________________________________ > >>Jboss-development mailing list > >>[EMAIL PROTECTED] > >>https://lists.sourceforge.net/lists/listinfo/jboss-development > >> > >> > > > > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
