This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MSSQL Server datasource wont commit

 
Jay Olsen
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I set up a connection to my datasource in Websphere. This is then configured in my application using the spring config below. As you can see it uses JNDI to look up the resource.





When I use Oracle, the above configuration works beautifully and when I do a database insert, the data is committed to the database. However, when I change to MS SQL Server using the OPTA driver, the code executes successfully, however, the data never appears in the database. It looks like commit is never called on the datasource.

How can I get my datasource to commit the changes following completion of the task?

Any help greatly appreciated.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic