Pessoal estou com o seguinte problema criei uma tabela no postgresq
Create table teste(
campo1 serial primary key,
campo2 int4
)
net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. Cannot cast from int to Integer
value = (java.lang.Integer)(8);
<--------------------> 2. Cannot cast from int to Integer
value = (java.lang.Integer)(8);
<--------------------> 3. Cannot cast from int to Integer
value = (java.lang.Integer)(8);
<-------------------->
tem como eu criar um tipo de dados?? pq no postgresql nao tem Integer se eu tentar criar como integer ele automaticamente muda para int4