fixes bug#6777
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@49514 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
0372153197
commit
67fed4acda
|
@ -32,11 +32,13 @@ public class DataSource implements IDataSource {
|
|||
@Override
|
||||
public Object getFieldValue(JRField field) throws JRException {
|
||||
try {
|
||||
return this.resultSet.getObject(field.getName());
|
||||
} catch (Exception e) {
|
||||
log.error("", e);
|
||||
throw new JRException(e);
|
||||
Object valueCustomField = this.valueCustomFields(field.getName());
|
||||
|
||||
return (valueCustomField != null) ? valueCustomField : this.resultSet.getObject(field.getName());
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
throw new JRException(e);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -60,5 +62,10 @@ public class DataSource implements IDataSource {
|
|||
public void initDados() throws Exception {
|
||||
|
||||
}
|
||||
|
||||
public Object valueCustomFields(String fieldName) throws Exception {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue