Announcement Announcement Module
Collapse
No announcement yet.
database reverse engineer MSSQL problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • database reverse engineer MSSQL problem

    Hello

    I created a project with the following roo command:

    Code:
    persistence setup --provider HIBERNATE --database MSSQL --databaseName xx --userName xx --password xx
    database reverse engineer --package ~.domain --schema dbo
    but I get the following error

    Code:
    database reverse engineer --package ~.domain --schema dbo
    The following Spring Roo add-on offers a similar criterion (to install use 'addon install --bundleSybolicName ..'):
    org.springframework.roo.wrapping.jtds: Spring Roo - Wrapping - jtds
    JDBC driver not available for 'net.sourceforge.jtds.jdbc.Driver'
    How I include the mssql driver

    thank you

  • #2
    I ran:

    Code:
    script install-jdbc-drivers.roo
    but now I get the following message:

    Code:
    database reverse engineer --package ~.domain --schema dbo
    Unable to get connection from driver

    Comment


    • #3
      check this

      database.url=jdbc:jtds:sqlserver://localhost:1433/ResourceManager;instance=SQLEXPRESS

      open Sql Server Configuration Manager and make sure TCP/IP is enabled if not enable and restart the Server Instance

      Hope this will help you definitley...

      Comment


      • #4
        You do not have the jdbc driver of the database you use. You need the jdbc driver packaged as OSGi bundle installed on Roo.

        What roo version are you using ? In last Roo console versions is offered the installation of some jdbc drivers on 'database rever engineer' command.

        Comment

        Working...
        X