Announcement Announcement Module
Collapse
No announcement yet.
DBRE generates two java class for single table Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DBRE generates two java class for single table

    Hi,

    I am using Spring Roo 1.2.1 version, created entity file using below command,

    - database reverse engineer --schema "IS_TEST" --includeTables "IS_DIM" --package ~.shared.domain --activeRecord false

    it creates IsDim and IsDimPK file. Could you please let me know why it creates two files?

    Thanks,
    Riyaz

  • #2
    IsDim is related to a table and IsDimPK is related to the multiple primary key of the same table.
    In the translation from relational database to object mapping this is required.
    *PK class not exists when a table has simple primary key.

    Comment

    Working...
    X