javaee-lab
javaee-lab copied to clipboard
Issue with persistence generation, it still using h2 database instead Postgres
Hi! In first place, thanks for the wonderful tool for generate jsf code.
In second place, sorry, English is not my native language
I am having issues by generating code, i am editting my pom.xml to use with postgres database, maven jdbc drivers are installed correctly, connection to database ok, all is ok.
Project is being generated by using h2 database, pom.xml is already edited for use postgres connection, DS is not being created by last script.
I am doing:
1.- mvn com.jaxio.celerio:bootstrap-maven-plugin:4.0.12:bootstrap
I choose 4 option, empty project. I am deleting sql folder to avoid script executions problems. I edit my pom.xml (look uploaded file) I had installed jdbc drivers (maven postgres jar is same as wildfly deployed jar)
2.- mvn -Pmetadata generate-sources Printed a "Write metadata.xml file to src/main/config/celerio-maven-plugin/metadata.xml" type message
3.- mvn -Pgen generate-sources
All is ok, then, i got a nice project using h2 database instead postgres
What is wrong? Do you can post a example about by using real database connections?
Hi @steelcorsy, I got able to execute my project with postgresql. See my files attached and any doubt you can ask me. I'll try to perform the same way you did, to find your mistake.
Thank you, I am so new by using this tool, I have developments by reusing one above another project with JSF but I want to build a new hybrid j2ee template with this framework, thanks for the support