sadasivaiahgoli opened a new issue, #14407:
URL: https://github.com/apache/grails-core/issues/14407
I have Book objects with different tenantIds. But I want to retrive all
tenantsId objects from the domain object. But it is not retrieving. It is
showing empty list.My method is below.WithoutTenantId not working
For example my book documents are:
| id | bookName | tenant_id |
| --- | --- | --- |
| 1 | abc | 2 |
| 2 | xyz | 3 |
I want to pull both tenant 2 and 3 data.
```
@WithoutTenant
List<Book> findAllBooks(){
List<Book> bookList=Book.findAll()
return bookList;
}
```
MyEnvironment is like this
grailsVersion=3.2.11
gradleWrapperVersion=3.4.1
gormVersion=6.1.10.RELEASE
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]