Hi,

I'm not sure why this isn't working, so I'm gonna have to attempt to reproduce this problem, but I'm going to need a bit more information.

Are you using CMP or JPA?
Are you using an existing database TABLE or generating one? If existing, can you share the schema for the table?
Can you share your CMP or JPA bean?
What version of Postgresql are you using? driver version?
What version of OpenEJB?

In the mean time, I'll try to hack something up.

BTW, if you're not on Java 6, give it a try. We use OpenJPA for persistence of CMP and JPA beans, and due to the new instrumentation apis in Java 6, OpenJPA works a bit better.

-dain

On Nov 14, 2007, at 4:50 PM, dycharles wrote:


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, it will return all the false value in the column boolean, and the true value will not return... How can i make the true value appear in my query result? Any suggestion or help...

thanks,
dychalres
--
View this message in context: http://www.nabble.com/Qeury-a-boolean- column-%28using-postgresql%29-tf4808272.html#a13757336
Sent from the OpenEJB User mailing list archive at Nabble.com.


Reply via email to