These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: JBoss 3.2.6RC1 and Hibernate 'integration' useful?
PostPosted: Thu Aug 12, 2004 4:28 pm 
Newbie

Joined: Thu Aug 12, 2004 4:09 pm
Posts: 5
Location: San Francisco, CA
Hibernate version: 2.1.6
Jboss version: 3.2.6RC1


Hi all,
Forgive my newbie-ness...

I have my persistent classes deployed via a .har and everything is working fine.

So far, what I see as the usefulness of this deployment is that I can grab the session factory out of JNDI. Other than that what benefits do I get?

The reason I ask is that I tried reconfiguring hibernate with the MBean via the jmx-console, but I didn't see 'changes' that I applied via that affecting things.

For example, I'm using the bean shell servlet to play with hibernate so I wouldn't need to keep redeploying my 'test' code. I successfully grabbed the sesson factory via JNDI and loaded persisted data.

I changed the JNDI name from the jmx console, but then the bean shell script would not 'find' it under the new name. Isn't the point of the mbean stuff to enable runtime configuration?

Anyone out there willing to enlighten me?

Thanks,
Alex


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 12, 2004 4:43 pm 
Newbie

Joined: Tue Nov 11, 2003 5:25 pm
Posts: 17
Location: Milwaukee, Wi
Out of curiosity, does the runtime manipulation work for changing other Hibernate config attributes or is it just the JNDI name that didn't work?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 12, 2004 4:57 pm 
Newbie

Joined: Thu Aug 12, 2004 4:09 pm
Posts: 5
Location: San Francisco, CA
the easiest to try was ShowSqlEnabled, initially it was true, and I see the sql calls.

I set it to false and still see the sql being logged.

So I'll assume it applies to all the properties (that are RW)

damien wrote:
Out of curiosity, does the runtime manipulation work for changing other Hibernate config attributes or is it just the JNDI name that didn't work?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 12, 2004 6:38 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
This might be still not working ... probably add a JIRA entry.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 13, 2004 1:13 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
Yes, this is a known deficiency in the current implementation. There is currently discussion about what should be configurable via the MBean and what those changes mean. Most are not simple resetting of variables on the session factory, but instead imply rebuilding the session factory. And what's the best way to propogate that to other components, etc. Those are the types of things being discussed.

For the first release we really just wanted to focus on the har deployment and session management capabilities.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 13, 2004 3:08 pm 
Newbie

Joined: Thu Aug 12, 2004 4:09 pm
Posts: 5
Location: San Francisco, CA
Thanks for the explanation....helps me know that I wasn't doing something stupid.

steve wrote:
Yes, this is a known deficiency in the current implementation. There is currently discussion about what should be configurable via the MBean and what those changes mean. Most are not simple resetting of variables on the session factory, but instead imply rebuilding the session factory. And what's the best way to propogate that to other components, etc. Those are the types of things being discussed.

For the first release we really just wanted to focus on the har deployment and session management capabilities.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.