Trimming comma in Transformation

Hi all,
I have a requirement of storing a string (containing commas) into an integer database field (without commas). I am thinking of trimming the commas inside transformation but I am not able to acheive it.
Source Datatype: String
Source Data example1: 2,000,765
Source Data Example2: 1,000
Destination Database column datatype: Number
Destination Data should look like: 2000765 (for example1) and 1000 (for example2)
I need to remove the commas from the incoming string and need to store it in Database column. Above I have mentioned just an example.
I am using Jdeveloper 10.1.3.3 version.
Please help me out in this.
Thanks,
Abhishek.

Hi all,
I have resolved this issue by using Translate function and then converting it to number in Transformation.
Thanks,
Abhishek...

Similar Messages

  • Arrow keys force "commit" of Transform

    I'm dragging some large images into a FW document and then transforming them (Command-T) to a smaller size. When I get them close to final size I nudge them around to make sure they're really the size I want - but as soon as I tap an arrow key the Transform control handles go away and I'm no longer in "transform" mode.
    I assume this means that FW resamples the image pixels at that point - and so any further transforming counts as a second transformation (with further pixel degradation).
    Why would using the arrows cause the Transform to "commit" like this? Photoshop doesn't do it...
    Just another CS 4 inconsistency I guess (sigh)...

    Thanks for the link. I'm still gonna gripe here - bit less of a black hole, plus more chance of stirring up a mob, pitchforks, torches, etc.
    I'm getting the feeling FW is a bit more solid on the PC. Wonder if it started life there?
    It's interesting - I was talking to my wife about UI "feel" in various programs. We're all Mac so can't speak to the PC side, but Photoshop on the Mac just responds like it's reading your mind. FW does not - frequently misses clicks, doesn't select "intuitively", things drag funny or not where you want them to, etc. Flash too, maybe a little less so. Illustrator is picky too to some extent. InDesign as well. They all feel different and none as smooth as Photoshop.
    We both miss Freehand. Interesting since it was also a Macromedia app (and other apps like FW or Flash don't seem to "feel" as smooth), but like Photoshop it seemed to have a well tuned UI as far as selecting and manipulating things. Illustrator feels a bit more "professional" as an app but not as slick in UI responsiveness.
    Fireworks is this weird app that I want to like, and I think I DO like it, except that it has all these parts that just don't work like they "should" (i.e. like the user expects/intuits them to). Kind of like an old British motorcycle. I'm forcing myself to use it instead of my previous Photoshop/Imageready workflow, and I must say it's nice to stay in one app to work. Still takes me twice as long to do anything but guess that's learning curve.

  • Trimming comma from string

    Hi all,
    I have a requirement of storing a string (containing commas) into an integer database field (without commas).
    Source Datatype: String
    Source Data example1: 2,000,765
    Source Data Example2: 1,000
    Destination Database column datatype: Number
    Destination Data should look like: 2000765 (for example1) and 1000 (for example2)
    I need to remove the commas from the incoming string and need to store it in Database column. Above I have mentioned just an example.
    I am using Jdeveloper 10.1.3.3 version.
    Please help me out in this.
    Thanks,
    Abhishek.

    Hi all,
    I have resolved this issue by using Translate function and then converting it to number in Transformation.
    Thanks,
    Abhishek...

  • How to commit interactive transform?

    When I hit enter or double click to commit the interactive transform step I get an error.
    // Transform duplicate layer
    function InteractiveTransform() {
        app.runMenuItem(charIDToTypeID("FrTr"));
    InteractiveTransform();
    Error:

    InteractiveTransform() is a function someone wrote wrote and it look like the the function does not catch a cancel or no change made by the user.  surround the function with a try catch or fix the function add a try catch in it..
    try {InteractiveTransform()}
    catch(e){alert("Image Transform Canceled");}
    try{
       InteractiveTransform()
    catch(e){}
    //==================== Interactive Transform ==============
    function InteractiveTransform() {
      // Menu Edit>Free transform
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID('Mn  '), cTID('MnIt'), cTID('FrTr'));
        desc1.putReference(cTID('null'), ref1);
       try{
           executeAction(cTID('slct'), desc1, DialogModes.NO);
       catch(e){}

  • Turn off "Commit Transform" or  make middle click return?

    Hi All,
    I'm finding that having to click the "commit transform" check mark after every adjustement to be annoying. Is there a way to automatically commit transform by clicking a new layer? or make middle click commit the transform?
    thx,
    jayson

    You should be able to click insde the transform handles to commit the transform or switch tools.
    Depending your mouse driver you might be able to assign the enter/return key to the middle mouse button.

  • Expanding the appearance of live transform breaks up fill and stroke

    Okay, so I never ever use Effect > Distort & Transform > Transform, but with all the hubbub about the stroke scaling bugs in Illustrator CC 2014, I've been fiddling with it lately, and I'm confounded by something: once you perform a "live" transformation of an object, how do you expand the transformation so it's not live anymore, while retaining the integrity of your object? When I use Object > Expand Appearance, it breaks the fill and stroke of the object into two objects. Am I doing it wrong, or is this a bug?
    This can't be the normal behavior, since it is impossible to expand the appearance of an ordinary stroked/filled object (the menu item is grayed out).

    I can't accept that; the two issues remain:
    1) How do you expand/commit the transformation so it's not live anymore, while retaining the integrity of your object? If you can't, that's ridiculous.
    2) If this was the normal behavior, then you ought to be able to separate the fill from the stroke on a newly-created shape with Expand Appearance as well, but you can't because it's grayed out.
    Furthermore, common sense dictates that the user would rarely—if ever—want their shapes to be exploded like that. Seems more like an egregious oversight than "normal" behavior.

  • Database adapter and commit

    I am trying to use BPEL process manager to read many items from a database table, transform them and then write the transformed records to another table. I have found the database adapter demo very useful. However, I would like to commit the transformed data only when all the data has been succesfully transformed. Can anyone think of a way of doing this? I am new to BPEL and JCA, perhaps the wsdl for the database adapter could be changed to expose a commit method?
    Thanks in advance for any advice.
    Neil.

    Hi Neil,
    at the moment it is not possible to have the entire bpel process from db adapter receive to db adapter invoke inside a single jta/global transaction context. We are working on some ideas for next the release.
    The best thing for now is to add exception handling to your business process and apply some compensation logic for the individual records which fail. I.e. if using the LogicalDeletePollingStrategy you could set the 'deleted' flag back to 'errored' for rows which are found to be invalid in the transform step and have a separate business process to deal with these.
    You could also try a large maxRaiseSize setting. That way if you read 100 rows they will be raised as a single xml document. If the transform fails then no rows will be written to the target database. However the commit will still occur on the source database.
    Finally, you could use a non-destructive polling strategy like the SequencingPollingStrategy or LogicalDeletePollingStrategy and a large maxRaiseSize. Your business process could look like this:
    receive (non-destructive destroy)
    transform
    merge all rows - target db
    delete all rows -source db
    If the 'merge' operation is jta enabled then it will be rolled back if either the transform or the delete fails.
    This above idea is like a two stage polling strategy. First the rows are marked as being processed by the receive, but only when they arrive at the target db are they marked a final time as being completed or deleted completely.
    Let us know if you need help implementing these ideas. To jta enable the merge see the recent thread 'oc4j-ra and data-sources.xml'.
    Thanks
    Steve

  • Commit inside pl/sql trasnformation

    In OWB (10.2.0.1) mapping I call custom pl/sql function via transformation operator. Inside this function there is insert to table. Problem is that commit doesn't work during execution of this function when mapping started in normal mode from control center, but if I start it in mapping editor in debug mode all is working fine, commit works. I've tried create this function as AUTONOMOUS_TRANSACTION, but result is the same - no commit inside my pl/sql function.
    Is it possible some how use commit in transformation operator function?
    Thanks.

    Hi,
    you must use the PRAGMA AUTONOMOUS_TRANSACTION.
    In one session you see the inserts also without a commit, so in the debug mode it only seems to work without this pragma.
    Be aware frm the misunderstanding that you can use the results of the autonomous transaction in the calling mapping. Look here: http://orafaq.com/node/1915.
    Regards
    Detlef

  • Does anyone know how to select multiple files in photoshop cs6 on macbook pro lion

    I'm new to Mac operating system. Can anyone tell me how to select multiple images in cs6 photoshop? Without having to hold down a shift or cmd key and clicking on each one.

    I assume you are using the Shape tool to draw your hexagons. After you drag out the shape, use the Transform controls to tweak the size, so that the width is evenly divisible by 4, and the height is an even number. If you wand a gap between shapes, include that in your adjustments. Make a note of the new width and height.
    Once the scaling is committed and the shape is selected, Control+Alt+T to Free Transform Copy, and in the Option Bar, set the X and Y to Relative. Set X to zero, and Y to the height you set earlier, and commit the Transform. Then Repeatedly press Shift+Control+Alt+T to make more transformed copies.
    With a vertical column of shapes, Alt-Click on the Shape Path in the Paths panel to select the whole path. Control+Alt+T again. This time, again using relative, set X to three-quarters of the width you noted earlier, and Y to one-half the height, and commit
    Finally, again Alt-click on the Shape Path in the Paths panel, and Transform Copy relative with X = one and a half times the width you noted, and Y to zero. After committing this, Shift+Control+Alt+T as above to extend more columns.
    And JJ, those are Octagons .

  • Does anyone know how to align hexagon shape in photoshop

    help~ i have problem aligning my hexagon shape, they just don't have the same gap between each other...even when i turn the smart guide on it works the same (sorry for my bad english)
    well im using adobe photoshop cs6 extended, please give me tip & trick to align them

    I assume you are using the Shape tool to draw your hexagons. After you drag out the shape, use the Transform controls to tweak the size, so that the width is evenly divisible by 4, and the height is an even number. If you wand a gap between shapes, include that in your adjustments. Make a note of the new width and height.
    Once the scaling is committed and the shape is selected, Control+Alt+T to Free Transform Copy, and in the Option Bar, set the X and Y to Relative. Set X to zero, and Y to the height you set earlier, and commit the Transform. Then Repeatedly press Shift+Control+Alt+T to make more transformed copies.
    With a vertical column of shapes, Alt-Click on the Shape Path in the Paths panel to select the whole path. Control+Alt+T again. This time, again using relative, set X to three-quarters of the width you noted earlier, and Y to one-half the height, and commit
    Finally, again Alt-click on the Shape Path in the Paths panel, and Transform Copy relative with X = one and a half times the width you noted, and Y to zero. After committing this, Shift+Control+Alt+T as above to extend more columns.
    And JJ, those are Octagons .

  • How to eliminate spaces while reading a file in BPEL Process

    Hi All,
    How to eliminate space when reading a file which of fixedlength and inserting into database.
    Inserting some of columns sucessfully but there is a column where there is a space n front the value, how to eliminate the that space.
    I have a custom XSD and using out in the process. How to resolve this issue to get all rows sucessfully inserted into the database.
    Anyone hod gone through this kind of functionality.
    Regards,
    CH

    Hi,
    try to use XPath functions like 'normalize-space()', 'right-trim()', 'left-trim()' in your transformation.
    Regards,
    Martin.

  • Embedded vector files aren't anti-aliased. How do I fix this?

    When I attempt to embed vector files in Photoshop sometimes they appear without anti-aliasing. I've tried rasterizing them after they are embedded, but this doesn't fix the issue.
    Here is a video I captured of the issue in action: 2014 10 10 12 39 54 - YouTube
    And here's a photo of the several embedded .EPS files.

    Rasterizing will just keep the bits you have.
    Select the smart object layer, select free transform, turn on the antialias checkbox in the free transform options, and commit the transform (without moving anything).

  • Strange WindowListener behaviour

    Hi,
    I'm using 1.6.0 (not updated yet)
    public abstract class MForm implements ActionListener, KeyListener, WindowListener
    protected Window window;
    protected boolean loaded = false;
    public void showWindow(Window parent)
        if(!loaded)
            loaded = true;
            JDialog dialog = new JDialog(parent);
            window = dialog;
            //initialize stuff
        window.setVisible(true);
    public abstract class EditForm extends MForm
    public void showWindow(Window parent)
        if(!loaded)
            loaded = true;
            JDialog dialog = new JDialog(parent);
            window = dialog;
            window.addWindowListener(this);
            //initialize stuff
        window.setVisible(true);
    public final class DBUserGroup_E extends EditForm
    public void windowClosed(WindowEvent e)
        System.out.println("here");
    public final class DBUserGroup_M extends MForm
    private DBUserGroup_E groupForm;
        //create the object in the constructor,
    //There will be a popup menu to trigger the groupForm to be shown.
    }Now this is the behaviour.
    IF DBUserGroup_E is shown (via shownWindow()) the "here" message is printed when DBUserGroup_E is closed AND when DBUserGroup_M is closed!!! why is that?
    Thanks,
    Max
    Edited by: o00oo00o on Oct 16, 2007 10:05 AM

    Pattie,
    Not to answer for Simeon, but this is different behavior in PsCS6.  Say you scale two  text layers (for example- 10 pt scaled 200%) and commit the scale. When you target each layer individually, the pt size reflects the scale (so it will appear around 20 pt). However. if you target BOTH text layers the font size is indicated as 10 pt - the original size before the scale. One would expect if you target 2 text layers of same font and size, the Character Panel would show the correct size, as happens in PsCS5.
    Steps to reproduce:
    Open default RGB 8 bit document.
    Select Type tool at default settings 12pt type. Type a word and commit type.
    Type another word at same font and commit (you’ll now have two text layers, same font and size)
    Target both text layers and Edit>Transform>Scale 200%. Commit the transform.
    When each layer is targeted individually, the Type Tool Option bar (or Character Panel) shows the new, scaled size of 24pt
    Shift click to target both the 24pt text layers… now Type Tool Option bar reverts to show 12 pt.
    Expected behavior: that the Option Bar would show the new pt size of the two layers.

  • Navigating a zoomed image with shift+end... but using an action or a script?

    hello,
    i a have a crop script and with all my images i have to clean the floor...
    in that script the image goes to 200% zoom, them manually i hit "shift+end" to move to the bottom right of the image... so that i can clean that floor.
    can you help me automate the process with a script or lead me how to create the code?
    shift+end or shift+home using script
    thank you in advance
    Vitor Rompante

    Do you know how to code Photoshop Scripts in javascript.
    It is also impossible is Actions and  Script to give users complete manual control only interactive controls of a step is possible.    For complete manual control the script and actions need to be broken in to two actions or two scripts.  It can also be done by adding stops in actions that divide actions into part that can be used to continue execution after the stop and user operations.
    If its the just the bottom area you want to crop away its a relatively easy action to record. You would just inster a fit on screen menu item, record a select all,  then use menu select>Transform selection rotate the selection 180 and move up the bottom about 10 % commit the transform and finally record menu  image>crop. Stop recording the action and turn on the transform steps dialog to make the step interactive.  When the action is played the transform dialog bounding box will display and be interactive. You have control of the transform. If the recorded 10% bottom off is acceptable all you need do is hit enter to complete the crop.
    Try this one http://www.mouseprints.net/old/dpr/cropfloor.atn
    Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
    Contains
    Action Actions Palette Tips.txt
    Action Creation Guidelines.txt
    Action Dealing with Image Size.txt
    Action Enhanced via Scripted Photoshop Functions.txt
    CraftedActions.atn Sample Action set includes an example Watermarking action
    Sample Actions.txt Photoshop CraftedActions set saved as a text file.
    More then a dozen Scripts for use in actions
    Example
    Download

  • Resizing a drawn rectangle removes 'snap to pixels' and gives blurry edges, why?

    Hi,
    When i draw a rectangle in photoshop i have to make sure that the "Snap to pixels" is enabled otherwise it will draw a rectangle with blurry edges (firstly why on earth does photoshop do this since its a vector graphic...). I need to then resize this rectangle with free transform (while it is still a vector) however this causes the blurry edges to show again on th rectangle. How do i use the free transform on a rectangle with perfectly crisp edges without causing the blurry effect again?
    Thank you.

    Using the gridlines can be a little tricky, you have to look at all the corners before
    you commit the transform and make sure you have View>Snap checked or the
    path won't snap to the gridlines.
    Another option would be to use paths instead of shape layers and then when your
    certain of the size and position of the path, use the fill paths option with anti-alias turned off
    and 0 feather radius.
    Right click the path in the paths panel and choose Fill Path.
    MTSTUNER
    Message was edited by: MTSTUNER

Maybe you are looking for

  • A B E N D  KTEXT : MMPV_DATE_CHECK: Error occurred (Note 1082841).    Trans

    Hi gurus I am trying to open posting period in MMPV but it is displaying a errror *A B E N D* *KTEXT : MMPV_DATE_CHECK: Error occurred (Note 1082841).* *Transaction MMPV (period closing program) cannot be executed. For more information, see Note 1082

  • Query Result Error

    Hi Experts, I am facing problem with Bex Queries in Dashboards.. I am using Bex Queries in the Dashboard. When i go to Preview Mode i am getting an error "Query Result Error". In this dashboard i do have an Hierarchical Data. Please help me in solvin

  • Contact person/s for Vendor master

    Is there a way I can add multilple contact persons to the vendor master? If yes, plase indicate how this can be done and what config changes are to be done. Thanks.

  • How can I see a video through a logo?

    Hello, I've been searching on the internet about vectors and such but haven't found the solution. I need to make my own custom logo wich I did but my mistake was that I did it in photoshop and not in illustrator. The thing is that I vectorized the fi

  • Thunderbolt Dock for External Hard Drive

    Hi there, I'm trying to find a Thunderbolt Dock for External Hard Drive. One of these http://www.topbuy.com.au/tbcart/pc/External-SATA-Hard-Drive-Docking-Station-USB- Interface-937p3180.htm But with Thunderbolt connector instead of USB, Firewire, eSA