i am using hibernate as ORM tool, i am facing one problem,
i need to map a Global Temporary table to HBM. Now, the problem is with key, i know that in the hbm it is madatory to have some key fields, but what should i put, as any column can be null at any point of time, and table may have multiple records and the column value can be same for all.
please help me.
You can just introduce a surrogate key for this very purpose. An incremental number field should suffice.