开发者

How can seam-gen be customized to support another database?

开发者 https://www.devze.com 2022-12-30 07:43 出处:网络
I would like to create an application from a database schema using seam-gen; unfortunately Informix isn\'t su开发者_运维知识库pported out of the box.

I would like to create an application from a database schema using seam-gen; unfortunately Informix isn't su开发者_运维知识库pported out of the box.

Where can I add another db?


You can make these steps:

  • Run seam setup to generate setup file. These file will be written in seam-gen/build.properties.
  • You can edit these file and change some values like:
    hibernate.dialect
    hibernate.connection.url
    hibernate.connection.username
    hibernate.connection.driver_class
    database.exists
    hibernate.connection.dataSource_class
    driver.jar
  • Buid project.

I always use seam with MySQL but I hope it helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号