|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.castor.cpa.persistence.sql.driver.BaseFactory
org.castor.cpa.persistence.sql.driver.GenericFactory
org.castor.cpa.persistence.sql.driver.MySQLFactory
public final class MySQLFactory
PersistenceFactory
for MySQL JDBC driver.
Field Summary | |
---|---|
static java.lang.String |
FACTORY_NAME
Internal name for this PersistenceFactory instance. |
Constructor Summary | |
---|---|
MySQLFactory()
|
Method Summary | |
---|---|
java.lang.Class |
adjustSqlType(java.lang.Class sqlType)
For CLOB type ResultSet.setClob() is not supported yet by mm.MySql JDBC driver. |
java.lang.String |
getFactoryName()
Returns the name of this factory. |
QueryExpression |
getQueryExpression()
Returns a new empty query expression suitable for the underlying SQL engine. |
Methods inherited from class org.castor.cpa.persistence.sql.driver.GenericFactory |
---|
doubleQuoteName, isDuplicateKeyException, quoteName |
Methods inherited from class org.castor.cpa.persistence.sql.driver.BaseFactory |
---|
getCallQuery, getPersistence, supportsSetNullInWhere |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FACTORY_NAME
PersistenceFactory
instance.
Constructor Detail |
---|
public MySQLFactory()
Method Detail |
---|
public java.lang.String getFactoryName()
PersistenceFactory
getFactoryName
in interface PersistenceFactory
getFactoryName
in class GenericFactory
public QueryExpression getQueryExpression()
PersistenceFactory
getQueryExpression
in interface PersistenceFactory
getQueryExpression
in class GenericFactory
public java.lang.Class adjustSqlType(java.lang.Class sqlType)
adjustSqlType
in interface PersistenceFactory
adjustSqlType
in class BaseFactory
sqlType
- The correspondent Java class for the SQL type in mapping.xml
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |