What is the best/prettiest/most flexible way of storing application settings with Hibernate?
Is a single row table the way to go, or is there a better way? The ability to store extra settings in the same place/table, but outside of the application domain would be nice.
I've experimented with a Key/Value table, for example:
Key | Value
-------------------------
width | 20px
height | 40px
showall | true
etc.
But this doesn't seem to fit Hibernate very well.
Any ideas?