| Package | Description |
|---|---|
| com.speedment.runtime.core.util |
Utility classes used both internally and in generated code is located in this
package.
|
| Modifier and Type | Method and Description |
|---|---|
static DbmsType |
DatabaseUtil.dbmsTypeOf(DbmsHandlerComponent handler,
com.speedment.runtime.config.Dbms dbms)
Returns the
DbmsType for the specified Dbms. |
static String |
DatabaseUtil.findConnectionUrl(DbmsHandlerComponent dbmsHandlerComponent,
com.speedment.runtime.config.Dbms dbms)
Determines the connection URL to use for the specified
Dbms by
first:
checking if the CONNECTION_URL property is set;
otherwise, calculate it using the DbmsType. |
static DbmsType |
DatabaseUtil.findDbmsType(DbmsHandlerComponent dbmsHandlerComponent,
com.speedment.runtime.config.Dbms dbms)
Locates the
DbmsType corresponding to the specified Dbms,
or throws a SpeedmentException if it can not be found. |
Copyright © 2019 Speedment, Inc.. All rights reserved.