Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to integrate SQL server with JBOSS

 
Ramesh Shanmugam
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have JBOSS in my system. I struggle to configure SQL server with the JBOSS. pls anyone help me out regarding this issue.

Thanks in advance,
Ramesh
 
norman richards
Author
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add your jdbc driver to the your server lib directory. (this requires a restart, sadly)

Copy docs/examples/jca/mssql-ds.xml into your deploy directory and edit the host name, database name, username and password.

Done.
 
norman richards
Author
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, I should add that datasource configuration is covered in chapter 4 of the book.
 
hxd han
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also want to know how to change default datasource to my datasource.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by hxd han:
I also want to know how to change default datasource to my datasource.


Edit the default datasource so it points to your database.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic