{"action":"opened","issue":{"url":"https://api.github.com/repos/mongodb/morphia/issues/773","labels_url":"https://api.github.com/repos/mongodb/morphia/issues/773/labels{/name}","comments_url":"https://api.github.com/repos/mongodb/morphia/issues/773/comments","events_url":"https://api.github.com/repos/mongodb/morphia/issues/773/events","html_url":"https://github.com/mongodb/morphia/issues/773","id":76426673,"number":773,"title":"entity name problem","user":{"login":"Rugal","id":1812023,"avatar_url":"https://avatars.githubusercontent.com/u/1812023?v=3","gravatar_id":"","url":"https://api.github.com/users/Rugal","html_url":"https://github.com/Rugal","followers_url":"https://api.github.com/users/Rugal/followers","following_url":"https://api.github.com/users/Rugal/following{/other_user}","gists_url":"https://api.github.com/users/Rugal/gists{/gist_id}","starred_url":"https://api.github.com/users/Rugal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rugal/subscriptions","organizations_url":"https://api.github.com/users/Rugal/orgs","repos_url":"https://api.github.com/users/Rugal/repos","events_url":"https://api.github.com/users/Rugal/events{/privacy}","received_events_url":"https://api.github.com/users/Rugal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-14T17:17:19Z","updated_at":"2015-05-14T17:17:19Z","closed_at":null,"body":"Today I encounter a very strange problem regarding entity naming.  \r\nIf my collection name is `class_room` then my class name is `ClassRoom`, so I have to map `@Entity(value=\"class_room\")`, but that doesn't work.  \r\nOnly if I change the collection name in MongoDB to something like `classRoom` (without underscore) can morphia process it normally.  \r\nAlso at this moment I didn't change the `class_room` in `@Entity` annotation but it still mapping correctly. I think there must have some problem related with name mapping and underscore process."}}