-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Franck Routier schreef:
Or is there any unpublished Monetdb dialect for Mondrian laying around somewhere ?
...there is.
Stefan
/* // This software is subject to the terms of the Common Public License // Agreement, available at the following URL: // http://www.opensource.org/licenses/cpl.html. // Copyright (C) 2008-2009 Julian Hyde // All Rights Reserved. // You must accept the terms of that agreement to use this software. */ package mondrian.spi.impl;
import java.sql.Connection; import java.sql.SQLException;
/** * Implementation of {@link mondrian.spi.Dialect} for the MonetDB database. * * @author Niels nes * @version $Id: //open/mondrian/src/main/mondrian/spi/impl/MonetDBDialect.java#2 $ * @since April 16, 2009 */ public class MonetDBDialect extends JdbcDialectImpl {
public static final JdbcDialectFactory FACTORY = new JdbcDialectFactory( MonetDBDialect.class, DatabaseProduct.MONETDB);
/** * Creates a MonetDBDialect. * * @param connection Connection */ public MonetDBDialect(Connection connection) throws SQLException { super(connection); }
public boolean requiresAliasForFromQuery() { return true; }
// not sure needs testing public boolean isNullsCollateLast() { return true; }
// we do support this public boolean supportsGroupByExpressions() { return true; }
}
// End MonetDBDialect.java