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

Add MongoDB + skip by dialect + environment variables for MongoDB #77

Closed
wants to merge 21 commits into from

Conversation

emmanuelbernard
Copy link
Member

I've reworked @Sanne environment variables for MongoDB commit.
It should properly work now. Can you review @Sanne ?

The rest is good and you have the +1 from me to apply.

Guillaume Scheibel and others added 21 commits April 23, 2012 17:37
…e mapping for Calendar and Byte for BuiltInTypeTest to pass
… MongoDBTupleSnapshot. fix endsWith check on _id to include . prefix. add ToString on AssociationTupleSnapshot. construct DBObject with size instead of HashMap for columnNames+columnValues.
@emmanuelbernard
Copy link
Member Author

By the way the reason the previous code was not working is because in my system, Environment from ORM reads System properties before the the TestHelper was initialized. I am not sure why but after all nothing is guaranteed wrt class loading and static block calls ordering.

@Sanne
Copy link
Member

Sanne commented Apr 30, 2012

Ok my bad! But not fully understanding it. I know there are no guarantees among static class initialization, but there definitely is an order between a) initialize the class b) use it.
Anyway, your changes make it easier to track and works for me.

@emmanuelbernard
Copy link
Member Author

I'm working on merging this one to master :)

@Sanne
Copy link
Member

Sanne commented May 2, 2012

thanks!

@Sanne Sanne closed this May 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants