Skip to main content

[JPA query result] why result is beetwin [ ] brackets?

No replies
javacl
Offline
Joined: 2010-02-11

Hi

Hi have a entity bean called: "Utente".

In this entity bean i have a property:

List profiloList

which have a @ManyToMany relation with another Entity.

If in a jsf page i call method getProfiloList() on Utente object i retrieve correctly the data but formatted in [ ] brackets.

How can i delete this bracket to have only the data ?

I have an output like this:

[result1,result2,result3]

but i wont this:

result1,result2,result3

Thanks