Fixes bug with uninterpretable string expression in job parameter
This commit is contained in:
parent
94377c1159
commit
e5eacdddd6
|
@ -69,7 +69,7 @@ public class GroupBulkItemReader extends BaseBulkItemReader implements ItemReade
|
|||
|
||||
@Value("#{jobParameters['" + BulkExportJobConfig.GROUP_ID_PARAMETER + "']}")
|
||||
private String myGroupId;
|
||||
@Value("#{jobParameters['" + BulkExportJobConfig.EXPAND_MDM_PARAMETER+ "']}")
|
||||
@Value("#{jobParameters['" + BulkExportJobConfig.EXPAND_MDM_PARAMETER+ "'] ?:false}")
|
||||
private boolean myMdmEnabled;
|
||||
|
||||
@Autowired
|
||||
|
|
|
@ -52,6 +52,9 @@ public interface IMdmLinkDao extends JpaRepository<MdmLink, Long> {
|
|||
"SELECT ml.myGoldenResourcePid FROM MdmLink ml " +
|
||||
"INNER JOIN ResourceLink hrl " +
|
||||
"ON hrl.myTargetResourcePid=ml.mySourcePid " +
|
||||
"AND hrl.mySourceResourcePid=:groupPid)")
|
||||
"AND hrl.mySourceResourcePid=:groupPid " +
|
||||
"AND hrl.mySourcePath='Group.member.entity' " +
|
||||
"AND hrl.myTargetResourceType='Patient'" +
|
||||
")")
|
||||
List<List<Long>> expandPidsFromGroupPidGivenMatchResult(@Param("groupPid") Long theGroupPid, @Param("matchResult") MdmMatchResultEnum theMdmMatchResultEnum);
|
||||
}
|
||||
|
|
|
@ -67,7 +67,8 @@ public class TestJpaR4Config extends BaseJavaConfigR4 {
|
|||
BasicDataSource retVal = new BasicDataSource();
|
||||
|
||||
retVal.setDriver(new org.h2.Driver());
|
||||
retVal.setUrl("jdbc:h2:mem:testdb_r4");
|
||||
// retVal.setUrl("jdbc:h2:mem:testdb_r4");
|
||||
retVal.setUrl("jdbc:h2:file:./testdb_r4;create=true");
|
||||
retVal.setMaxWaitMillis(10000);
|
||||
retVal.setUsername("");
|
||||
retVal.setPassword("");
|
||||
|
|
Loading…
Reference in New Issue