Works know :
just add to ./src/server/edu/harvard/i2b2/crc/dao/setfinder/QueryResultGenerator.java
line 141 (after String dimCode = this.getDimCodeInSqlFormat(conceptType);)
if(serverType.equalsIgnoreCase("postgresql")){
dimCode = dimCode.replace("\\","\\\\");
}
and re-run ant-compile
--------------------------------------------
Explaination : (Could you please explain me how you enter in debug mode from jboss 7.x ? would help me to debug)
From your log, line 13122 : query select count(distinct PATIENT_NUM) as item_count from i2b2demodata.observation_fact where patient_num in (select patient_num from DX ) and concept_cd IN (select concept_cd from i2b2demodata.concept_dimension where concept_path LIKE '\i2b2\Demographics\Vital Status\Deceased\%') FAILS
when double "\\" works
select count(distinct PATIENT_NUM) as item_count from i2b2demodata.observation_fact where patient_num in (select patient_num from DX ) and concept_cd IN (select concept_cd from i2b2demodata.concept_dimension where concept_path LIKE '\\i2b2\\Demographics\\Vital Status\\Deceased\\%')