This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JPA - Persistence.xml vs placeholder (properties files)  RSS feed

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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!