facebook

Explicit and Implicit FK

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

    frankc01a
    Member

    In my tables (MySQL) I identify foreign keys with readable names. Typlically with delete and update set to CASCADE

    I JPA reverse engineer but when I run the application somewhere in hibernate? it adds additional foreign keys (“FK….”) with delete and update set to none!!!

    This requires that I go in after the first run and alter the foreign keys that are generated to have the right setttings.

    This is ugly work to do for each table, am I missing something?

    Thanks in advance (TIA)
    Frank

    #280155 Reply

    Brian Fernandes
    Moderator

    This message has not been recovered.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Explicit and Implicit FK

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