javax.el.PropertyNotFoundException: Property not found on type org.hibernate.collection.internal.PersistentSet

前端 未结 1 738
滥情空心
滥情空心 2020-12-19 13:25

I try to recuperate data from association ManyToMany but i can\'t, this is my code.

Entity Produit :

@Entity
public class Produit implements Serializ         


        
1条回答
  •  囚心锁ツ
    2020-12-19 14:11

    
        
            
    

    javax.el.PropertyNotFoundException: Property 'geometrie' not found on type org.hibernate.collection.internal.PersistentSet

    Thus, the #{car.terminals} is a Set. The , and components doesn't support iterating over a Set. The #{der} will then basically represent the Set itself. The builtin support for iterating over Set will come in future JSF 2.3 version.

    If it's not an option to replace Set by a List, then just get an array out of it as below:

    
    

    0 讨论(0)
提交回复
热议问题