Claudio,

Your message was stuck in the anti-spam moderation queue, sorry about that.

If your database doesn’t have a regex string replacement function (e.g., 
REGEXP_REPLACE in Oracle), then there’s no easy way.

If the string replacement is a strict 1:1 replacement (that is: if A != B, then 
replacement(A) != replacement(B)), then you can implement your own replacement 
logic in Java and reference it using a d2rq:TranslationTable, see here:
http://d2rq.org/d2rq-language#translationtable

Best,
Richard



On 13 Feb 2014, at 11:19, Claudio Pomo <claudio.p...@gmail.com> wrote:

> I would be able to replace a string with another when using a mapping 
> generated with D2RQ. Now I'm using d2rq:uriSqlExpression but I should prefer 
> using a regex if is it possible. Any suggestions? 
> Thanks in advance
> -------------------------
> Claudio Pomo
> +39 3201176508
> 
> I hope in Meraki
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk_______________________________________________
> d2rq-map-devel mailing list
> d2rq-map-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
d2rq-map-devel mailing list
d2rq-map-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to