This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
with persistence.xml specifying table creation strategy, I can have the tables automatically created when deployed.
However, I noticed that when I redeploy the app., it still tries to recreate the table because of the table creation strategy is "create". Should not it be smart enough to know that the tables already exist?
I sure can set the strategy to "None" to avoid creation, but that means I have to change the descriptor file after initial deployment, is there a better solution?