File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
error at the time of Bolean object setting in cmp
Joined: Feb 14, 2006
Jun 16, 2007 04:28:00
in database i declared active_flag as bool in usr table.
I used cmp field in entitybean like below.
public abstract Boolean getActive(); public abstract void setActive(Boolean state);
i am setting active_flag value through cmp in one table which is available postgresql database at this time i am getting below error.
javax.ejb.EJBException: Store failed; CausedByException is: ERROR: column "active_flag" is of type boolean but expression is of type character
please help me
The object oriented way of becoming "RICH" is by INHERITANCE<br />Whoever said money can't buy happiness, didn't know where to shop.
I agree. Here's the link:
subject: error at the time of Bolean object setting in cmp
How to manage CMP field with Boolean type????
ejbCreate, primary keys and deployment descriptors question
java.sql.SQLException: The column contact_eid in table dbo.contact does not allow null values
How to set a boolean CMP field?
sql insert statement giving sqlcode: -206 sqlstate: 42703
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015