dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #01682
Re: Supporting MS Sql Server?
2009/8/27 Ola Hodne Titlestad <olatitle@xxxxxxxxx>
> Hi,
>
> It shouldn't require that much work though.
> Lars?
>
> I remember we added support for H2 some months back, and it didn't take
> that much time, at least that was my impression.
As I recall 95% of it is really quick. Then we struggle with the details of
the 5% of dialect incompatibility.
I think H2 was always pretty much there as it was used "internally". What
we tried to get up and running unsuccessfully was the derby database.
How important is MS SQL? I'd personally rather discourage people from using
it at all ...
Cheers
Bob
>
>
> Ola
> -----------
>
> 2009/8/27 Knut Staring <knutst@xxxxxxxxx>
>
> 2009/8/27 Lars Helge Øverland <larshelge@xxxxxxxxx>
>>
>>> There is a lot direct JDBC operations going on which requires us to
>>> implement a dialect for MSSQL, currently not there. Have a look in
>>> dhis-service-jdbc and give it a go:-)
>>>
>>
>> So basically the answer is no, we do not support MSSQL (South Africa is
>> wondering).
>>
>> Knut
>>
>>>
>>> Lars
>>>
>>>
>>> On Thu, Aug 27, 2009 at 1:08 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>>
>>>> I think DHIS 2 should be able to run on Microsoft's SQL Server, since it
>>>> is supported by Hibernate: https://www.hibernate.org/80.html
>>>>
>>>> <https://www.hibernate.org/80.html>However, I need some help to make it
>>>> work.
>>>>
>>>> To get a driver, I first placed jtds-1.2.2.jar in tomcat/lib and then
>>>> added these lines in hibernate.properties:
>>>> hibernate.dialect = org.hibernate.dialect.SQLServerDialect
>>>> hibernate.connection.driver_class = net.sourceforge.jtds.jdbc.Driver
>>>> hibernate.connection.url = jdbc:jtds:sqlserver://localhost/test
>>>>
>>>> But when starting Tomcat, I get the following:
>>>> Caused by: java.lang.RuntimeException: Unsupported dialect:
>>>> org.hibernate.dialect.SQLServerDialect
>>>>
>>>> --
>>>> Cheers,
>>>> Knut Staring
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>>>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>>>> More help : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>>
>> --
>> Cheers,
>> Knut Staring
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References