Hi all,
im my database i have tables, that only holdes fixed names for the usage in other tables.
These tables are rearly updated (only from a dba)
Example
Quote:
table: d_status
contains: installed in test-environment, not installed, installed in prod-environment
at update/insert in other tables i refer to this fixed vales.
What is the best way to map these tables in hibernate?
Do i need an surrogate key?
(or defining the name as unique and as PK ?)
Do i need an association to these table ?
(sounds too compicated for this purpose)