• 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: 405
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,





 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!