darrachequesne / spring-data-jpa-datatables

Spring Data JPA extension to work with the great jQuery plugin DataTables (https://datatables.net/)
Apache License 2.0
447 stars 173 forks source link

DataTables warning: table id=programs - org.springframework.data.mapping.PropertyReferenceException: No property media found for type Programs! #102

Closed chano21 closed 4 years ago

chano21 commented 5 years ago

Error : DataTables warning: table id=programs - org.springframework.data.mapping.PropertyReferenceException: No property media found for type Programs!

When i click to sorting colum, I had this issue.

html :

         <th>id</th>
    <th>media_name</th> < - I cllicked this one to sort
    <th>media_code</th>  < - I cllicked this one to sort
    <th>pgCode       </th>
    <th>pgName       </th>
    <th>pgSubName    </th>

Only CamelCase colum have this issue. how can i solve???

darrachequesne commented 5 years ago

How do you init your table? Maybe some typo between media_name and media.name (since the error mentions No property media found) ?

Else, could you please provide a way to reproduce?

darrachequesne commented 4 years ago

Closed due to inactivity, please reopen if needed.