About Question enthuware.oce-jpad.v6.1.436 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
piotr.kraciuk
Posts: 9
Joined: Sat May 09, 2015 6:30 am
Contact:

About Question enthuware.oce-jpad.v6.1.436 :

Post by piotr.kraciuk »

I believe this question is not specific enough. When we choose "@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)" then overDraftLimit will be stored in CHECKINGACCOUNT table, and interestRate will be stored in SAVINGSACCOUNT table, so this answer could be also considered to be true.

What can be done, is to change this question a bit, so it states that those values should be stored only in stated tables:

"While persisting above entities, you want the acctNumber to be stored in ACCOUNT table, overDraftLimit to be stored only in CHECKINGACCOUNT table, and interestRate to be stored only in SAVINGSACCOUNT table. Which of the following options can be inserted in Account class to achieve this goal?"

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

Re: About Question enthuware.oce-jpad.v6.1.436 :

Post by admin »

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

bilski.tomek
Posts: 1
Joined: Tue Sep 29, 2015 9:48 am
Contact:

Re: About Question enthuware.oce-jpad.v6.1.436 :

Post by bilski.tomek »

I think that explanation for 4-th question is wrong: "This will not help because in this strategy the ACCTNUMBER column will be created in all the three tables and not just in ACCOUNT table as the problem statement requires."

There was no information that ACCTNUMBER must be only in ACCOUNT table.
In my opinion TABLE_PER_CLASS is wrong because class Account is abstract so in this strategy table ACCOUNT will not be created, so the text "you want the acctNumber to be stored in ACCOUNT table" is false.

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

Re: About Question enthuware.oce-jpad.v6.1.436 :

Post by admin »

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

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests