The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

xgumara (2) [Avatar] Offline
#1
Hello,

I was testing the code from the "Listing 8.7" and I couldn't make it work until I added this line as the first of the function: super.init(properties);

So I think it should look like:

...
protected void init (Util.PropertyList properties) {
super.init(properties);
Connection thisConn = this.getConnection();
...

Hope this helps.

Xavier Gumara
william.back (28) [Avatar] Offline
#2
Re: Chapter 8 - Listing 8.7
Thanks again for the feedback. You are correct. That was left out in the code snippet. I've added it back and it should show up in the next update.

Corrections, esp. before we go to print, are greatly appreciated.