![]() ![]() ![]() jdbc:sqlserver://serverName\ serverIP:portNumber databaseName=dbName integratedSecurity=false user=sa password=sa If setting it to false means login SQL server uses SQL server account, you should provide username and password in this case like below.If you set the parameter integratedSecurity value to true, it means that you log in to the SQL Server using windows authentication.Use the JDBC connection URL like jdbc:sqlserver://serverName\ serverIP:portNumber databaseName=dbName integratedSecurity=true property1=value1 property2=value2.* Use sql server account authentication.*/ SQLServerDataSource sqlDs = new SQLServerDataSource() You Can Access Microsoft SQL Server Using JDBC With The Following Two Methods. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |