Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to execute junit test query for a table(User) without actually modifying data in the table  RSS feed

Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a question regarding JUNIT TEST:

i have a unit test query in java that modifies data in a table user(name,id) and the sql takes a name and an id as parameter, it modifies the name.however i just want to know if it is possible to run my junit query if modification is successful or not without actually changing the data(name) in the table?

Thanks in advance.
Politics is a circus designed to distract you from what is really going on. So is this tiny ad:
Why should you try IntelliJ IDEA ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!