RxL-Deepak-Agrawal opened a new issue, #14823:
URL: https://github.com/apache/grails-core/issues/14823

   ### Expected Behavior
   
   I have 2 entities both have composite id without composite key.
   
   `class User{
       Integer id
       Integer tenantId
       Address address
       static mapping {
           id composite:['tenantId', 'id']
       }
   }`
   
   `class Address{
       Integer id
       Integer tenantId
       String city
       static mapping {
           id composite:['tenantId', 'id']
       }
   }`
   
   `User save(User user){
       println(user.address) //prints null, exprected address object like it 
works in with non-composite keys
   }`
   
   Request form:
   `address=1`
   
   tenantId will be resolved from Multi-Tenancy feature.
   
   
   
   ### Actual Behaviour
   
   _No response_
   
   ### Steps To Reproduce
   
   _No response_
   
   ### Environment Information
   
   _No response_
   
   ### Example Application
   
   _No response_
   
   ### Version
   
   6.2.3


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@grails.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to