Skip to content

Issue with persistence generation, it still using h2 database instead Postgres #2

@steelcorsy

Description

@steelcorsy

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

pom.txt

persistence.txt

What is wrong? Do you can post a example about by using real database connections?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions