-
1. Re: Hibernate tools Seam skeleton problem
maxandersen Apr 18, 2006 9:50 AM (in response to ivan.rosina)where is somewhere else ?
-
2. Re: Hibernate tools Seam skeleton problem
ivan.rosina Apr 18, 2006 9:58 AM (in response to ivan.rosina)You're right !
FinderBean executeQuery method.
I suggest to fix this bug using autobox feature of 1.5
Thanks -
3. Re: Hibernate tools Seam skeleton problem
maxandersen Apr 18, 2006 10:10 AM (in response to ivan.rosina)hmm i thought autoboxing would kick in here ?
the problem should only occur on 1.4 -
4. Re: Hibernate tools Seam skeleton problem
ivan.rosina Apr 18, 2006 10:20 AM (in response to ivan.rosina)No sure !
I am on 1.5 and I can resolve this problem on generated code in this way:
Generated code:
......
private char modificato;
@Column(name = "modificato", unique = false, nullable = false, insertable = true, updatable = true, length = 1)
public char getModificato() {
return this.modificato;
}
......
To fix this problem just change the return type of the method like:
@Column(name = "modificato", unique = false, nullable = false, insertable = true, updatable = true, length = 1)
public Character getModificato() {
return this.modificato;
}