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

  • smoradi
    started a topic javax.persistence.Embedded

    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

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

    Leave a comment:


  • Stefan Schmidt
    replied
    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

    Leave a comment:


  • smoradi
    replied
    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.

    Leave a comment:


  • Ben Alex
    replied
    What exactly doesn't work? What are you expecting?

    Leave a comment:

Working...
X