Duplicate coloumn name

Hi,
I have two classes (B, C) derived from the same base (A). Both of them have
a field called field1. I cannot put this field to the base class because
this would not make sence.
When I run the schema tool to initialize the database a duplicate coloumn
name FIELD1X exception is thrown.
The option to create a D class that is derived from A and make it as the
base class for B and C is very hard to do for me, bacause I have to reserve
the compatibility with my ODMG 3.0 database.
Do you have a resolution for this problem. I think it is related to the
single table inheritance. And I also know that multiple table inheritance is
no supported.
Is it possible that if my base class doesn't contain importatnt fields only
methods that I do not specify it as persistent-capable?
Thanks in advance, best regards
Gabor Kover
Scriptum Inc.

Hello --
We do in fact have a workaround for the duplicate column problem. As
described in the kodo user guide chapter on customizing the database mapping
for classes, it is possible to tell Kodo to use a different name for a
field's database column. This is done through the metadata, like so:
<field name="repeatedField">
<extension vendor-name="tt" key="data-column" value="FOO"/>
</field>
So you can simply map the repeated field from one of the subclasses to a
different name.
Let us know if you have any further questions on this.
-- Abe White
Kodo Product Team
"Gabor Kover" <[email protected]> wrote in message
news:9mnjd8$5i2$[email protected]..
Hi,
I have two classes (B, C) derived from the same base (A). Both of themhave
a field called field1. I cannot put this field to the base class because
this would not make sence.
When I run the schema tool to initialize the database a duplicate coloumn
name FIELD1X exception is thrown.
The option to create a D class that is derived from A and make it as the
base class for B and C is very hard to do for me, bacause I have toreserve
the compatibility with my ODMG 3.0 database.
Do you have a resolution for this problem. I think it is related to the
single table inheritance. And I also know that multiple table inheritanceis
no supported.
Is it possible that if my base class doesn't contain importatnt fieldsonly
methods that I do not specify it as persistent-capable?
Thanks in advance, best regards
Gabor Kover
Scriptum Inc.

Similar Messages

  • Duplicate Object Name Error When Publishing Crystal Reports from BW to BOE

    Hi,
    We recently upgraded our systems (all client and server) to SP2.7 in order to solve a problem with saving Crystal Reports to BW.  Now we are experiencing a new error when trying to publish a Crystal Report from BW to BOE (either all in one step from Crystal Reports application or directly from within BW).
    Upon trying to publish a Crystal Report from BW to BOE, we get the following error:
    "An error occurred while saving and / or publishing.  The return code 1 was returned from the server.  Logon to Crystal Enterprise failed.  Unable to commit the changes to Enterprise.  Reason: Failed to commit objects to server : Duplicate object name in the same folder."
    We have repeated this issue numerous time with different reports, users and logon credentials and have verified that there are NOT any duplicate object names.
    Additionally, in some cases, the report ultimately publishes to BOE, but with the above error interruption along the way.
    Any ideas?
    Thanks,
    Josh
    Edited by: Josh Crawford on May 10, 2010 9:46 AM

    Ingo,
    Apologies for the delayed response.  We've spent a few days poking around with this issue, and had even opened a customer message for it (13641).
    In the end, it seems that the problem was somehow associated with the "Prepare this report for translation." flag in the "Save to BW Options" dialog box of Crystal Reports.  If we try to Save & Publish with the Translation flag selected, we get the duplicate entry error.  If we Save & Publish without the Translation flag selected, everything is fine.
    There are still some details we need to look into, but for the time being it looks like we don't have an issue anymore(assuming we ever did) as we're not concerned with Translation capabilities.
    If we come across the problem again, I'll post again.
    Thanks,
    Josh

  • Insane XML Import, Huge Project, Duplicate file names work around...

    I planned on kicking off my journey attempting to edit a massive multi year documentary on FCPX with a nice introduction of the blog I'm going to keep about the experience, but I've run into a bit of a roadblock, or maybe major speed bump at least before even getting to that point. I wanted to share what is working as a work around for me and you guys can tell me how I'm doing it wrong.
    Ok, I will try to explain this as succinctly as possible. I'll write in somewhat stream of consciousness just to try and get through it quicker... Basically, after discovering the work around below, I am now utterly confused on how FCPX handles the relationship between its own database of where media is stored, and the actual media itself. I have plenty experience on FCPX now, probably done 30-40 pro commercial jobs on it over the last year since XML became doable as I'm also a Resolve Colorist and all the FCPX projects where hardcore coloring product spots. For commercial work, I never needed to worry about splitting up footage up over multiple Events. Everything, all in one, FCPX handled it no problem. (well the occasional beach ball, but that seems to be a thing with FCPX in general)
    This will be my 10th feature documentary as an Editor. Every one before it was either on Avid's many flavors over the last 12 years or FCP Studio. When this new film came along, I made the decision a few months ago to use FCPX for a few reasons, but mostly because I'm insane and I like to try to mix it up for myself in a career that can get stale quick if you aren't willing to be that way. The film was shot over 2+ years, every shoot was multi cam 5D (yes i know, looks great, but please kill me), I haven't done the math on length, but there is over 10,000 clips of video (this is actually medium in size compared to what I've dealt with before). Its 5D, so theres external audio for everything. FCPX's syncing is great, but I've learned that theres an unsaid window of heads and tales clips must fall within to sync properly with the nearby clips, if they are too far apart FCPX gives up. One shoot day could have 3 cams, 50 clips each, and 2 audio files to sync to, FCPX simply cannot handle this, so off to Plural eyes they went, no problems.
    Ok, all this is relevant eventually I swear! Again, in the past, all in one event, no problem. I tried for fun to bring all media into one Event on this film. It worked, but there is a 10+ second spinning beach ball for every single move you make, so thats no good. Ok, I'll separate the Events out to, lets say, each shoot month. Well that's dumb, in verite documentary, any shot could be the first, any shot could be the last, you need a command over all searchable footage at all times. Shift selecting all events to search *****, and it actually takes longer for FCP to reload each event each time than it does to just have the one massive one. So no go there. Next hair brained idea... What if make a new Event that is just Compound Clips of all the other Event's contents and do more with Markers and Favorites in logging that I was planning to parse it all out. That way I'm working with and FCPX is dealing with 50-60 clips instead of 10,000+ Quick test, Cmd-A, Opt-G, boom, boom, boom, move all to dedicated to Event, hide huge Event, BEHOLD, that works! FCPX chokes a little bit on the insane length of some of the clips, but searching, and general performance is back on par!
    So your saying to yourself "Ok *********, sounds like you figured it out, what's the problem." Well to you I say, "Not so fast!" Remember, that was just a quick test using the media I had imported into the massive 10,000+ clip Event. To do this project proper, I am having to import Multicam sync'd XMLs from Plural Eyes. And this is where it all starts to fall apart. A little foreshadowing for your eager eyes. 10,000+ files all shot with multiple 5D's over the course of years. What does that mean? many, many duplicate file names!
    FCPX as well all know irritatingly imports XML's as new Events, not into existing ones. This obviously takes a lot of burden off media management because with a new Event comes a new database referencing its own version of the raw media. All well and good, and I'm betting its starting to click for some if you advanced users where I'm finally going with this. So I have 50 or so XMLs to bring in, all done no problem. Now I want to replicate that singular Event like I did with the Compound Clip test and have it all in one place to be my master as extensive logging begins for easy searching once editing begins. Highlight the Events, click Merge Events. NOPE. I get a new "Kill Yourself Now" error (a term I coined for Out of Memory and General Error messages in FCP Legacy meaning there ain't much you can do about it): "Two or more files have the same name. Change the names and try again, because I don't know what the **** to do with them." Ok I made up that last part but that's basically what it's saying. Just take the variable out of the equation, this happens with every which way you could try to get the clips together. Merge Events, dragging events on top of each other, dragging just the Multicam clip alone, nothing gets passed that message. What's worse is that while Batch Renaming seems like a solution, the renames do not populate inside the created clips and there is no way to Batch Rename those. Renaming everything at the finder level isn't so great because then I'd have to resync and theres an offline/online thing going here where the film has to be reconformed eventually.
    Basically, I've found that FCPX handles media management in completely different ways depending on whether you are importing into one Event yourself or doing essentially what is a new import with FCPX moving or merging Events. If you bring in all the media to one Event, on a macro level FCPX goes through file by file making aliases referencing the master file. If it hits a duplicate, it makes a parenthesis counter, and keeps going. And with the genius of FCPX metadata, that file name doesn't even matter, you can change it at the Finder level and FCPX will keep the link intact. BUT for some reason if you try to do this outside the realm of a single Event and combine files after the fact a different process takes over in creating this database system and can't handle the duplicates. I can't totally figure the reason other than it probably is scared to change the originally referenced alias to something else (which it shouldn't be scared of since Merge Events deletes the original anyway).
    This is where it gets INSANE and where I lose all understanding of what is going on, and believe me it was a delicate understanding to begin with. It comes in to play with the work around I figured out. I make the master Event with the 10,000+ clips. Then I import all the XMLs as dedicated Events. Now, I then drag the Multicam clips into the master Event, it WORKS! just takes it, no "Kill Yourself Now" error. Stranger still, now with the switched referenced Event, it even takes into account which aliased duplicate file name it's referencing in the Original Media folder. Somehow, it's taking into account the original file path and saying "Ok, I see 5 instances of MVI_5834.mov. Based on the original file path or maybe creation date or god knows what, it must be MVI_5834 (fcp3).mov." It connects perfectly. I can even remove the old XML imported Event with no problem. Crazier yet, I can now move those again to the dedicated Event I wanted originally that only contains those Multicam or Compound Clips.
    So instead of going straight from A to C, going from A to B to C works even though that actually seems way more complicated. Why can't FCPX handle Merge Events and dragging clips the same way it handles media imported into a single Event. And weirder still, why can't FCPX handle the (fcp1,2,3...) appending in the same scenario. But if the appended links are already there, No Problem. And for the love of god, it'd be nice to important XML's into existing Events and make the correct referencing happen right from the get go, which is really the source of all the above headache. I'd have no problem helping FCPX with a little manual pointing in the right direction just like any other NLE needs.
    Ok, having said all of that crap above, my question is, have I missed something completely simple I should have done instead? Now that I have everything in place how I originally envisioned, I think I will still play around a little bit more to make sure FCPX is really going to be able to handle this project. I'm at a stage right now where going another direction is still an option, although the dare devil in me wants to make this work. Media management aside, once you start editing on a FCPX timeline, its hard to go back to anything else. Apple is going to have to figure out some way not to access to everything at all times to work fluidly or big projects like this are never going to be practical in FCPX.
    Sorry for the long confusing post....

    I'm having the exact same problem, but I know nothing of ruby scripts. I've exhausted my resources with tech support, and after literally hours of work with them it seems I now am faced with either re-rating each individual song, or pointing iTunes to each song that it can't locate. Is yours a solution that could help me? How can I find out more about Ruby Scripts? Thanks for your help, hellolylo (or anyone else who might also be able to help...)
    Kenn

  • HT1414 the iphone software update server could not be contacted.a duplicate file name was specified , please help as this is driving me nuts,does anyone know which file it could possibly be ?

    Hi could anyone help me out? my iphone 3gs keeps restarting itself every two minutes which i think is some kind of software issue,now there are a number of things i have done starting with putting in a new battery.when i charge the phone it resets itself every two minutes or so and the battery indicator stays at 4% so i decided to restore the phone on itunes (which is the latest edition) and when i connect my phone which i have put into recovery mode using the buttons, i get an error message saying :- the iphone software update server could not be contacted.a duplicate file name was specified. i have tried re-installing i tunes and that doesn't solve the issue and i have trawled through the program files to see if i could spot the duplicate but without success ,has anyone had the same issue and resolved it?

    An iPhone 3G cannot be updated beyond iOS 4.2.1...that's the end of the line for your phone.

  • There was an error while writing data back to the server: Failed to commit objects to server : Duplicate object name in the same folder.

    Post Author: dmface15
    CA Forum: Administration
    I am working in a new enviorment and i am trying to save a report to the Crystal Server via the CMC. I am uploading the report from the objects tab and attempting to save to a folder. The report has 1 static defined parameter and that's it. When i click submit to save the report i receive the following error message: "There was an error while writing data back to the server: Failed to commit objects to server : Duplicate object name in the same folder." There is not a anothe report within the folder with that name. What could be causing this error message and equally important, what is the solution.

    hte message you received about duplicate user probably means something hadn't fully updated yet. Once it did then it worked...
    Regards,
    Tim

  • Cannot use duplicate table name error in AMDP

    Hi Experts,
    I'm developing an application which has the following architecture
    SAP UI5->Gateway->ABAP Managed DB procedures(AMDP)->HANA SP(Stored Procedure)
    We are having a very peculiar problem where the gateway service works inconsistently for the same input data.
    i.e If I execute the same service n number of times, I get the results successfully for say n-3 times but the other 3 times I get a "RFC Error :Error while executing Database procedure"
    There is no change in the input data or DB table data during all the executions.
    Running the stored procedure stand alone in HANA studio works all the time.
    We tried executing the AMDP from SE24 and the same behavior occurred.
    When trouble shooting we found that the exception occurs inside the AMDP when the call db procedure statement is executed.
    Could you please advise what could be the possible reason for this any tuning parameter/unavailability of db connections?
    Or could you please suggest some other troubleshooting mechanism by which we can zero in on the cause?
    When I go in the debug mode I can see the exact error as
    cannot use duplicate table name:  [288] SAPXXX.ZCL_PLAN_MAINTENANCE=>GET_COMP_TYPE#stub#20140905055908: line 15 col 3 (at pos 492): cannot use duplicate table name exception:
    where ZCL_PLAN_MAINTENANCE=>GET_COMP_TYPE is the AMDP class and method. SAPXXXis the schema.

    I reported this to Adobe customer support on 11/29, and here is their response:
    Wednesday, December 5, 2007 12:51:27 PM PST
    Hello John,
    Thank you for contacting Adobe® Web Support for assistance with Adobe
    Photoshop Elements® 6.0.
    I understand that images are deleted if you accidentally try to move
    them to a folder that already includes a file of the same name.
    Thank you for bringing this to our attention. I was able to replicate
    this behavior as well. The best method to report errors of this nature
    is using the following form on our website:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    I will report this to the product team through my channels. You may want to submit this issue through the web form as it goes directly to the product development team.
    I hope this information helps to resolve your issue. If you require
    further assistance with this issue, please update your web case with
    complete details, including what steps you have applied and any error
    messages you are receiving.
    You may also call Technical Support at (800) 642-3623. We are available from 6:00 am to 5:00 pm Monday - Friday, Pacific Time.
    Kind regards,
    Alan C.
    Adobe Web Support

  • Can't synch iPod classic to iTunes after updating iTunes. a duplicate file name was specified.

    I can't synch my iPod classic. "A duplicate file name was specified." I tried on two different computers on which it had previously worked fine.

    Try deleting the iPod Photo Cache from the nominated folder that you have set up to sync photos to the devices.
    See iTunes: Understanding the iPod Photo Cache folder for more info.
    tt2

  • When I plug in my ipod it comes up with an error saying, "ipod "Skye" cannot be synced, duplicate file name specified." it wont let me put any songs on my ipod? Help!

    my computer deleted all of my songs off my ipod one time with i unplugged it, i think i unplugged it too soon and it wasn't finished ejecting. now every time i plug it in it gives me an error saying "the ipod 'Skye' cannot be synced, a duplicate file name was specified." It wont let me put any songs on my ipod now.

    Never mind.  I found out how to fix the problem
    - Go to "Computer"
    - Right click on your IPod icon
    - Click "Properties"
    - Go to the "Tools" tab
    - Under "Error -checking" cilck the "Check now..." button
    After doing all of that, ITunes now works like normal for me.

  • Error "The IPod cannot be synched. A duplicate file name was specified"

    When I drag a song from my ITunes library to my Nano, an error pops up that says "The IPod cannot be synched. A duplicate file name was specified." I've read on other boards that I should delete the IToner bundle, but there is no IToner bundle in ITunes plug ins, just a Quartz Composer Visualizer. ANy suggestions on how to keep the error message from popping up every time I add a song?

    Hemberger wrote:
    When I drag a song *from my ITunes library* to my Nano,
    Drag the song from Library to the playlist window then drag it to Devices instead of directly from the Library.

  • On windows 8 and itunes 11 i try to sync my iphone and it says a duplicate file name was specified and won't let me sync, what do i do ?

    duplicate file name was specified...... windows 8 and itunes 11...... won't let me sync..... what do i do ?

    OK, read this thread... https://discussions.apple.com/thread/3928453
    tt2

  • HT201262 i keep getting an error message when trying to sync my iphone in itunes, "duplicate file name specified." Anyone have any help?  Please??

    i keep getting an error message when trying to sync my iphone in itunes, "duplicate file name specified." Anyone have any help?  Please??

    You can try going to iTunes with your device connected, select your device, then click view, show duplicate items

  • I get an error message when trying to sync my reset ipod "The iPod ...cannot be synced. A duplicate file name was specified."

    i get an error message when trying to sync my reset ipod "The iPod ...cannot be synced. A duplicate file name was specified."

    Locate the photos folder which is selected for syncing with the device and delete the folder iPod Photo Cache inside.
    tt2

  • I am unable to sync to my Ipod. Error message states "unable to sync because duplicate file name exist. Any ideas how to remedy?

    I am unable to sync to my ipod. Error message states "unable to sync because duplicate file name exist". Any ideas on how to remedy this problem?

    Were some of the songs purchased from a different itunes account?

  • Each time i try to connect my ipod it keeps coming up with a duplicate file name was specified,

    can some one help me,  each time i plug my ipod into the computor it keeps saying ,, a duplicate file name was specified, how can i change this file name ,,it seems to be the name of the ipod ,,?

    Hi stelincs,
    You should be able to change the name of your iPod classic in the iTunes application.   Here's how:
    Change the name of your iPhone, iPad, or iPod - Apple Support
    https://support.apple.com/en-us/HT201997
    Use your computer
    Connect your device and open iTunes.
    Click the Device button in the upper right corner. (If viewing the iTunes Store, click the Library button in the upper-right corner first.) If you don't see your device, choose Hide Sidebar from the View menu.
    Next to the picture of your device, double-click the name of your device.
    Type the new name for your device and press Return on the keyboard.
    Sync the device (press Sync in the bottom right corner of the screen).
    Last Modified: Feb 4, 2015
    Cheers,
    - Judy

  • Every time i try to sync my iphone with my music on itunes, it says, "The iPhone "KORA" cannot be synced. A duplicate file name was specified."

    I need help

    Hi korasaurous,
    Thanks for visiting Apple Support Communities.
    You may find the troubleshooting steps in this article helpful with resolving the error message you're seeing:
    iTunes: Troubleshooting issues with third-party iTunes plug-ins
    http://support.apple.com/kb/ts3430
    There are several ways an add-on can cause iTunes to act erratically, such as those listed below:
    You see this alert while syncing: "... cannot be synced. A duplicate file name was specified."
    Best Regards,
    Jeremy

Maybe you are looking for

  • How to load an Applet application for 1000cards?

    Hi Friends.. I want to know How to load an Applet application for 1000cards?.. Assume that, i have an Applet application that need to loaded into 1000cards.. So, how to solve this? Do i must to load an application manually for each card? Is there any

  • Iphone 5 problem with in & out going call with iOS 8.1

    I have a iphone 5 and i had updated it to ios8.1 recently. After doing so, i started having problem in both in and out going calls. It work only for a brief period after i restart the phone but after a while it gives me the same trouble. I already tr

  • How do I change a form created by a departed employee?

    How do I change a form created by a departed employee?

  • Mail not working at my workplace

    I've never had trouble getting my email accounts mail (gmail, aol, me.com, etc) from work or home but now all of the sudden, I'm unable to send mail through my Apple Mail program at work. Here's the facts: -connected with ethernet cable (not wireless

  • Difference between ANY and ALL operators

    I am learning the basics of ANY and ALL operators. Retrieving all employees in Dept 30 whose sal is greater than ANY employees in Dept 20 SQL> SELECT * FROM EMP;      EMPNO ENAME           JOB              MGR HIREDATE         SAL       COMM     DEPT