Announcement Announcement Module
Collapse
No announcement yet.
javax.persistence.Embedded Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • javax.persistence.Embedded

    Hi,

    Code:
    @Entity
    @RooJavaBean
    @RooEntity
    public class User {
    ...    
        @Embedded
        private Address address;    
    ...
    }
    
    @Embeddable
    @RooJavaBean
    public class Address {
    ...
    }
    Above code is not working , did I missed something or this feature is not supported yet ?

    I have fun with Roo :-) Thank you!
    Sid

  • #2
    What exactly doesn't work? What are you expecting?

    Comment


    • #3
      I tried to reproduce the exception , but seems every things working now !
      Could we expect generated create.jspx file in User form be in format like this ?
      Code:
      <form:input path="address.city"  .../>
      I want edit all Address fields inside of User form. Thanks for any comment on this.

      Comment


      • #4
        Hi Sid,

        I am glad it is working now again. Sometimes a project refresh or clean does wonders . As for the support for embedded in Web scaffolding - that is currently not supported but you can open a ticket for it in Jira and we can look into it.

        Cheers,
        Stefan

        Comment


        • #5
          I've created a ticket in Jira : http://jira.springframework.org/browse/ROO-345
          Cheers,
          Sid

          Comment

          Working...
          X