Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using database with '.' character, the HiLoKeyGenerator wont work #22

Closed
ti24horas opened this issue Jul 16, 2010 · 1 comment
Closed

Comments

@ti24horas
Copy link

Im using a database named like ti24horas.com.
When i tried to insert a new object into mongodb, the application locks up in a loop waiting for receive data and in server side an exception is thrown.
The workaround for me was rename the database to ti24horas

@atheken
Copy link
Owner

atheken commented Jul 16, 2010

"." is reserved in MongoDB and should not be used for naming databases or collections. The reason is because "." is used as a delimiter between the elements, so MongoDB would not have a reasonable way to determine what the client meant. Regardless, NoRM should probably enforce this requirement by throwing an exception when the user defines an invalid name.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants