Class Overview
A factory for generating Dialect instances.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
Builds an appropriate Dialect instance.
If a dialect is explicitly named in the incoming properties, it is used. Otherwise, it is
determined by dialect resolvers based on the passed connection.
An exception is thrown if a dialect was not explicitly set and no resolver could make
the determination from the given connection.
Parameters
properties
| The configuration properties. |
connection
| The configured connection. |
Returns
- The appropriate dialect instance.
public
static
Dialect
constructDialect
(String dialectName)
Returns a dialect instance given the name of the class to use.
Parameters
dialectName
| The name of the dialect class. |