[jboss-user] [EJB 3.0] - Re: Oracle Number field and boolean

monkeyden do-not-reply at jboss.com
Tue Oct 3 14:38:36 EDT 2006


Correction:

The invalid column error was coming from a non-business method which was not marked with @Transient.

What Im seeing now, however, is this:

expected type: java.lang.Integer, actual value: java.lang.Boolean


though the methods do take Integers

public void setContactViaPhone(Integer contactViaPhone) {
  |     this.contactViaPhone = contactViaPhone;
  | }
  | public void setContactViaEmail(Integer contactViaEmail) {
  |     this.contactViaEmail = contactViaEmail;
  | }

I have already deleted the tmp and work folders and restarted.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975855#3975855

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975855



More information about the jboss-user mailing list