[GENERAL] Qeury a boolean column?(using postgresql & EJB)

2007-11-14 Thread dycharles
hello, i have a database in postgresql that have a column boolean, then when i create a query in ejb like this(SELECT e.letsaythisisboolean FROM sample e), now problem is that when i query the database in ejb, it will return all the false value in the column boolean, and the true value will no

Re: [GENERAL] Qeury a boolean column?(using postgresql & EJB)

2007-11-16 Thread Michael Glaesemann
On Nov 14, 2007, at 17:05 , dycharles wrote: i have a database in postgresql that have a column boolean, then when i create a query in ejb like this(SELECT e.letsaythisisboolean FROM sample e), now problem is that when i query the database in ejb, it will return all the false value in t

Re: [GENERAL] Qeury a boolean column?(using postgresql & EJB)

2007-11-17 Thread dycharles
thank for the reply, i already do that method, but nothing happen... i have another solution to that one, i just used 1 and 0 for true and false.. it sounds bad, but thats the only thing i can do to maximized my time thanks... regards, dycharles Michael Glaesemann-2 wrote: > > > On N

Re: [GENERAL] Qeury a boolean column?(using postgresql & EJB)

2007-11-17 Thread Michael Glaesemann
[Please don't top post as it makes the discussion more difficult to follow.] On Nov 17, 2007, at 10:24 , dycharles wrote: i already do that method, but nothing happen... i have another solution to that one, i just used 1 and 0 for true and false.. it sounds bad, but thats the only thin