(1) Currently the built-in component org.jboss.seam.core.hibernate only 
supports bootstrapping a single instance of Hibernate. This is a silly 
limitation and there is a JIRA task to fix this. I'll get on it.

In the meantime, you can should be able to simply create a second component 
that knows how to boot a second instance of Hibernate like so:

@Scope(ScopeType.APPLICATION)
  | @Intercept(NEVER)
  | @Startup(depends="org.jboss.seam.core.microcontainer")
  | @Name("org.mydomain.myapp.core.myHibernate")
  | public class MyHibernate extencs Hibernate {}


(2) I'm not sure, you'll need to ask Adrian in the microcontainer forum...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939220#3939220

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939220


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to