-->
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.  [ 1 post ] 
Author Message
 Post subject: When is hibernate.properties read in a Java EE 6 container?
PostPosted: Thu Jul 14, 2011 3:16 pm 
Beginner
Beginner

Joined: Thu Dec 29, 2005 12:08 pm
Posts: 31
Location: Acton, MA
I'm using Hibernate 3.5.0-Final. (Yeah, yeah.)

I want to use the hibernate.dialect_loaders property.

Because of HHH-5306, it looks like the only way to set this property is in hibernate.properties or as a System property.

I want to set this property so that it is scoped to my .ear file. I'm beginning to think this is impossible.

My question: when, in a standard Java EE 6 container, is this properties file read by Hibernate (when the Hibernate that is used is part of the container, not the .ear file)? On container startup, or on application deploy? Does it apply only to the application, or to the entire container? Is there a way in Hibernate 3.5.0-Final that I can get my dialect loader to be used at persistence unit deployment time?

Thanks,
Laird


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

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.