tag:blogger.com,1999:blog-106449775438946661.post2161124650780184510..comments2024-03-19T05:14:38.879-07:00Comments on Overcoming Fear: Custom Inserts With HibernateTim Myerhttp://www.blogger.com/profile/01514263555690798238noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-106449775438946661.post-38336804336992740222010-11-22T05:38:22.083-08:002010-11-22T05:38:22.083-08:00great post, I'm rather wondering if this same ...great post, I'm rather wondering if this same approach works on a composite key where only one of the keys is generated via trigger.Xthttps://www.blogger.com/profile/17702626213239653208noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-92071955242035706512010-07-23T08:12:32.864-07:002010-07-23T08:12:32.864-07:00Hi Diogo,
Thanks for the question. I have not tr...Hi Diogo,<br /><br />Thanks for the question. I have not tried these steps using Hibernate 3.5 so cannot really speak to using them with that version. I would be very interested in hearing what solution you come up with, though!<br /><br />---Tim---Tim Myerhttps://www.blogger.com/profile/01514263555690798238noreply@blogger.comtag:blogger.com,1999:blog-106449775438946661.post-84422048750289250742010-07-20T11:20:23.738-07:002010-07-20T11:20:23.738-07:00Hi friend,
I working with hibernate 3.5 and I try...Hi friend,<br /><br />I working with hibernate 3.5 and I try to use your aproach to insert into a table with trigger pk, but in this version the class IdentifierGeneratorFactory become a interface, and I don´t figure out how to use the DefaultIdentifierGeneratorFactory that implement it.(sorry for my english)Diogohttps://www.blogger.com/profile/00130388117933014204noreply@blogger.com