facebook

Reverse Engineering and Catalog

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

    Scott
    Member

    Is there a way I can configure the hibernate mapping funtion to NOT contain the catalog attribute in the class element? It is causing my mappings to generate SQL that looks like this:

    insert into fooBar.fooBar.myTable

    If I remove the catalog attribute from the generated mapping files all is well.

    Thanks,
    Scott

    #265555 Reply

    Haris Peco
    Member

    Scott,

    Please, can you send infos about your database (vendor and version) and example of mapping file ?
    What you do and get worng sql ?

    Thanks,

    #265579 Reply

    Scott
    Member

    I can, but I’d rather find a way to configure the generated mappings. For example, your tool appears to generate bidirectional associations which are not always required. Is there a way to specifiy “tips” for the generation?

    P.S. This is a wonderful step in the right direction

    Thanks,
    Scott

    #265585 Reply

    Haris Peco
    Member

    Scott,

    You can’t do it in MyEclipse UI, but you can change MyEclipse templates (they use velocity).Unfortunatelly, there isn’t some documentation for that.

    Regards,

    #265600 Reply

    Brian Fernandes
    Moderator

    Scott,

    A future release will allow explicit direction control. Now that we know users are explicitly asking for it, we’ll up the internal priority.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Reverse Engineering and Catalog

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