problems with mysql OWB mapping: double, enum, TEXT fields

Hi all

I'm trying to get my mysql source environment data in the oracle environment, but I have problems with a couple of types of data source: (double, enum, text).

After we used the mapping script:
I used david original platform allans definition script (thanks david)

In the target mysql source mapping
TEXT is mapped as varchar (max)
double as double
ENUM as CHAR (0)? and like TANK (2000) in the temporary_table

the deployment will correctly, but when running, there are problems with the mapping package generated on the target...

"Job 69 error: ERROR (461, 42): PLS-00103: encountered the symbol") "when expecting one of the following values:"

(

(462: 42) ERROR: PLS-00103: encountered the symbol ")" when expecting one of the following values:

(

(473, 38) ERROR: PLS-00103: encountered the symbol "INDEX" when expecting one of the following values:

"

When you look in the package, you see that it is linked to

' TYPE ' T_C$ _26_DE "IS THE TABLE OF VARCHAR (MAX) INDEX DIRECTORY;
TYPE "T_C$ _28_WI ' IS THE DOUBLE INDEX DIRECTORY TABLE.


a double does not exist such an and should probably be mapped to 'DOUBLE PRÉCISION' in oracle.

the enumeration on the target is mapped in a char (1)...

I adapted the scripts of platform like this:

"OMBALTER PLATFORM"MySQL"DELETE PLATFORM_TYPE"double ";
Platform OMBALTER "MYSQL" ADD PLATFORM_TYPE "double".
Platform OMBALTER 'MYSQL' EDIT PLATFORM_TYPE 'double' SET PROPERTIES (SYNTAX) VALUES ('double')
Platform OMBALTER 'MYSQL' ADD FROM_PLATFORM_TYPEMAP 'DOUBLE_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('double', 'DOUBLE PRÉCISION')
Platform OMBALTER 'MYSQL' ADD TO_PLATFORM_TYPEMAP 'DOUBLE_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('DOUBLE PRECISION', 'double')


Platform OMBALTER 'MySQL' 'Double precision', DELETE PLATFORM_TYPE;
Platform OMBALTER 'MYSQL', 'Double précision' ADD PLATFORM_TYPE
Platform OMBALTER 'MYSQL' PLATFORM_TYPE EDIT 'double precision' SET PROPERTIES (SYNTAX) VALUES ('double precision')
Platform OMBALTER "MYSQL" ADD FROM_PLATFORM_TYPEMAP "DOUBLE PRECISION_TOG" SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('double precision', 'DOUBLE PRÉCISION')
Platform OMBALTER 'MYSQL' ADD TO_PLATFORM_TYPEMAP 'DOUBLE_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('DOUBLE PRÉCISION', 'double precision')
--"

Platform OMBALTER "MYSQL" ADD PLATFORM_TYPE "text".
Platform OMBALTER 'MYSQL' PLATFORM_TYPE EDIT 'text' SET PROPERTIES (SYNTAX) VALUES ('text')
Platform OMBALTER 'MYSQL' ADD FROM_PLATFORM_TYPEMAP 'TEXT_TOG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('text', 'CLOB')
Platform OMBALTER 'MYSQL' ADD TO_PLATFORM_TYPEMAP 'TEXT_FROMG' SET PROPERTIES (FROM_DATATYPE, TO_DATATYPE) VALUES ('CLOB', 'text')

help highly appreciated ;-)

Philippe

Published by: user11987935 on August 18, 2010 13:56

Hi Philippe,.

Try this...
Set the mapping in the basic mode GAME...
Right-click the mapping-> select Configure
Under Options-> generation of Code generation Mode-> defined in function
Under Runtime Paramerters-> default Mode Operting-> defined in function

Deploy the mapping and try again...

Kind regards
Suraj

Tags: Business Intelligence

Similar Questions

  • Possible problems with the database in double training?

    Hi all!

    First of all, please forgive my ignorance! I only worked with databases slightly over the past two years and so far only with MySQL and MS SQL.

    Recently, the company I work for bought a new Oracle requiring package. We bought a copy of Oracle 10.2 in the case and the company who resell it to us and set up for us, we have been denied access to the database on our server, dev because it would expose their underlying data schema. I wasn't in the change when the decision was made and we have spent money on a paralyzed copy of Oracle, but it's in the past.

    Because we have not dev access to Oracle, we are unable to create a database of training for this new software in the home. We pay this company to create a test environment for us. I was told that it would cost $500, until technology has said it will install Oracle on the server of our training.

    At this point, I stopped him and said $ 500, they'll be violating their license agreement, or by giving us a free copy! The other possibility is that they were going to install this and then just this law we for Oracle, despite citing the work at $500.

    Technology that was about to proceed with the installation went to check with someone of higher rank and then returned to inform me that install the second copy of Oracle would require license more fresh indeed.

    This verified what I already told him, and I said, we want a database on our existing Oracle server and copies of the new training software can just point to this training base.

    He must now take time with senior technicians while they "analyze the existing database server or the environment. He was trying to tell me to install a database on the existing server and rather buy another copy of Oracle, which seems to me to be a total drain cash. He had no solid reason why it could not do, but refused anyway and said he needs to talk to a senior technician (the same one who said that Yes, we you will need to purchase a second copy of Oracle instead of using a second database on the existing server).

    Thus, these two bases of data, data from phase one and the other a direct duplicate of these data used in a training environment where change will not be being reported should, however, be able to exist peacefully should they not? The same version of the same software to access the same data from the server, just an another database, should not be a problem with my limited knowledge of the Oracle! There are still connections in the environment of training may 5 at the time, and the server must be able to manage currently twice more than the logged in users as is the maximum current (edit: expected) load.

    I know that this would not be a problem with MySQL or MS SQL and Oracle is a superior database package, then someone can think any legitimate reason that can back up the assertion that having this duplicate database will be a problem?

    Thanks in advance for any guidance here!

    It is certainly possible to create a second instance of the database on the same server as your production system. We have several servers with multiple instances. If you follow this path, there are a few things that you should keep in mind.

    Every Oracle instance must have little memory assigned from the RAM server to host the CMS, PGA and other process oracle. Each instance must have sufficient disk space to accommodate files data temporary tablespace, rollback segments etc. Depending on how you plan to implement your training environment, this could potentially be equal to your production environment memory requirements and the disc. If you plan to have a smaller subset of data for purposes of training, then you could probably get with much less than your environment of production.

    Another possibility would be to create another schema in the database of existing production to use for training purposes. While this would need less additional memory and space drive that uttering a completely separate database, it could have an impact on your production system, since the training environment would be sharing resources with the production.

    None of these scenarios would need additional licenses to Oracle (assuming that you have either licensed CPU, or that production and training combined have fewer users you have named user licenses).

    John

  • I have a problem with the cursor jumps when entering text.

    Original title: cursor jumping when entering text

    I use Microsoft 7 and the cursor keeps jumping when I type. This causes the text to be misplaced. Some answers I've seen only direct you to the hardware options but never directly any specific solution. Grateful for ideas?

    Hey Joe,

    Thanks to join Microsoft Community where you will find all the required information on the Windows operating systems!

    The problem may occur due to the speed of the pointer mouse inappropriate or if the sensitivity of the touchpad is too high.

    To help you better, we need more information.

    What is brand and model computer?

    To work with the issue, I suggest you follow these steps:

    Method 1: Hardware store

     

    Open the hardware and devices Troubleshooter

    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    Method 2: Update mouse drivers

     

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

     

    Method 3:

     

    Change the settings of the mouse pointer.

     

     

    Refer to section to change the mouse pointer works on the site:

    Change the settings of the mouse

    http://Windows.Microsoft.com/en-in/Windows7/change-mouse-settings

    Method 4:

    If you use a laptop, change the sensitivity of the touchpad.

    See solving problems with your touchpad in more options in the site:

     

    Mouse, touchpad and keyboard with Windows problems

    http://Windows.Microsoft.com/en-in/Windows/help/Mouse-touchpad-and-keyboard-problems-in-Windows

     

    I hope this helps. If the problem persists, or if you have problems of Windows in the future, let us know and we would be happy to help you.

  • Problem with the displacement map

    Hi all

    I have problem when using a displacement map. Basically, I followed all the steps (Desaturate the background image, slight fuzziness, copy/paste on the new doc, save it as displacement.psd on the desktop).

    And the problem is that whenever I have download the displacement on the image file and no matter what numbers I enter ladders vertical and horizontal, the only thing it does is to move slightly to the left upwards. There is no deformation applied of any kind on the image. I have this same problem with any image that I try to apply the displacement.

    Can someone help and explain what could be the problem?

    dragantomas wrote:

    You looking at screenshot and I am not able to describe what you are trying to explain here it, sorry. Can you explain?

    We tolerate little tmyusuf74 because he throws in his positions of left field now and again, never any sense to anyone.  Go figure.

    Anyway.  Back to your problem...

    Preferences > file management > maximize PSD and PSB file compatibility always set him.

    Once, I lost two days of chasing this little witch hunt.

  • Problems with the grey boxes around some text or words

    We have problems with some of our

    InDesign files. When the text is passed from Word there is gray outline boxes appear around some words or phrases. We have worked with the preferences and also the dictionary, and nothing seems to solve our problem.

    Any suggestions?

    Thanks for your help!

    InDesign-boxes around words.jpg

    Did you open the links Panel and remove the links or change the Fermata? You need to change the points strong one at a time, I think. (I hate the automatic Word hyperling nonsense).

  • Problem with the display resolution double

    I connect to my laptop to a TV with a VGA cable. The TV has the ability to display up to 1920 x 1080. Normally, my laptop display mode is 1280 x 800. When I connect to the TV as duplicate display my laptop switches to 1024 x 768 and won't let me come back to 1280 x 800. How can I fix this. I need dual extended display or tv only is not an option. I need a way to have my normal screen (1280 x 800) resolution when you are connected to the tv (external monitor).  I know that this is not a problem with the VGA cable because I get a resolution of 1920 x 1080, if I select external display (tv). Thanks for your help! Someone else has a solution for me?

    Hello

    I suggest you to update the video card driver and check if it helps.

    Follow the link below and check if that helps.

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Note: If the drivers are not updated, I suggest you to download the drivers from the Manufacturer Web site'w and install it then.

  • problems with the site map

    Hi all

    Ive been trying for hours and Im stuck again. I wish I could call for bc and talk to someone live. I would pay 200 months for this.

    in any case, here's my problem.

    I ran a test of sitemap webmaster tools and it worked fine except that he say I have 32 questions where sitemap URL is blocked by a robots.txt file

    I then went to my sitemap.xml sites http://www.hashems.com/sitemap.XML and copy and paste the URL that I thought I might have a problem with my browser.

    The plan of the site gave me shows URLS that are no longer valid. I changed a few names of URLs for SEO purposes.

    Example of

    http://www.hashems.com/store/coffee/hashems-signature-blend-60-light-40-dark-roast-16oz

    has been changed to

    http://www.hashems.com/store/coffee/hashems-Turkish-coffee-60-light-40-dark-roast-16oz

    But my Sitemap still shows the old URL which, due to my change them are now broken. The < changefreq > is every hour, so doesn't mean that my new URL should appear?

    And is there a way for me to see exactly what 32 urls are blocked by robots?

    Help, please

    www.hashems.com

    Hello

    The sitemap file regenerates every 24 hours. The task that runs every day will pick up the changes and update your sitemap.xml.

    See you soon,.

    -mario

  • Problems with the formatting of the dynamic text box

    I'm under the questions with the help of HTML formatting for a dynamic text field. I know these are weird and I can't understand how to get the formatting right.

    I have on my scene a dynamic text called «content_txt' inside a movie clip instance «content_mc» box When he enters the frame, I just broke down the "content_mc" of the alpha of 0 to 100 with a scenario animation. So that this works, I have to incorporate the police in my text field 'content_txt '. However, the only way I get get the HTML formatting to work is if I do not embed fonts.

    The dynamic text field is configured to render as HTML. In my layer actions, I put the text:

    this.content_mc.content_txt.htmlText = "<b>Hello world,</b> it is me again."

    In summary:

    1. If I do not embed fonts, the alpha fade does not work but HTML formatting doesn't.

    2. If I incorporate police, the alpha fade works but HTML formatting does not work.

    How to solve this? It's driving me crazy!

    then you're not g-d instructions.

    You should have two textfields.  the one on the boards that you started with and that incorporates your normal font (not bold).  and a slide that takes the same family of fonts with license "BOLD".  Repeat the test.

  • Problem with the movieclip by double loop

    Hello, this is more a problem of logic programming that actually a problem with the code.

    I'm building a schedule where each month are built on the fly with the movieclip duplicate for each day (with an empty textfield). I am building the calendar according to the number of days of the month has, he begins to what day of the week, etc, etc..

    Then I load an external xml with the new arrivals. Subsequently, I need to check the days of this month were new. At the moment I have 2 parts in stock in my xml stream ( http://s50699.gridserver.com/xml/news_en.xml). It all works very well.

    However, I only manage to highlight a day of this month, the last news item-, which means that the loop runs twice, but he recorded only the last number, so the day highlighted that shows on the calendar, is, therefore, of this last point news.

    I attached the code below and will be really grateful for any help or general advice.

    _root ['dot' + s] does not know he has a report any with the number i after the advances of your loop. in particular, by releasing _root ['dot' + s] I'll be the last value of your loop.

    to remedy this, use a variable that stores the value of i when _root ['dot' + s] is created:

    .Ivar _root ['dot' + s] = i;

    and use this.ivar rather than I in your onRelease handler.

  • Problem with storage of the profiles moved in field with the version 20.0

    Hello. Used an online translator. At the office of a local network with the domain name. All user profiles are stored by politicians in the field in the network folders on the server using equipment "the folder redirection. With the Firefox update to version 20, it stopped working. Pages that have been stored in bookmarks do not open pages only, open new, generally nothing happens as if the buttons in the page transition actions are inadequate, all search engines have disappeared. The complete elimination of the program and repeated installation does not solve a problem with a profile. Help, only the creation of a section local profile, but it is not a solution.

    Sorry,
    This is a known problem due to the use of UNC paths does not correctly supported by Firefox 20

    There will be a special ("Chemspill") version of Firefox. It will be Firefox 20.0.1 and will probably be released Wednesday, April 10.

    If you are unable to wait for to install Firefox ESR 17.

    Firefox17 ESR is affected by this problem and intended specifically for business / corporate, up-to-date and secure.

    This is a related thread and it contains a suggested workaround solution /questions/955232 #answer - 424739 while continuing to use Firefox 20.0.0

    It's a shame these undertakings do not use ESR apparently do not test the pre-release versions in their IT departments. At least by two Aurora and Beta

    1. Evening http://nightly.mozilla.org/
    2. Aurora, http://www.mozilla.org/en-US/firefox/all-aurora.html
    3. Beta http://www.mozilla.org/en-US/firefox/beta/
  • Can someone help me with the properties of the multiline text field?

    Adobe is not my first or second language. I have been responsible for making a form to fill out and were able to understand a little after reading the Adobe Acrobat Bible, most, however, I just can't understand this little thing that's driving me crazy! I created a large default text field (so the person filling out the form to the management a little) this field is also defined as a multiline and also make field scroll long text. The problem is that the default text is highlighted not crept to crush then tab through the various areas of creation. He puts just the cursor at the end of the text by default so using back or manually select and delete text. I looked at how to set up the rest of the fields and the only thing different, I selected the multiline text box in the Properties menu. I need to be multiline text. If this is not the case, only the first words of the default paragraph I entered couple is visible. Any suggestions or ideas would be a step ahead of where I am now. Thanks in advance.

    Yesterday, we discussed a similar situation and the solution should work for you too: http://forums.adobe.com/thread/756410?tstart=0

    What you do is create a Format script that displays the text that you want, when the field is empty, but this text is not the value of the field. The modified script below prevents printing explanatory text if the field is empty.

  • Choose between MySQL and Oracle - problem with MySQL text columns?

    Hello.

    New to this forum and Oracle please go easy on me.

    I'm selecting data in a MySQL database.

    This SQL works very well: -.
    Select 'Device_Label' Device"@ed_link «»
    where "Device_ID" = 6665;
    Here, the MySQL Device_Label column is of type varchar (255).

    This SQL fails with the error - ORA-00904: "Device_Tag": invalid identifier
    Select 'Device_Tag' Device"@ed_link «»
    where "Device_ID" = 6665;
    Here, the MySQL Device_Tag column is of type text.
    Column Device_Tag certainly exists and is populated.

    Is the problem related to the MySQL type text column, and is there a solution?

    Thank you.

    Hello
    The ora-997 because of the entry door is not a restriction of the Oracle. You cannot use a table defined as a long in the create table... as select statement..., you would see the problem even if it was a copy of Oracle for Oracle.
    If one of the columns of MySQL are translated as a long in Oracle you will hit this problem.
    The bypass alone is to avoid columns long or you can try to create a view in MySQL by using the cast function, which converts the columns that translate to long something and then use it in the create statement.

    Kind regards
    Mike

  • Problem with end of line in the text file.

    Using LabVIEW 2010 on W7 64 bit in the USA.

    I have an application in which I write in a text file.  I use the function "Write to a text file" to write the text and "Reading a text file" function to read again.  My problem is with the end of line character.  The text that I write is a long chain, not an array of strings.  While building this chain, I insert the constant EOL of the palette of channels function to indicate that a new line is planned.  My tests showed this EOL constant values of consecutive bytes 13 and 10.  After writing all the text in a file, I can open the file with Notepad, or Word, or something else, and it is displayed correctly.  When I read he returned with the function of text file reading, I'm trying to parse the string by searching for the same constant EOL, but it does not work.  A closer examination of the extracted string from the file reveals that the value of end of LIFE has changed for only 10.  The location of the byte to 13 disappeared.  I know there is a note on the writing of the function of text file add/change the EOL characters, which are the default values of the system, but the note specific tables.  I manually put the value in the string.  Does anyone know why this happens and how to fix it?

    Thank you.

    The help of reading from text file function

    The function converts all characters in end of line break characters online platform, dependent unless you right-click the function and remove the check mark next to the menu item Convert EOL .

    Right-click your reading and uncheck the EOL conversion.  I recommend to do the same thing to your writing to text file feature.

  • problems with Windows 7 mapping network drive

    I bought a new computer to work today. It's a HP Pavilion Slimline s5220f. Works on Windows 7. All our other computers working under Windows XP. We have an external hard drive that acts as a file shared for the organization. (We are a small non-profit and rather rudimentary.)

    I have problems to connect to our "shared drive" - the reader 's' - where all our shared work files are kept. I have connected a hundred times on other computers, but can't seem to get it right with Windows 7... What I do usually it is right click on the 'my computer' icon and click «map drive network...» "Then I put in '\\filecabinet\shared' and he asks a log on and password... I checked the log on and password - everything is correct. When I enter the log and password, I get a message saying that "the specified network password is not correct".

    I spoke with two different people at HP. Nothing has worked. I really need access to these shared files in order to work. Help me!!

    After authentication on your Windows 7 computer, is there an indication of a field in the dialog box? (If not in a domain, your computer name is represented by a colon after it.) Well, if so, your computer tries to authenticate with domainname\username instead of only User_Name. It gave me trouble when authenticating to a SAMBA file server. Try plugging a "\User_Name". Your computer name should disappear when you type the backslash.
    Warning: this was tested on a Windows 7 machine company. This trick should also apply to Win 7 pro. I don't know about other editions if.

  • Problem with the drive mapping with error code 1312 network

    Hello guys.

    When I use the function of network with the config below card reader in the enterprise, it takes so long when connecting and finallly gave the error message

    (who needs to connect is a group of servers and we use the domain name to access)

    error message:

    However, when you use the following configuration, it could connect successfully.

    Also when using net use command line, he gave the missage with 1312 error code error.

    Do you know what exactly is causing this problem and give a solution?

    Given that we have to use the map network drive feature in our program.

    Thank you very much!

    Hello

    Thanks for posting your query in Microsoft Community Forum.

    According to the description of the issue, I recommend you post your query in the TechNet Forums. TechNet is watched by other computing professionals who would be more likely to help you.

    TechNet Forum

    http://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro

    Hope this information is useful.

Maybe you are looking for

  • How much memory left on iPhone 5

    I am running the latest OS and software on my iPhone 5 and the iMac. When I sync the iPhone in iTunes, iThunes indicate that I'm 5.35 GB of memory left, but on the iPhone it says I have only 3.7 GB left. Why this difference?

  • HP 15-d020dx: I have a question.

    I have a question. Where can get the manuls for my laptop HP TouchSmart Notebook PC (ENERGY STAR) 15-d020dx? I bought the laptop used. And the person never gave me the all the user manuals. Can I have HP send me them or I can upload them hps Web site

  • error code hp officejet pro 8600 346 trying to fax a document

    How can I fix this error?

  • Cannot open any attatchements in my windows live

    Hello just got a new laptop.dell inspiron .for some reason that I can't open any attatchements do I have to specify a default program, or install a special program? TKS for any help :-)

  • Windows Mail does not read fonts properly

    as noted above, I have created a stationary and it worked very well so far, but now it does not show the same font as the saved file. I got Goudy Old Style, but in the mail it is italic, all the patches?