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?"
About Question enthuware.oce-jpad.v6.1.436 :
Moderators: Site Manager, fjwalraven
-
- Posts: 9
- Joined: Sat May 09, 2015 6:30 am
- Contact:
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-jpad.v6.1.436 :
Updated.
thank you for your feedback!
Paul.
thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 1
- Joined: Tue Sep 29, 2015 9:48 am
- Contact:
Re: About Question enthuware.oce-jpad.v6.1.436 :
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.
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.
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-jpad.v6.1.436 :
You are right.
Fixed.
thank you for your feedback!
Fixed.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 43 guests