| Author |
Property 'sql' is required
|
pramod talekar
Ranch Hand
Joined: Apr 26, 2010
Posts: 316
|
|
Hi All,
Could you please advise on the below error :
Below is the main class.
Below is the test class.
The datasource configuration is valid.
Also should this be called in the setter method itself or in the findAll() method?
Please advise.
|
Thanks,
Pramod
|
 |
pramod talekar
Ranch Hand
Joined: Apr 26, 2010
Posts: 316
|
|
Also, if I change the setter method to this and remove it from findAll() , I get below error :
|
 |
vaijesh basavarajappa
Greenhorn
Joined: Feb 04, 2013
Posts: 5
|
|
I guess you missed out driverClassName property while configuring datasource.
Vaijesh
|
 |
 |
|
|
subject: Property 'sql' is required
|
|
|