[jboss-user] [JBoss Seam] - Re: Error Compiling generated entities from Postgre

Pericles do-not-reply at jboss.com
Tue Feb 5 06:50:35 EST 2008


Hi,

How you did that?

I have the same problem, I have Framework Seam 2.0.2 but when I use seam-generate-entities it generate *Home.java with this wrong code:

	@Override
  | 	public boolean isIdDefined() {
  | 		if (Strings.isEmpty(getAccionsId().getIdDoc()))
  | 			return false;
  | 		if (Strings.isEmpty(getAccionsId().getIdTipus()))
  | 			return false;
  | 		if (Strings.isEmpty(getAccionsId().getIdUsuari()))
  | 			return false;
  | 		if (Strings.isEmpty(getAccionsId().getData()))
  | 			return false;
  | 		return true;
  | 	}

In isEmpty method I have that error:

The method isEmpty(String) in the type Strings is not applicable for the arguments (BigDecimal)

How can I resolve it?

Thanks very much.

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

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



More information about the jboss-user mailing list