You're doing better than I am -- the updated JBoss release didn't help me, I'm 
still
seeing a "hibernate not bound" message :(  Undoubtedly some form of mis-
configuration. I'm using hibernate "under" ejb3 and I'm trying to retrieve 
statistics so
I can tune my one-to-many collection retrieval (which is horribly slow 
irrespective of
BatchSize -- in fact, batching appears to make things worse).

partial bean
  | @Stateless
  | public class DeviceService implements DeviceFacade {
  |     @PersistenceContext (unitName="DA")
  |     protected EntityManager em;
  | 
  | 
  |     @TransactionAttribute(TransactionAttributeType.REQUIRED)
  |     public String printDvcId(long dvcId) {
  |     try {
  |         SessionFactory sessionFactory = (SessionFactory)new 
InitialContext().lookup("hibernate/SessionFactory");
  | 

So you see a HibernateMBeanService during startup?  I get the feeling there 
ought to be one, and I don't see it....

Thanks,
-Dave


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

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to