Dynamic mapping: I have no Class. I want to get database columns into a map

I want to practice dynamic mapping.
I don't know the class in development time. I know the attributes only on runtime. Then I create the table, and want to practice OR Mapping to get and set data in this table while all I have is aa map of fields (Strings/int for direct-to-field mappings, Lists, Objects, etc.) - against this new table.
I have no Class. Neither source nor Class object in hand.
In Hibernate it is possible and very well documented. It's called "Dynamic Model". I have to get a special Hib session from a session i already have, and it starts to work with Maps and not real classes and objects.
Here is the command in Hib: sess.getSession(EntityMode.MAP);
Thanks in advance.
Doron

Doron,
We have been working with dynamic models and byte code weaving for a while now. I took some work I did a few months back now and upgraded it to work with EclipseLink JPA. I have started creating an example within EclipseLink to both illustrate how EclipseLink can be extended to deliver this dynamic mapping and also to start consolidating our existing dynamic support in our SDO and DBWS components into a more general solution that be used out of the box with JPA.
I have started a wiki page to illustrate how this functionality can be used. Take a look and let me know if this might address your requirements.
http://wiki.eclipse.org/Eclipselink/Examples/JPA/Dynamic
Doug

Similar Messages

  • I have 3 computers. i want to get files from one to another. it doesn't work, i think it is a problem with the apple id?

    i have 3 computers. i want to get files from one to another. it doesn't work, i think it is a problem with the apple id?

    Roger:
    Zugriffsrecht means Access Right according to the translators.
    martinamm:
    You can't do what you want with iCloud.  You will need to setup remote access to your main computer with VPS or some similar remote access application.   With VPS you have an application running on your main computer turning it into a server and an client app on your laptop so you can access it remotely.  There are many such apps out there, some probably more feature filled than VPS.  You might post in the system forum that you're running and ask there.
    OT

  • If i have a upgrade and want to get the iphone 5s do i have to pay full retill or can i do the down payment

    if  i have a upgrade and want to get the iphone 5s but have tmobile do i have pay full retill or can i do the down payment

    Yes.  You can also check from the apple store app.
    Going in store is a great idea.

  • Working alternating with iPhoto and FCE tgrying to import pictures from iPhoto into FCE suddenly all my 22300 pictures disappeared leaving empty frames. Does somebody know where the pictures could have gone and how can I get them back into iPhoto? Lothar

    Working alternating with iPhoto and FCE tgrying to import pictures from iPhoto into FCE suddenly all my 22300 pictures disappeared leaving empty frames. Does somebody know where the pictures could have gone and how can I get them back into iPhoto? Lothar

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • When double clicking on alv ,want to get the column name

    Hello there,
        I'm displaying the value of internal table in an alv using Reuse_alv_grid_display method ,using fieldcatalog.I want to know the column name when double clicking on a particular line .If the the fieldname is 'MATNR' then i want to check that column name.
        If anybody have any idea plz terply me.
    Thanking you neon

    for that you have to use the USER_COMMAND event.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM                = sy-repid
       I_CALLBACK_USER_COMMAND      = 'USER_COMMAND'
       IT_FIELDCAT                       = it_fcat
      TABLES
        t_outtab                          = itab
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    FORM USER_COMMAND using ucomm type sy-ucomm
                                                   selfield type slis_selfield.
    data: fieldname(30).
    case ucomm.
    when '&IC1'.
    case selfield-fieldname.
       when 'MATNR'.
        message 'clicked on Matnr' type 'I'.
       when 'POSNR'.
       endcase.
    endcase.
    ENDFORM.

  • Some songs on my iPod have "duplicates" that I want to get rid of. I need help getting rid of them.

    So I just got my iPod touch 5th gen yesterday and with the new iTunes and ios, it's all really stupid and confusing. Just as I thought I was satisfied with the music on my iPod, I find out that some songs have two versions.
    I downloadable songs from both my account and my brother's account. I read the message that I can't do the whole download of past purchases for 90 days and went on since it didn't really seem to effect anything on my 4th gen. Now I have 800+ songs on my iPod and I guess Apple decided to get rid of being able to delete songs right from the device. So I delete all the songs from my iPod, go into iTunes on my computer, sign into my brother's account, and download the songs from there that I wanted. Now I have about 300-400 songs downloaded on my computer in iTunes. I sync all the music to my iPod and now I think I'm satisfied. But when I go to some of the artists, it has one song that's ok to play and then it has the same song that can't be played with the cloud button next to how long the song is.
    It's not a big deal, but it really bothers me. How can I get rid of the one that has the cloud next to it. Thanks for the help!

    The Cloud by the song indicates that is is an iTunes purchase but it is not downloaded on the iPod. If you only want download iTunes purchases to show in the Music app go to Settings>itunes and pp Store and turn off Show aLL.

  • Seem to have 2 accounts and want to get rid of one with wrong email and payment methods

    I have 2 accounts and wish to close one as email details and payment method are changed.

    Only iTunes Support can potentially delete an account, which will also remove any content that was downloaded on the account :  http://www.apple.com/support/itunes/contact/
    If you don't want to use the account anymore then you can log into it and remove any personal info from e.g. payment details. If you have any downloads on the account that you want to retain access to then remember the id and its password, you will need them if you want to redownload them, authorise them on a new computer, and download updates to its apps.

  • I also have a iphone4  I want to get rid of my landline how do I then get wi-fi

    I bought  a iPhone 4 &amp; ipad2 wi-fi 3G to get rid of my land line. I'm now told I need a sim card for iPad why.

    If your WiFi connection is currently via DSL then getting rid of your land-line will eliminate your WiFi and you would have to use 3G on your iPad 2 to connect to the internet. This would require a SIM.
    If you want to use your iPhone as a WiFi hotspot for your iPad you could go that route. Be advised, however, that your internat performance won't be great on 3G.

  • I currently have iwork 08 and want to get the latest version of Keynote

    Do I do this through the APP store or is there another way? Is the App for Keynote a full version that will upgrade my mac book pro without messing up my saved keynote files.
    Sorry if these are basic questions but I have searched and searched for answers and found nothing.
    Thanks in advance
    Rebecca

    You upgrade from the Mac App Store(10.6 or newer only) or by purchasing a retail version of iWork 09 from another source. Both of these are full installs.
    Back up your documents.
    (59912)

  • HT203167 I have lost everything and want to get it all back...apps, music, etc.  how do I do this?  no I didn't make backups

    My iPod, Ipad, and iPhone 4 have all m data and apps abd music but my computer is hosed and I tried downloading itunes again after I uninstalled it.
    how do I gewt it all back?

    yes to everything; you can add a line (up to 5 total for Family Share), drop a line, upgrade a basic line to a smartphone (and then add a tiered data plan) and stay on your current calling plan ... it may be easier done in your local Corporate Verizon store, though ... just be sure they don't try to switch you to Share Everything if that's not what you want

  • Have Ilife 05 and want to get iweb

    Is there a way to get iweb without having to buy a new ILife. I have an older version that doesn't have iweb on it?
    thanks

    no, iweb is only in ilife 06. you will have to buy that new version to get the new iphoto, iweb, imovie, idvd and itunes!
    it is ithink 80 $ - but if you wait until february 2007, you can get ilife 07 with a new version of iweb!
    max

  • I have lightroom 2 and wanting to get the time lapse plug-ins but i dont know how.

    how or where can i get the plug-ins for time lapse for light room 2?

    Adobe - Lightroom : For Macintosh : Adobe Photoshop Lightroom 3.6

  • I have 2 ipods. i want to get the music out of 1 and add it 2 my library so i can add that music into my other ipod. if i just click sync does that do that 4 me?

    is that how that works?

    It does not. In order to sync content to an iPod, it needs to be stored in your iTunes library first and you cannot sync content directly from iPod to another.
    So what you'll need to do is copy the content from the one iPod to your iTunes library first.  Then set your other Nano up to sync this content to it.
    See this article from another forum member Zevoneer covering the different ways to copy music from your iPod back to iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • I don't want to import PHOTOS. I want to get only one into Lightroom for temporary work. How do I do this. (the photo is now in Photoshop Elements).

    Don't want to import all photos from my camera or anywhere else. I only want to work on one image then put it back into Elements. Please tell me how to do this and I would appreciate a detailed answer. Please do not be vague.

    Lightroom is not a file browser, It isn't anything like the organizer in Photoshop Elements. Lightroom uses a catalog, which is a database. That database keeps track of the location of images that have been imported, as well as all of the adjustments that you make to those images using Lightroom. The import process is a process of showing Lightroom where the images are located on your computer. You can't just open an image in Lightroom, make changes and then close it. Lightroom doesn't make changes to the original image. Your images are left in their pristine state. All the changes are stored in the catalog. And when it comes time to share an image that has been adjusted in Lightroom you need to export a copy that includes all of those changes. It's a different workflow, and one that you need to become accustomed to. I suggest that you watch a series of short tutorials that will help you understand more completely how Lightroom works.
    Getting Started with Adobe Photoshop Lightroom 5 | Adobe TV

  • Backed up library onto external hd - want to get music bk into itunes lib - moved 2 files library.itl and library.xml but reverts bk to 5kb and 11kb (ie. no music)

    I backed up library onto external drive. (itunes directory - with Album artwork, itunes music directory, and xml/itl files)
    Now I am trying to upload music back to a new Windows XP computer - I have new itunes version.
    First I moved/copied the itunes directory whole to the new computer - then opened itunes and the library.itl and library.xml reverted to 5 and 11kb
    Then tried just moving those two files - still nothing
    Help - as I have over 28MB of music I am trying to recover.
    Thanks,

    The "missing file" thing happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions. I can provide a step by step guide if you give me the two paths.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes.
    tt2

Maybe you are looking for