I don't know actually, but this is a PostgreSQL question. Look for docs on its Java driver. Same about what provides the driver, you'd have to check PostgreSQL.
Connector/J definitely has this class for MySQL, you must be doing something wrong if you can't use it with this pom. On Mon, Jul 2, 2012 at 5:34 AM, wielliam <[email protected]> wrote: > what is the equivalent of this line for Postgresql? > > MysqlDataSource dataSource = new MysqlDataSource (); > > Im also wondering which class to import that lets me instantiate the > datasource object. I have added the drivers and mahout-integration to my > pom.xml file but I still cant instantiate that particular object for either > type of database > >
