facebook

[Closed] How to generate mapping files from Pojo ?

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #259924 Reply

    Greetings,

    I don’t find anything in the Hibernate perspective which could generate mapping files from POJOs. I sthat possible that such a functinality be missing or it’s me who don’ find it ?

    Many thanks in advance,

    Nicolas

    #259926 Reply

    Haris Peco
    Member

    Nicolas,

    There isn’t this feature, because it is not possible.If we could create mapping from POJO then we wouldn’t need mapping at all.

    However, there is some posibilities creating mapping with xdoclet tags (or eclipse wizards), but MyEclipse doesn’t support it.

    Newer version hibernate support ejb3 annotations in POJO (it request java >= 5.0) and you needn’t mapping – added data about persistent objects are in
    Java/POJO class .MyEclipse will support ejb3 in future releases.

    Best,
    Peco

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Closed] How to generate mapping files from Pojo ?

You must be logged in to post in the forum log in