Skip to Main Content

Data Science & Machine Learning

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Bug? Save fails after transform edited - java closed connection error

Kresimir BokulicSep 22 2014 — edited Oct 17 2014

Hi,

i have this problem with saving ODM workflow after editing transform node.


In transform node I made transform edit for variable 'IMP_APPL_PA_EMP_STS_CD_REV_BIN' to bin variable, sql code as is:

case

when ("IMP_APPL_PA_EMP_STS_CD_REV" in ('011','040','070','080','090')) then 1

when ("IMP_APPL_PA_EMP_STS_CD_REV" in ('012','014','030','051','990')) then 2

when ("IMP_APPL_PA_EMP_STS_CD_REV" in ('010','013','050','061','100')) then 3

when ("IMP_APPL_PA_EMP_STS_CD_REV" in ('015','020','021','022','023','060')) then 4

when ("IMP_APPL_PA_EMP_STS_CD_REV" is null) then 1

else 3

end

Validation pass well, but after I press save I get mesage:

Unable to save TDW_RISK/Test/binn_test (java.sql.SQLRecoverableException: Closed Connection).

I figure out that when I put shorter sql case-when, example

case

when ("IMP_APPL_PA_EMP_STS_CD_REV" in ('011','040','070','080','090')) then 1

when ("IMP_APPL_PA_EMP_STS_CD_REV" in ('012','014','030','051','990')) then 2

when ("IMP_APPL_PA_EMP_STS_CD_REV" in ('010','013','050')) then 3

else 3

end

ewerything is ok. When I add  one,two or any more 'strings' to case when example:061','100' same error happend again.

I try to do that with differen datasource in different workfolows but nothing helped.

I found workaround using SQLNode and it work but it is not best, since we have to use transform for other variables.

Any Idea why is this happenning? Any known restrictions in SQL Developer Transform node?

System: SQL Developer  Version 4.0.0.12, Database 11.2.0.2

Regards,

Kreso

This post has been answered by Kresimir Bokulic on Sep 29 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 14 2014
Added on Sep 22 2014
4 comments
1,713 views