You can pass Dialect=com.example.MyDialect as part of the connect string. Mondrian will ignore its usual process of deducing the dialect from the JDBC database name and use the class you provide. You don’t need to re-compile Mondrian. In other words, dialects are pluggable. Julian