<?php namespace TCK\Odbc;

use Illuminate\Database\Connection;

class ODBCConnection extends Connection {

	/**
	 * Get the default query grammar instance.
	 *
	 * @return Illuminate\Database\Query\Grammars\Grammars\Grammar
	 */
	protected function getDefaultQueryGrammar()
	{
		$class = $this->config('grammar.query') ?: '\TCK\Odbc\ODBCQueryGrammar';
		return $this->withTablePrefix( new $class );
	}

	/**
	 * Get the default schema grammar instance.
	 *
	 * @return Illuminate\Database\Schema\Grammars\Grammar
	 */
	protected function getDefaultSchemaGrammar()
	{
		$class = $this->config('grammar.schema') ?: '\TCK\Odbc\ODBCSchemaGrammar';
		return $this->withTablePrefix( new $class );
	}

}

<?php namespace TCK\Odbc;

use Illuminate\Database\Connection;

class ODBCConnection extends Connection {

	/**
	 * Get the default query grammar instance.
	 *
	 * @return Illuminate\Database\Query\Grammars\Grammars\Grammar
	 */
	protected function getDefaultQueryGrammar()
	{
		$class = $this->getConfig('grammar.query') ?: '\TCK\Odbc\ODBCQueryGrammar';
		return $this->withTablePrefix( new $class );
	}

	/**
	 * Get the default schema grammar instance.
	 *
	 * @return Illuminate\Database\Schema\Grammars\Grammar
	 */
	protected function getDefaultSchemaGrammar()
	{
		$class = $this->getConfig('grammar.schema') ?: '\TCK\Odbc\ODBCSchemaGrammar';
		return $this->withTablePrefix( new $class );
	}

}

Fix getting configs in L5.3
Fix getting configs in L5.3