OpenJPA does not generate Foreign Key Constraints in Fuse 6

Solution Verified - Updated -

Issue

  • OpenJPA has been setup to auto-generate tables based on my mappings when deploying an application. For some reason, the the Foreign Key Constraints are missing from all tables.

Environment

  • Red Hat JBoss Fuse

    • 6.x
  • OpenJPA

    • 2.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.