>>Is there any way that natural key lookups can happen automatically?
Hardly.
Namely I found todaya bug in the handling of natural key lookups
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4838but there are 3 conditions which must be fullfilled to generate a natural key lookup:
1. use Restrictions.naturalId()
2. attributes in the where condition must be annotated as NaturalId
3. the NaturalId annotation must have the immutable property set to true.
>>... (it only puts a timestamp in the value part).
Yes, the timestamp is always saved as element nr. 0 in the result-set-array.
>>It's really strange because this was something that was easily noticeable before and now it works fine without any known changes.