Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPA - Persistence.xml vs placeholder (properties files)

 
Sylvain Bouchard
Ranch Hand
Posts: 41
Java ME Objective C Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers !!

I'm starting a new projet with Hibernate/JPA, and I was wondering if we can use placeholders in the persistence.xml file ?
Not from the commande line, but really using an external properties file.
I didn't find any example or documentation on that particular topic.

I found one post that use Ant to do the trick, But, our environments are not setup up like that.
We use different properties files when moving from environment to new environement.

Thanks
Sylvain
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic