facebook

@MappedSuperclass in DSL

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #313065 Reply

    DanielFarkas
    Member

    Hi, i have a abstract superclass @MappedSuperclass from my entitys models that contains a id, all subclasses extends this abstract superclass and overriden attribute id by
    @AttributeOverride(name = “id”, column = @Column(name = “<e.g. TABLE>_ID”)),

    but in DSL in Domain Object show a error : <MyClass >must have at least one Field marked as a primary key. but the primary key has found in abstract superclass @MappedSuperclass

    Has Solution ???

    i use MyEclipse for Spring or SkyWay Bulider only from webflow diagram its good, compared a webflow diagram of the STS.

    SkyWay Bulider generate dirt and unnecessary code.

    sorry my bad english.

    #313078 Reply

    davemeurer
    Member

    Hello,

    Currently, the DSL domain editors do not support superclass attributes. We do have related feature requests, so I’d be happy to add your comments here to help escalate this to be put in the DSL.

    In the meantime, if you don’t want to see the DSL errors and don’t use the DSL, you can always disable it in MyEclipse for Spring.

    Appreciate the thoughts about webflow and Skyway Builder. Please feel free to list any unnecessary code that you think we can remove, especially in MyEclipse for Spring – since, the work we’ve done in ME4S has evolved and been improved from Builder.

    Kind regards,
    Dave

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: @MappedSuperclass in DSL

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