# Having problem with table name that contains dot like Staff.Users

**URL:** <https://discourse.cakephp.org/t/having-problem-with-table-name-that-contains-dot-like-staff-users/3233>\
**Category:** Uncategorized\
**Created:** [September 19, 2017, 8:52am UTC](https://discourse.cakephp.org/t/having-problem-with-table-name-that-contains-dot-like-staff-users/3233 "2017-09-19T08:52:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vietsys](https://avatars.discourse-cdn.com/v4/letter/v/91b2a8/32.png) [@vietsys](https://discourse.cakephp.org/u/vietsys)\
**Post date:** [September 19, 2017, 8:52am UTC](https://discourse.cakephp.org/t/having-problem-with-table-name-that-contains-dot-like-staff-users/3233/1 "2017-09-19T08:52:47Z")

</div>

I have a table name Staff.Users, and I have tried with TableRegistry::get(“Staff.Users”) but seens not working and I don’t know how to solve this problem. Can someone help? Thanks,

---

<div class="post-metadata">

**Author:** ![mesiarm](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@mesiarm](https://discourse.cakephp.org/u/mesiarm)\
**Post date:** [September 19, 2017, 10:55am UTC](https://discourse.cakephp.org/t/having-problem-with-table-name-that-contains-dot-like-staff-users/3233/2 "2017-09-19T10:55:09Z")

</div>

Dot notation is used for Plugins in CakePHP so there is conflict with it.  
You should name your Model to follow conventions (for example Users) and then specify table you used (Staff.Users)  
Here is explained how to use TableRegistry::get and specifying other parameters:  
[https://book.cakephp.org/3.0/en/orm/table-objects.html#configuring-table-objects](https://book.cakephp.org/3.0/en/orm/table-objects.html#configuring-table-objects)
