jboss 7 AS datasource for sqlserver

前端 未结 6 1413
轻奢々
轻奢々 2020-12-29 07:55

I run jboss in standalone mode and have set my datasource in the standalone.xml to the following:



        
6条回答
  •  鱼传尺愫
    2020-12-29 08:29

    I used this configuration and it worked OK on AS7

    
        jdbc:sqlserver://linp-sqlrpt-01;databaseName=pmdm
        com.microsoft.sqlserver.jdbc.SQLServerDriver
        sqlserver
        
            username
            password
        
     
    
    
        
            com.microsoft.sqlserver.jdbc.SQLServerXADataSource
        
    
    

    Of course if you're not using the distributed DataSource you can configure the regular driver class as previously defined.

    The module file looks like this.

    
        
            
        
    
        
            
        
    
        
           
           
           
        
    
    

提交回复
热议问题