Mappingtool - sybase don't know about CMD_LINE

Hi
I'm trying to get kodo 3.0.2 to work with sybase 12.5.1.
However, when running the mapping tool, it creates an invalid sql create
table statement. A field JDOCLASS with type CMD_LINE is created, but sybase
don't know about CMD_LINE!
Any ideas what is going on here?
Where does this CMD_LINE come from?
Regards
Jesper
[mappingtool] kodo.util.FatalException:
com.solarmetric.jdbc.ReportingSQLExcepti
on: Can't specify a length or scale on type 'CMD_LINE'.
[mappingtool] {stmnt 26357574: CREATE TABLE ORDER0 (JDOCLASS CMD_LINE(255)
NULL
, JDOID NUMERIC(38) NOT NULL, JDOVERSION INT NULL, ORDERDATE DATETIME NULL,
ORDE
RNO CMD_LINE(255) NULL, STATE INT NULL, SUBTOTAL FLOAT(32) NULL, UNQ_INDEX
NUMER
IC IDENTITY UNIQUE, CONSTRAINT P_ORDER PRIMARY KEY (JDOID))} [code=2716,
state=Z
ZZZZ]
[mappingtool] NestedThrowables:
[mappingtool] com.solarmetric.jdbc.ReportingSQLException: Can't specify a
length
or scale on type 'CMD_LINE'.
[mappingtool] {stmnt 26357574: CREATE TABLE ORDER0 (JDOCLASS CMD_LINE(255)
NULL
, JDOID NUMERIC(38) NOT NULL, JDOVERSION INT NULL, ORDERDATE DATETIME NULL,
ORDE
RNO CMD_LINE(255) NULL, STATE INT NULL, SUBTOTAL FLOAT(32) NULL, UNQ_INDEX
NUMER
IC IDENTITY UNIQUE, CONSTRAINT P_ORDER PRIMARY KEY (JDOID))} [code=2716,
state=Z
ZZZZ]
[mappingtool] at kodo.jdbc.meta.MappingTool.record(MappingTool.java:491)
[mappingtool] at kodo.jdbc.meta.MappingTool.run(MappingTool.java:878)
[mappingtool] at
kodo.jdbc.ant.MappingToolTask.executeOn(MappingToolTask.java:
175)
[mappingtool] at com.solarmetric.ant.TaskBase.execute(TaskBase.java:105)
[mappingtool] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:193)
[mappingtool] at org.apache.tools.ant.Task.perform(Task.java:341)
[mappingtool] at org.apache.tools.ant.Target.execute(Target.java:309)
[mappingtool] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[mappingtool] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[mappingtool] at
org.apache.tools.ant.Project.executeTargets(Project.java:1255
[mappingtool] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[mappingtool] at org.apache.tools.ant.Main.start(Main.java:196)
[mappingtool] at org.apache.tools.ant.Main.main(Main.java:235)
[mappingtool] Caused by: com.solarmetric.jdbc.ReportingSQLException: Can't
speci
fy a length or scale on type 'CMD_LINE'.

Hmm. It looks like your JDBC driver is returning faulty information as
for default JDBC types (we ask the driver what is the best datatype for
say Types.VARCHAR). Is your database up to date with patches/metadata?
A work around for now would be to use a subclass of
kodo.jdbc.sql.SybaseDictionary which calls setVarcharTypeName in the
constructor with the proper datatype.
Jesper Ladegaard wrote:
Hi
I'm trying to get kodo 3.0.2 to work with sybase 12.5.1.
However, when running the mapping tool, it creates an invalid sql create
table statement. A field JDOCLASS with type CMD_LINE is created, but sybase
don't know about CMD_LINE!
Any ideas what is going on here?
Where does this CMD_LINE come from?
Regards
Jesper
[mappingtool] kodo.util.FatalException:
com.solarmetric.jdbc.ReportingSQLExcepti
on: Can't specify a length or scale on type 'CMD_LINE'.
[mappingtool] {stmnt 26357574: CREATE TABLE ORDER0 (JDOCLASS CMD_LINE(255)
NULL
, JDOID NUMERIC(38) NOT NULL, JDOVERSION INT NULL, ORDERDATE DATETIME NULL,
ORDE
RNO CMD_LINE(255) NULL, STATE INT NULL, SUBTOTAL FLOAT(32) NULL, UNQ_INDEX
NUMER
IC IDENTITY UNIQUE, CONSTRAINT P_ORDER PRIMARY KEY (JDOID))} [code=2716,
state=Z
ZZZZ]
[mappingtool] NestedThrowables:
[mappingtool] com.solarmetric.jdbc.ReportingSQLException: Can't specify a
length
or scale on type 'CMD_LINE'.
[mappingtool] {stmnt 26357574: CREATE TABLE ORDER0 (JDOCLASS CMD_LINE(255)
NULL
, JDOID NUMERIC(38) NOT NULL, JDOVERSION INT NULL, ORDERDATE DATETIME NULL,
ORDE
RNO CMD_LINE(255) NULL, STATE INT NULL, SUBTOTAL FLOAT(32) NULL, UNQ_INDEX
NUMER
IC IDENTITY UNIQUE, CONSTRAINT P_ORDER PRIMARY KEY (JDOID))} [code=2716,
state=Z
ZZZZ]
[mappingtool] at kodo.jdbc.meta.MappingTool.record(MappingTool.java:491)
[mappingtool] at kodo.jdbc.meta.MappingTool.run(MappingTool.java:878)
[mappingtool] at
kodo.jdbc.ant.MappingToolTask.executeOn(MappingToolTask.java:
175)
[mappingtool] at com.solarmetric.ant.TaskBase.execute(TaskBase.java:105)
[mappingtool] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:193)
[mappingtool] at org.apache.tools.ant.Task.perform(Task.java:341)
[mappingtool] at org.apache.tools.ant.Target.execute(Target.java:309)
[mappingtool] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[mappingtool] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[mappingtool] at
org.apache.tools.ant.Project.executeTargets(Project.java:1255
[mappingtool] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[mappingtool] at org.apache.tools.ant.Main.start(Main.java:196)
[mappingtool] at org.apache.tools.ant.Main.main(Main.java:235)
[mappingtool] Caused by: com.solarmetric.jdbc.ReportingSQLException: Can't
speci
fy a length or scale on type 'CMD_LINE'.
Steve Kim
[email protected]
SolarMetric Inc.
http://www.solarmetric.com

Similar Messages

  • HT201210 nowadays have many user have problem with update to ios7 and need active with apple id maybe in the future in order escape from these problems must be stop use these products else. Because of simple user don't know about this technology and somet

    nowadays have many user have problem with update to ios7 and need active with apple id maybe in the future in order escape from these problems must be stop use these products else. Because of simple user don't know about this technology and sometime just hear from other user that it 's difficult to use then force they change phone that use to handle to another.

    It is a feature to discourage the theft of iPhones by making them useless if resold. It's not going anywhere. It's simple: just don't buy a phone until you make sure that the activation lock has been disabled.

  • I have problem  in signing in I don't like read and accept terms I cannot access this I don't know about this read and accept terms this is poor, I just like android's simple option and simple singing in, but how to use apple I'd?

    I have problem  in signing in I don't like read and accept terms I cannot access this I don't know about this read and accept terms this is poor, I just like android's simple option and simple singing in, but how to use apple I'd?

    Your computer is called an iMac.
    Did you turn proxies on?  If so, you should turn them off.

  • HT201320 re-setting up a Yahoo email account, I repeatedly get the message "server unavailable, please try again later", is there something different I don't know about?

    re-setting up a Yahoo email account, I repeatedly get the message "server unavailable, please try again later", is there something different I don't know about?

    If you have two-step verification turned on, turn it off by logging into your Yahoo mail account on a browser.

  • HT6030 Up to now, I have been able to check what is still sitting in my Sympatico mailbox on the server by selecting any email and hitting command-i to get info. All I get In Mavericks is a burp. Is there a way to do this that I don't know about?

    Up to now, I have been able to check what is still sitting in my Sympatico mailbox on the server by selecting any email and hitting command-i to get info. All I get In Mavericks is a burp. Is there a way to do this that I don't know about?

    1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do.
    Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
    Your Library has been damaged from being run on an overfull disk.
    How much free space on it now?

  • My mac pro has no sound, all is on. isthere a mute i don't know about?

    my mac pro has no sound. don'yt know what i did. is there a mute i don't know about? was wking fine.

    F10 is usually the function key on MacBook Pro's.  You might have accidentally touched it.  Hit it again, and the sound will return.
    Also, I hope you're not actually using OSX 10.5.1.  You should get all the security and performance updates to protect your Mac.

  • When i am typing in a browser window, my browser page shifts slightly, highlights in blue, and does not allow me to keep typing.  i have to keep clicking on the page to continue to type letter by letter...is there some function on that i don't know about?

    When I am typing in a browser window, my browser page shifts slightly, highlights in blue, and does not allow me to continue typing...i have to click in the browser to allow typing to continue...is there a function running that I don't know about?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up a guest account” (without the quotes) in the search box.
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem(s)?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    Note: If you’ve activated “Find My Mac” or FileVault in Mac OS X 10.7 or later, then you can’t enable the Guest account. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Hello . I'd like to buy an iPhone 5S Space Gray 64GB and get free shipping from the USA to Russa but the problem is I don't know about wireless service plan . What should I choose for Russian wirelesses ? Does T-Mobile work in Russia ? Please , help me

    Hello . I'd like to buy an iPhone 5S Space Gray 64GB and get free shipping from the USA to Russa but the problem is I don't know about wireless service plan . What should I choose for Russian wirelesses ? Does T-Mobile work in Russia ? Please , help me
    Sorry , but product is iPhone 5S

    You can't buy from the Apple store online in the US because it is country specific and you firstly need a US credit card and then a US address and they won't ship outside of the US so you can't.
    No Apple online store will ship outside the coutry.
    If you want an iPhone, then you'll have to order via the Russian Apple store online if there is one, or you'll have to wait until it is released in your own country or go and buy one in Europe.

  • Why is there a charge on my credit card for $12.48 that I don't know about?

    Why is there a charge on my credit card for $12.48 that I don't know about?

        I know it's important to understand your charges cvette52. Have you been able to review your statements to match up this charge? Do you have postpaid or prepay service with us? Wireless or landline?
    JonathanK_VZW
    VZWSupport
    Follow Us on Twitter@VZWSupport

  • HT5787 when first time i purchase Iphone, i don't know about Authentication mail and apple ID, every thing was done by sales person, now when i update by Iphone

    Dear All, when i first time purchased Iphone i dont know about the Apple ID and security system, every thing was done by sales person, now after using for 17 months when i updated my Ipnone it asked for authentication mail ID and password, nothing worked out and my phone is blocked, i request the Authorities to help me on this issue, Pnone serial no. is like this
    A1431 CMIIT ID:2011C16093.
    thanks

    Dear Rojmer,
    thanks for understanding by problem, since I have purchased Ipnone in an Apple store at Shanghai china, and I am residing in KSA & cannot contact them, now that is the way-out for such problem, I don't agree or believe that Apple as a great company will let their product and my information in the Iphone go excess.
    Hope to get some solution

  • I don't know about the size tablespaces

    I make one plsql program for insert about 700,000,000.00 transaction a table only has 5 int column. I am not a database, I make program for practise sql, forms and report. my tablespace only has 50 m, for that reason the plsql give me an error. I don't know the size for a new tablespace. Someone can help?

    Hi joaquin2,
    just execute below SQL statement and find out actually tablespace size, used size and of cause free size
    SELECT /* + RULE */ df.tablespace_name "Tablespace",
    df.bytes / (1024 * 1024) "Size (MB)",
    SUM(fs.bytes) / (1024 * 1024) "Free (MB)",
    Nvl(Round(SUM(fs.bytes) * 100 / df.bytes),1) "% Free",
    Round((df.bytes - SUM(fs.bytes)) * 100 / df.bytes) "% Used"
    FROM dba_free_space fs,
    (SELECT tablespace_name,SUM(bytes) bytes
    FROM dba_data_files
    GROUP BY tablespace_name) df
    WHERE fs.tablespace_name (+) = df.tablespace_name
    GROUP BY df.tablespace_name,df.bytes
    UNION ALL
    SELECT /* + RULE */ df.tablespace_name tspace,
    fs.bytes / (1024 * 1024),
    SUM(df.bytes_free) / (1024 * 1024),
    Nvl(Round((SUM(fs.bytes) - df.bytes_used) * 100 / fs.bytes), 1),
    Round((SUM(fs.bytes) - df.bytes_free) * 100 / fs.bytes)
    FROM dba_temp_files fs,
    (SELECT tablespace_name,bytes_free,bytes_used
    FROM v$temp_space_header
    GROUP BY tablespace_name,bytes_free,bytes_used) df
    WHERE fs.tablespace_name (+) = df.tablespace_name
    GROUP BY df.tablespace_name,fs.bytes,df.bytes_free,df.bytes_used
    ORDER BY 4 DESC;

  • Don't Know About ASIO Settings

    Ok someone recently told me to check the ASIO drivers and said I had a latency problem because my recording problem, the soundcard records or the vocals be off beat. I don't know how to check the latency or whatever I s there anything that I can change on my computer configuration to fix this problem if so how do I do it

    [email protected] wrote:
    How will your mother like this fact?She would probably welcome getting rid of the idiot for a bit.

  • I didn't have my credit card on my itouch for about a day and I put my card back on to buy one song and my mom checked my credit card account and now I have no money because I was charged over $20 for something I don't know about It say oneinfiniteloop.

    I didn't have my credit card on my itouch and i put it on to buy one song and then took off the credit card. My mom checked my bank account and I was charged over $20 for something we can't find. So I don't know if someone got into my account or what but I would like my money back.

    Hello jumanjet,
    Thanks for the question, and welcome to Apple Support Communities.
    I understand you are having issues adding payment information to your account.
    If your account information does not match your credit card, you may get a message stating "The credit card was declined."
    To expand on the above, your billing name or address may not match the address listed on your credit card statement. Any discrepancy in punctuation, abbreviation, or capitalization can cause errors, which might prevent you from purchasing from the iTunes Store. If you moved, or if your zip code changed recently, ask your credit card company to make sure their records are up to date and match exactly what you are entering as your billing information.
    For more information, see the following helpful resources:
    iTunes Store: How iTunes Store purchases are billed
    http://support.apple.com/kb/HT5582
    iTunes Store: Changing account information
    http://support.apple.com/kb/HT1918
    iTunes Store: My credit card's security code or zip code does not match my bank's records
    http://support.apple.com/kb/TS1646
    Thanks,
    Matt M.

  • I have Win XP on a Dell 9100. I had FF 3.6.10 & tried many times to upgrade to 3.6.11 --- all unsuccessful. The next day, I saw 3.6.12 downloading. I seem to now have 3.6.12 . I don't know about 3.6.11 . How can I check on this?

    I have had Mozilla Firefox for years. My computer is a Dell 9100 , and I use Windows XP. I have upgraded to each version of Firefox that was offered to me. Each upgrade was quick and easily done--up to, and including, Firefox 3.6.10 . I tried many times to upgrade to Firefox 3.6.11 , each time with no success. I have something like 21 copies of the downloaded Firefox 3.6.11 package. The next day, I resumed by quest to download & install 3.6.11 and saw, on my monitor, the 3.6.12 version of Firefox downloading. I don't recall how this happened. I know that I was only trying to download and install version 3.6.11 . Now, I seem to have, by looking at "About Mozilla Firefox" under "Help", Firefox 3.6.12 .
    Q1. Is there a way I can check to see whether I have a valid download of 3.6.11 and/or 3.6.12 in my Firefox setup?
    Q2. How can I know that all is OK, Firefox-wise? The answer to this question probably can help me a lot, in the future.
    Q3. Can I delete all, or perhaps all but one, of those 3.6.11 downloads?
    Q4. Any idea on why my difficulties occurred?
    Q5. How might I avoid these difficulties in the future?
    Thank you for your help.

    Firefox 3.6.12 is the current version and it was released only a few days after the release of Firefox 3.6.11 to fix a critical security issue that was discovered. The security fix was prepared and released within 48 hours after discovery.
    I do not know what caused your problems in trying to upgrade to Firefox 3.6.11, but the point is moot now. Should you have future problems upgrading, please post back here and someone will assist you.
    You can keep one copy of version 3.6.11 if you wish; I usually keep 2 prior versions plus the current version.
    You can download the full version(s), not just the small update, from: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/
    <br />
    The information submitted with your question indicates that you have out of date plugins with known security issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    * Adobe PDF Plug-In For Firefox and Netscape
    * Next Generation Java Plug-in 1.6.0_21 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use Firefox to download and SAVE the installer to your hard drive from the link in the article below
    #**On the Adobe page, un-check any extra items (i.e. Free McAfee® Security Scan Plus) then click Download button
    #**If you see message just under tabs, DO NOT click the Allow button, instead click below that where it says "click here to download".
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link and more information</u>''': https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
    #*After the installation, start Firefox and check your version again.
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    #* After the installation, start Firefox and check your version again.

  • Will there be an alternative to the current minimalist theme of iOS 7. It is far to small for a handheld instrument. Accessibility does not solve it for me don't know about others. Perhaps offer the old icons and fonts as an option? Easier to view

    Will there be an alternative to the minimalist theme? Or at least give us the old icons fonts etc the access ability options don't cut it for me
    I know you can do better you have before.

    lov2bugu, you said things the exact way I wanted to express them! It was like watching me talking to a SONY’s CEO.
    I don’t really think they are not aware of the problems. SONY used to be the 27th largest company in the world, according to Forbes. They are now at the 456th place!!
    They are aware of their problems and I think, the move to buy the remaining stocks from Ericsson, is a move to bounce back into the market. They found the right time, where the stock is too low and the economics around the globe don’t  look promising enough. I have to recognize them, all the bad phases they went into this year … hacking attack, loss of their factory in London, global economic climate etc.
    But these are not excuses good enough not to produce quality, reliable and technologically advanced goods. I think that SONY is not to blame for the bad course SE has had. I think this is what SONY wants to revert. They want to “embody” all their technology … BRAVIA engines (TV Tech), Walkman and Cybershot tech (using Carl Zeiss lenses), VAIO (Comp tech) and finally PS3. Ericsson tried to integrate them, unsuccessfully.
    Overall, I thing SONY, did not have or did not attempt to have the control of SE, hence, the answer you got back from SONY “… anything related to SE must be posted on the website of SE”. I think they will bounce. Just give ‘em some time. I’m willing to give them time, but not too much though. Just because I’ve always loved this brand!

Maybe you are looking for