About Question enthuware.ocpjp.v17.2.3630 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
yulinxp
Posts: 12
Joined: Sat Dec 02, 2023 12:54 pm
Contact:

About Question enthuware.ocpjp.v17.2.3630 :

Post by yulinxp »

I think the table name should be TEACHER

Code: Select all

        PreparedStatement insertPS
            = c.prepareStatement("insert into SUBJECT (NAME, TID) VALUES (?, ?)");

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v17.2.3630 :

Post by admin »

Right. Fixed.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.

marpiva
Posts: 1
Joined: Thu Feb 22, 2024 8:29 am
Contact:

Re: About Question enthuware.ocpjp.v17.2.3630 :

Post by marpiva »

So the code reads and writes to the same table? I'm not sure that the fix is good.

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v17.2.3630 :

Post by admin »

That is not an issue. It is possible to read and write from/to the same table.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 242 guests