Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.deegree.framework.util
Interface DataBaseIDGenerator

All Known Implementing Classes:
  GenericSQLIDGenerator

    public interface DataBaseIDGenerator

This interface defines a generator for unique values for the primary key in a database table.

NOTE: At the moment, every application has to take care of locking the table to prevent problems in multithreaded or multihosted applications.

Version:
  $Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
  Markus Schneider Markus Schneider

Method Summary
`Object` | `generateUniqueId()` Generates a new Id, suitable as a primary key for the next dataset.

Method Detail

### generateUniqueId

    Object generateUniqueId()
                            throws SQLException

  Generates a new Id, suitable as a primary key for the next dataset.

  Returns:
    Id, the object type depends on the database field used as primary key
  Throws:
    `SQLException` - if for some reason a problem was encountered

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org