Kodo2.5 beta doesn't work for reverse mapping

We have a database schema with 2 tables UserProfile, Address. UserProfile
has a PK UserId.Address has addressId as PK and userId as FK to UserProfile
table.
When we tried using "rd-schemagen", it failed to create schema.xml and we
got the following error.
3695 INFO [main] jdbc.Schema - Generating foreign key information for
table "dbo.Adress".
3715 INFO [main] jdbc.JDBC - <t 18, conn 23> close
Exception in thread main
com.jnetdirect.jsql.m: Invalid column name:PKTABLE_SCHEM
at com.jnetdirect.jsql.s.findColumn(Unknown Source)
at com.jnetdirect.jsql.s.getString(Unknown Source)
at
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGenerator.generateForeignKeys
(SchemaGenerator.java:614)
at
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGenerator.generateForeignKeys
(SchemaGenerator.java:353)
at
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGenerator.generateSchemas(Sch
emaGenerator.java:166)
at
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGenerator.generateSchemas(Sch
emaGenerator.java:144)
at
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGenerator.run(SchemaGenerator
..java:775)
at
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGenerator.main(SchemaGenerato
r.java:760)
The above stacktrace shows schemagen fails when it finds a FK relationship.
Any input on this will be great help !
Thanks,
-Santosh

Since you are using a driver we don't autodetect, you might want to try
setting com.solarmetric.kodo.impl.jdbc.DBDictionaryClass to an appropriate
implementation (i.e.
com.solarmetric.rd.kodo.impl.jdbc.schema.dict.OracleDictionary).
Also, for future reference, as Kodo 2.5 is in beta, you probably want to
post to news://solarmetric.kodo.beta
On Wed, 30 Apr 2003 18:06:20 +0530, Santosh K Panda wrote:
We have a database schema with 2 tables UserProfile, Address. UserProfile
has a PK UserId.Address has addressId as PK and userId as FK to UserProfile
table.
When we tried using "rd-schemagen", it failed to create schema.xml and we
got the following error.
3695 INFO [main] jdbc.Schema - Generating foreign key information for
table "dbo.Adress".
3715 INFO [main] jdbc.JDBC - <t 18, conn 23> close
Exception in thread main
com.jnetdirect.jsql.m: Invalid column name:PKTABLE_SCHEM
at com.jnetdirect.jsql.s.findColumn(Unknown Source)
at com.jnetdirect.jsql.s.getString(Unknown Source)
at
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGenerator.generateForeignKeys
(SchemaGenerator.java:614)
at
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGenerator.generateForeignKeys
(SchemaGenerator.java:353)
at
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGenerator.generateSchemas(Sch
emaGenerator.java:166)
at
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGenerator.generateSchemas(Sch
emaGenerator.java:144)
at
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGenerator.run(SchemaGenerator
.java:775)
at
com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGenerator.main(SchemaGenerato
r.java:760)
The above stacktrace shows schemagen fails when it finds a FK relationship.
Any input on this will be great help !
Thanks,
-Santosh

Similar Messages

  • S_ALR_87012177 (customer payment history) doesn't work for histories ...

    Hi All
    Rif t.code S_ALR_87012177. This report requires, for working, the flag in th filed "Payment history record" in the tab "payment transactions" of customers master data.
    I've adjourned the master data of the customers putting in the field "Payment history record". But the report doesn't work for histories. Is there a program which make the report working for histories too?
    Thanks
    Gandalf

    Hi Pankaj,
    We canu2019t see document currency in this report; better u can see document currency in T. Code u2013 FBL5N. 
    Thanks

  • [BUG]: MakeWritable doesn't work for mac

    I'm trying to use oracle.jdeveloper.refactoring.util.MakeWritableHelper in my plugin, and I found it doesn't work for MAC. The byte code shows it only check the osname for "Windows" and "Linux".
    and some Jdeveloper refactoring feature failed due to can't make file writable, they may also related to this class.

    My MAC version is OSX 10.5.4.
    I don't have a stacktrace. It just fails silently.
    You can easily reproduce this bug by reformat a readonly file.
    Here is the code I reverse engineered from oracle.jdeveloper.refactoring.util.Util.java:
    public static boolean setReadOnly(java.net.URL url, boolean readOnly)
    boolean ret = false;
    java.lang.String cmdarray[] = null;
    java.lang.String platformPathName = oracle.ide.net.URLFileSystem.getPlatformPathName(url);
    java.lang.String osName = java.lang.System.getProperty("os.name", "");
    if(osName.startsWith("Windows"))
    cmdarray = (new java.lang.String[] {
    "ATTRIB", readOnly ? "+R" : "-R", (new StringBuilder()).append('"').append(platformPathName).append('"').toString()
    else
    if(platformPathName.equalsIgnoreCase("Linux"))
    cmdarray = (new java.lang.String[] {
    "chmod", readOnly ? "u-w" : "u+w", (new StringBuilder()).append('"').append(platformPathName).append('"').toString()
    if(cmdarray != null)
    java.lang.Runtime runtime = java.lang.Runtime.getRuntime();
    try
    java.lang.Process process = runtime.exec(cmdarray);
    if(process.waitFor() == 0)
    ret = (new File(platformPathName)).canWrite();
    if(ret)
    oracle.ide.model.Node node = oracle.ide.model.NodeFactory.find(url);
    if(node instanceof oracle.ide.model.TextNode)
    oracle.ide.model.TextNode textNode = (oracle.ide.model.TextNode)node;
    textNode.isReadOnly();
    catch(java.io.IOException e)
    e.printStackTrace();
    catch(java.lang.InterruptedException e)
    e.printStackTrace();
    return ret;
    }

  • Application Restart and Recovery APIs doesn't work for windows services

    I am using the Application Restart and Recovery mechanism (provided in Windows API Code Pack for Microsoft.NET Framework) to collect some information (i.e. stack information when there's an unhandledexception)  before my windows service crash down.
    It works well for windows form applications, but the callback method wouldn't be called if the host is a windows service. 
    I have checked the article: https://msdn.microsoft.com/zh-cn/subscriptions/downloads/cc303708
    But it doesn't specify clearly whether it works for a windows service. It seems that the recovery will only be activated when the user interacts with the error dialog of Windows Error Reporting (clicking "close" on the dialog, for example).
    So I am wondering is my guess right that the Application Restart and Recovery mechanism doesn't work for windows services. Or is there a better way to meet my requirement? 

    I would suggest trying ARR if that's what you want to use.  The restart portion won't work, but it doesn't need to as if you fail out of your service, the Windows service controller will handle recovery (up to and including restarting your service).
     You configure those recovery actions either through code or one of the built in administrative tools for services such as services.msc.  
    DebugDiag/ADplus and similar tools ultimately do use built-in APIs; you don't need to add anything external to collect debugging information.  You do however have to write a good deal of code to do somethings.  It's pretty simple to use the unmanaged
    function that I pointed out before and
    MiniDumpWriteDump to write a minidump when you hit an unexpected error(the dbghelp.dll that comes installed with Windows has it so you don't need anything additional installed).  You can even write a basic debugger that literally debugs a process using
    only kernel32 functions (see
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms679301(v=vs.85).aspx if you're interested).  
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • IMessage Beta doesn't work on my home wifi but it does at work, any suggestions why?

    iMessage Beta doesn't work on my home wifi but it does at work, any suggestions why?

    Hi carre13,
    Welcome to the Support Communities!
    The article below may be able to help you troubleshoot your Wi-Fi issue.
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS1398?viewlocale=en_US
    Reset network settings by tapping Settings > General > Reset > Reset Network Settings.
    Note: This will reset all network settings including previously connected Wi-Fi networks and passwords
    iOS and OS X: Recommended settings for Wi-Fi routers and access points
    http://support.apple.com/kb/HT4199
    I hope this information helps ....
    Have a great day!
    - Judy

  • Pickup Clock doesn't work for markers. Any alternatives?

    Hello everyone,
    It seems that Pickup clock doesn't work for markers (I guess markers are not considered an "event.") Is there a way to move markers as quickly as I do "event" data with pickup clock; e.g. a key command that allows you to write the location start time of your markers? Or even better, a way to move all data within locators to different song positions quickly?
    I'm scoring a film and trying to break down my master "spotting" session (in which I placed markers at the beginning of each cue) into separate files. Moving "events" is easy, as I just separate at the marker using "cut at spl" select all following, move SPL to bar 1, and use pickup clock. However, no "global track" data seems to move via pickup clock. Is there an easier way to achieve my goal?
    Thanks in advance for your help!

    musicspirit wrote:
    Is it that you want to move Global components that fit with a particular cue ( such as Volume Automation etc) around in the same Song? ie try one piece of music over two different scenes in the film? Or shift an entire cue slightly sooner or later against the picture?
    YES!! This would be AMAZING if I could do this easily. As a work around I change the actual movie and of the dialog / sound FX tracks, which can take some time to get them correct and leaves you with multiple song files. It would be much easier if there was a way to grab everything within your Left and Right Locators, and be able to move it around, copy and paste, etc.
    I tried experimenting with Split/Cut/Insert Time and a segment of regions which included some volume/fader changes - no dice. Logic can copy automation vertically track to track but not in a Linear way.. though I may be speaking in complete ignorance.
    I'm going to read up on Split/Cut Time as well, as this maybe the key. As for your automation issues, I know logic will not copy / paste automation when there is no "node," (i.e. if you are cutting on bar 5, but the last node was on bar 3 and the next on bar 7, it will not "go back to 3" to get the proper levels) so in the past I have placed nodes on the beginning and end of the section I want to copy, and the automation then copied fine. Of course if you have a lot of automation, it can be a PITA to place nodes in each track, but it does seem to work. Hope that helps!

  • The wifi at my school isn't very good. And I can't send iMessages through it. It works for some apps like score center and my radar app, but doesn't work for other apps like clash of clans and iMessage. How can I get it to work on that  wifi network

    The wifi at my school isn't very good. And I can't send iMessages through it. It works for some apps like score center and my radar app, but doesn't work for other apps like clash of clans and iMessage. How can I get it to work on my school wifi. I have an iPhone 4S on AT&T and iOS 7.04

    In a roaming network, your "main" router is the device that would require port mapping/forwarding to be configured in order to access the IP camera from the Internet. This router is also the one that would be provide the private IP address for the camera which you will want to be a static one.
    So as you described your network, the IP cameras should be getting an IP address or you assigned it a static one and this is the address that you would enter in the Private IP address (or equivalent depending on the router used) field when setting up port mapping.
    If you are not able to access this camera from the local network, then this should be troubleshot first.

  • With my i phone 4 , the Push notifications doesn't work for apps like (fb viber , whatsapp etc ) it only works for the official apps like message  even when im using the phone, has  this probleme with the iOs 6.0.1 and also with the iOs 6.1

    With my i phone 4 , the Push notifications doesn't work for apps like (fb viber , whatsapp etc ) it only works for the official apps like message  even when im using the phone, has  this probleme with the iOs 6.0.1 and also with the iOs 6.1

    This isn't an issue. Notice the screen prior to the one that shows usage has an iCloud section and a Manage Storage button. For this button to activate ios needs to download a few kb from icloud. Switching back to this screen forces ios to download those few kb.

  • Push notifications doesn't work for apps like (fb viber , whatsapp etc ) iOs 6.1

    With my i phone 4 , the Push notifications doesn't work for apps like (fb viber , whatsapp etc ) it only works for the official apps like message  even when im using the phone, has  this probleme with the iOs 6.0.1 and also with the iOs 6.1

    Sorry, I've forgotten the actions done.
    I've restarted the iphone, and I've recovered a previous backup.
    Thanks.

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How can I upload a video from my PC through I tunes to camera roll on my iPhone? Is there an app or format of specific video supported? Sync from photos include video doesn't work for me.

    How can I upload a video from my PC through I tunes to camera roll on my iPhone? Is there an app or format of specific video supported? Sync from photos include video doesn't work for me.

    download the new you tube apps in i tunes, in os6 just pick a video in the photos apps and select share, the old you tube app icon will appear

  • I've bought an app called WhatsApp but I was not told that app doesn't work for ipod. So I would like to know how to turn back and get my money back.

    I've bought an app called WhatsApp but I was not told that app doesn't work for ipod. So I would like to know how to turn back and get my money back.

    Did you fail to look at the requirements before purchasing?
    All sales are final.  You can try contacting itunes support and asking for an exception

  • Apache Sling JCR Resource Resolver doesn't work for the anchor tags which is been rendered through j

    Certainly I realized that Apache Sling JCR Resource Resolver doesn't work for the anchor tags which is been rendered through jquery or javascript.
    e.g.
    In Felix Console , in Apache Sling JCR Resource Resolver configuration I have added following mapping.
    /content/myproject/-/
    So If any anchor tag is there like <a href="/content/myproject/en.html"> click me </a> then it will be mapped to "/en.html" automatically.
    But the problem is there in following scenario.
    I have an anchor tag as follows.
    <a href="#" id="test"> click here </a>
    And I am assigning the href to anchor through JQUERY.
    <script>
    $("#test").attr("href","/content/myproject/en.html");
    </script>
    Ideally this should have been mapped to "/en.html".
    But it is not mapping to "/en.html". It still shows "/content/myproject/en.html".
    How to resolve this.
    Thanks,
    Sai

    In a servlet you have access to the resourceResolver so if you know which attributes contain links then it's relatively easy to apply resourceResolver.map to those links.
    Your challenge is clearly how do you know which attributes are links and which aren't. Its is the same challenge that makes parsing the response and rewriting it on the way out difficult - the JSON doesn't have any semantic meaning so how do identify which attributes require rewriting. There really is no good answer ot that question in my experience - all the options have down sides.
    Create some convention - all attributes matching this pattern X get mapped before being converted to JSON (could be attributes whose name ends in link, or it could a convention applied to the value of the attribute - if the attribute is a string that starts with /content apply the resource resolver mapping. In this case you have train your developers to follow this convention which is the down side.
    Create some configurable list of attribute names that require mapping. This is brittle, requires training and is easy to break.
    Implement a client side version of the resource resolver mapping. It wouldn't be as full proof as server side mapping (because that takes into account but you could make it work for simple logic like stripping of /content/site/en. If ou are just trying to solve the simple version of this issue - stripping off the top of the repository path this might be your best option.
    Not worry about it and set up Apache 301 redirects that catch any long URLs and redirect them to short URLs (so configure apache to look for any URL matching /content/site/en and strip off /content/site/en and do a 301 redirect to the shortened URL. You end up with a lot of extra HTTP request because of all the 301s but it would work (I wouldn't recommend this option - but it is possible).

  • HT201263 Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTune

    Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTunes.Help! Thank you.

    Besweet, I'm having the very same problem with 60GB colour which was bought new and worked for 6 months before suddenly just not being recognised by PC. I hadn't changed anything at all.
    I've followed all troubleshooting advice and reinstalled and updated iTunes and iPod updater software but all troubleshooting routes seem to hit the dead end of either the need to access the iPod via the PC (which isn't possible as it's not showing up at all) or the iPod in disc mode stuck at "ok to disconnect".
    It's still under 1yr warranty so will have to take to a dealer.
    I'm sorry that's not much help for you but at least you know it's not a unique problem.
    PC   Windows XP  

  • How do I uninstall Firefox 4 & get previous version back? The new upgrade has problems & doesn't work for me.

    How do I uninstall Firefox 4 and get the previous version back?
    The upgrade has many problems and doesn't work for me.

    new version is the worst Firefox ever, no lip.

Maybe you are looking for