org.wso2.carbon.registry.core.jdbc.indexing
Class MySQLDialectDriver

java.lang.Object
  extended by org.apache.lucene.store.jdbc.dialect.Dialect
      extended by org.apache.lucene.store.jdbc.dialect.MySQLDialect
          extended by org.apache.lucene.store.jdbc.dialect.MySQLInnoDBDialect
              extended by org.wso2.carbon.registry.core.jdbc.indexing.MySQLDialectDriver

public class MySQLDialectDriver
extends org.apache.lucene.store.jdbc.dialect.MySQLInnoDBDialect

This class overrides two methods, dealing with blobs in MySQLInnoDBDialect class to avoid the error caused by not setting emulateLocators property to true in MySQL datasource.


Constructor Summary
MySQLDialectDriver()
           
 
Method Summary
 String closeBlobSelectQuote()
           
 String openBlobSelectQuote()
           
 
Methods inherited from class org.apache.lucene.store.jdbc.dialect.MySQLInnoDBDialect
getTableTypeString
 
Methods inherited from class org.apache.lucene.store.jdbc.dialect.MySQLDialect
closeQuote, getBitType, getBlobType, getCurrentTimestampFunction, getCurrentTimestampSelectString, getNumberType, getTimestampType, getVarcharType, isCurrentTimestampSelectStringCallable, openQuote, supportsCurrentTimestampSelection, supportsForUpdate, supportsIfExistsBeforeTableName
 
Methods inherited from class org.apache.lucene.store.jdbc.dialect.Dialect
getCascadeConstraintsString, getForUpdateNowaitString, getForUpdateString, processSettings, sqlTableExists, supportsIfExistsAfterTableName, supportsTableExists, supportTransactionalScopedBlobs, useExistsBeforeInsertLock, useInputStreamToInsertBlob
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySQLDialectDriver

public MySQLDialectDriver()
Method Detail

openBlobSelectQuote

public String openBlobSelectQuote()
Overrides:
openBlobSelectQuote in class org.apache.lucene.store.jdbc.dialect.MySQLDialect

closeBlobSelectQuote

public String closeBlobSelectQuote()
Overrides:
closeBlobSelectQuote in class org.apache.lucene.store.jdbc.dialect.MySQLDialect


Copyright © 2011 WSO2 Inc. All Rights Reserved.