开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜