[JBoss Seam] - Re: please document library versions
by pete.muirï¼ jboss.org
anonymous wrote : Well, actually, it was the custom version of Hibernate, not Facelets, that puzzled me. After all, with Hibernate being owned by pretty much the same team as Seam itself (well, Gavin is there for sure), any needed custom changes could have been as easily incorporated right into a Hibernate release, now couldn't have they?
I think its a released version of hibernate repackaged. Not sure which one, sorry.
anonymous wrote : Now, if I don't use JBoss Embedded (I deploy on Tomcat without EJB3 support), do I still need to use the hibernate-all.jar, or can I use the latest GA versions of Hibernate, Annotations, EM and such?
No, there is no need to deploy hibernate-all.jar ever with your Seam app (of course, if you use JBoss Embedded then you need it, but thats not deploying with seam). You can swap in the latest versions of Hibernate stuff. You could probably do this on JBoss AS as well.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072549#4072549
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072549
18Â years, 10Â months
[JBoss Seam] - Re: please document library versions
by ASavitsky
"pete.muir(a)jboss.org" wrote : Why? Well facelets is obvious (we needed fixes which weren't in a released version). And currently Seam depends on JBoss Embedded at build time (but not at runtime, you do need thirdparty-all for deploying to non JBoss AS app servers if they don't have all the deps needed, normally javassist). I am working on improving dep management currently, and the dependency on JBoss Embedded (apart from it's api) will go away.
Well, actually, it was the custom version of Hibernate, not Facelets, that puzzled me. After all, with Hibernate being owned by pretty much the same team as Seam itself (well, Gavin is there for sure), any needed custom changes could have been as easily incorporated right into a Hibernate release, now couldn't have they?
Now, if I don't use JBoss Embedded (I deploy on Tomcat without EJB3 support), do I still need to use the hibernate-all.jar, or can I use the latest GA versions of Hibernate, Annotations, EM and such?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072538#4072538
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072538
18Â years, 10Â months
[Persistence, JBoss/CMP, Hibernate, Database] - Re: Setting the ID of the entity manually before persist
by whafrog
anonymous wrote : Why is that? The entity is NOT detached, it never got persisted...
Well, you created it with "new", so it's not "attached" to the persistence engine, so it has to be detached... It's probably not an accurate message. persist() is for new rows, so it's probably not expecting ID to have a value, assuming that if it does have a value, it must have been previously retrieved.
You've annotated your ID field with @GeneratedValue, so it's all or nothing. Either remove it and always provide the ID, or keep it and never do. Mixing the scenarios is a recipe for trouble anyway.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072529#4072529
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072529
18Â years, 10Â months