Revision 0f9d4e5a
Added by Andreas Müller about 11 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/ICdmDataSource.java | ||
---|---|---|
56 | 56 |
public String getServer(); |
57 | 57 |
|
58 | 58 |
/** |
59 |
* Returns the name of the datasource on the given server. |
|
59 | 60 |
* @return |
60 | 61 |
*/ |
61 | 62 |
public String getDatabase(); |
... | ... | |
125 | 126 |
public NomenclaturalCode getNomenclaturalCode(); |
126 | 127 |
|
127 | 128 |
/** |
128 |
* Returns a single the first value of a row of a resultset.<BR> |
|
129 |
* Returns the first value of the first row of a result set.<BR> |
|
130 |
* If no row exists in the result set |
|
131 |
* <code>null</code> is returned. |
|
129 | 132 |
* |
130 | 133 |
* <strong>Caution</strong> This method opens a connection on first use. Subsequent calls will use the same connection. |
131 | 134 |
* Please close the connection when not needed anymore with {@link ICdmDataSource#closeOpenConnections()} |
Also available in: Unified diff
Allow access to hibernate dialect via DatabaseTypeEnum, use this for foreign key handling in TableCreator and ColumnAdder/Changer