Hi,
I don't know why Hibernate doesn't support them, but they're old old features of Postgresql.
Anyways, from what I've seen in the Hibernate source code, it shouldn't be that hard to add some support for them; the hardest part will be that you need to find out how to retrieve the generated-key-value after doing an insert.
I don't know off the top of my head how to do that but it shouldn't be hard to find in the manual or on the mailing lists.
Another thing to watch out for, is that when you drop the table you generally don't drop the associated sequence that was created behind-the-scenes by Postgresql. And that could, perhaps, be a problem.
cheers,
--Tim
|