Added database support for Microsoft SQL Server and fixed Java syntax warnings.