This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SQLException - Question 14, page 942, Chapter 15 Programmer I and II Study Guide Java SE 7  RSS feed

 
Dana Ucaed
Ranch Hand
Posts: 351
6
Netbeans IDE Oracle Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I tried:



I got:

Jul 08, 2017 9:27:50 PM jdbc_book14.JDBC_Book14 main
SEVERE: SQLException
Jul 08, 2017 9:27:50 PM jdbc_book14.JDBC_Book14 main
SEVERE: SQLState :25001
Jul 08, 2017 9:27:50 PM jdbc_book14.JDBC_Book14 main
SEVERE: Vendor code :20000
Jul 08, 2017 9:27:50 PM jdbc_book14.JDBC_Book14 main
SEVERE: Message :Cannot close a connection while a transaction is still active.


But in the book the response is D. No row are added to the database.

May be fault a configuration of my  Derby database?

Thanks,





 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!