-->
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: java Hibernate ${persistence.connection.dataSource}
PostPosted: Fri Apr 01, 2016 6:24 am 
Newbie

Joined: Fri Apr 01, 2016 6:19 am
Posts: 3
I have persistence.xml implemented as shown below.
<property name="hibernate.connection.datasource" value="${persistence.connection.dataSource}"/>
Could you please tell me how the ${persistence.connection.dataSource} is getting resolved.


Top
 Profile  
 
 Post subject: Re: java Hibernate ${persistence.connection.dataSource}
PostPosted: Fri Apr 01, 2016 9:28 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
That's Maven.


Top
 Profile  
 
 Post subject: Re: java Hibernate ${persistence.connection.dataSource}
PostPosted: Fri Apr 01, 2016 10:32 am 
Newbie

Joined: Fri Apr 01, 2016 6:19 am
Posts: 3
Hi Thanks for the lead . Could you add some more insight on that ?


Top
 Profile  
 
 Post subject: Re: java Hibernate ${persistence.connection.dataSource}
PostPosted: Fri Apr 01, 2016 11:08 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
The official documentation is a good starting point.


Top
 Profile  
 
 Post subject: Re: java Hibernate ${persistence.connection.dataSource}
PostPosted: Tue Apr 05, 2016 3:14 am 
Newbie

Joined: Fri Apr 01, 2016 6:19 am
Posts: 3
Thank you. Your lead led the path for me. The "gradle" used, downloads the dependency in which the maven dependencies are resolved in new persistence.xml under build folder.


Top
 Profile  
 
 Post subject: Re: java Hibernate ${persistence.connection.dataSource}
PostPosted: Tue Apr 05, 2016 3:22 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
You are welcome


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.