added rudimentary support for TimesTen database. Based on Oracle support

This implementation works with the TimesTen database we're using. There are probably some differences with some of the implementation pieces, but since we're not using all those features, it's hard to tell if they're working or not.

In anycase, it's a good start, and hopefully people can improve on it.