• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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

 
Ranch Hand
Posts: 442
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!