- Posts: 68
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.
def command = "sqlldr control='"+ __ctx__.getVariableValue("../realPathOnServer") + "/data_%x{$REF/tech:workName()}x%.ctl' log='"+ __ctx__.getVariableValue("../realPathOnServer") + "/data_%x{$REF/tech:workName()}x%.log' userid=%x{$REF/ref:target()/tech:jdbcUser()}x%/%x{$REF/ref:target()/tech:jdbcPassword()}x%@%e(rhino){"%x{$REF/ref:target()/tech:jdbcUrl()}x%".replace(/^jdbc.*:@(.+):(.+):(.+)$/, "$3")}e(rhino)%"
@%x{$REF/ref:target()/tech:serverName()}x%
Thomas BLETON wrote: Hi Nicolas,
The official template includes the serverName property in this expression.
Here is the end of the line :This expression refers to the "Physical Name" of the root database node in the metadata.@%x{$REF/ref:target()/tech:serverName()}x%
Maybe your template version does not have this expression ? Or do you think it is not correct ?
sqlldr userid/password@tns_alias