From: Bjorn B. <bri...@cs...> - 2005-09-04 17:48:19
|
Robert van Herk wrote: >>> I wonder why GenericConnect.pphs does not seem to get installed with=20 >>> the cabal package... Was this intended? >> >> Yes it was. The problem with GenericsConnect is that it imports all=20 >> the drivers that were compiled with it. This has a number of=20 >> problems: ... >=20 > Ah I see. Does this mean that currently, there is no way to connect to = a=20 > database from GHC 6.4? I've been browsing the HaskellDB's test files,=20 > but they all seem to use GenericConnect... The recommended way at the moment is to use one of the driver-specific=20 connection functions: Database.HaskellDB.HSQL.MySQL.mysqlConnect Database.HaskellDB.HSQL.ODBC.odbcConnect Database.HaskellDB.HSQL.PostgreSQL.postgresqlConnect Database.HaskellDB.HSQL.SQLite.sqliteConnect Database.HaskellDB.WX.wxConnect /Bj=F6rn |