How to use a database as your database source in JPA

前端 未结 2 721
忘了有多久
忘了有多久 2021-01-26 05:56

I\'m new in developing apps in JBoss so I followed their tutorials specially in making the Ticket Monster. For now, I\'ve created an Event JPA Entity and in the run, it shows th

2条回答
  •  -上瘾入骨i
    2021-01-26 06:44

    You can continue to use the H2 database from the example. H2 can be configured to write to a file. You just need to change your connect string.

    eg. jdbc:h2:~/test;

    See the H2 documentation for further options.

提交回复
热议问题