Question: [ 9 : 3 5 am , 1 4 / 5 / 2 0 2 4 ] Pallavi: John works on a code implemented using
: am Pallavi: John works on a code implemented using @Transactional annotation. Help him identify, which among the following are correct usages of this annotation?
A
Public interface DataStoreServices
Void update DataStoreDetailsDataStore dataStore;
void insertDataStoreDetails Datastore datastore;
B
@Transactional
public class DataStoreServiceImpl
public void updateDataStoreDetaila DataStore datastorecode goes here
public void insertDataStoreDetails DataStore datastorecode goes here
: am Pallavi: C
Public class DataStoreServiceImpl
@Transactional
public void updateDataStoreDetails DataStore datastore
code goes here
D
public class DataStoreServiceImpl
public void updateDataStoreDetails DataStore dataStore
@Transactional
code goes here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
