Announcement Announcement Module
Collapse
No announcement yet.
Why does Roo always delete identifierType from @RooJpaActiveRecord on startup? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Why does Roo always delete identifierType from @RooJpaActiveRecord on startup?

    I want the identifier type of a domain entity to be Long instead of BigDecimal. I change the annotation to look like this.
    Code:
    @RooJpaActiveRecord(table = "PERSON", schema = "SCHEMA", sequenceName = "PERSON_SEQ",identifierType=Long.class)
    I save and watch as Roo makes changes to all the classes that use personId. Then, next time I stop and restart Roo, it deletes the identifierType parameter from the @RooJpaActiveRecord annotation and changes everything back. I can't find an error about this in the issue tracker. Is this expected behavior or is it a bug?
Working...
X