public class DatabaseIdentity extends Object
bin/omero db script psql my_database < scripta UUID is added to the "configuration" table with the key "omero.db.uuid". This value will be used in all objects exported from this database, so that they can be cleanly re-imported. This implies that it is not safe to copy a database and use it actively while the original database is still running. Only use database copies (or "dumps") as a backup in case of catastrophic failure. A default authority of "export.openmicroscopy.org" is used to simplify initial configuration, but you are welcome to use a domain belonging to you as the authority. If you choose to do so, you will need to use the same authority on any host which you may happen to migrate your database to.
Constructor and Description |
---|
DatabaseIdentity(String authority,
ome.util.SqlAction sql) |
DatabaseIdentity(String authority,
String uuid) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthority() |
String |
getUuid() |
String |
lsid(Class k,
long id) |
String |
lsid(Class k,
long id,
long version) |
String |
lsid(String ns,
String id) |
String |
lsid(String ns,
String id,
String version) |
boolean |
own(String lsid) |
boolean |
valid(String lsid) |
Version: 5.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.