TheConfusedOne wrote:
Hi,
I know this method and This is working fine when I am using this upto Spring Layer (Main Method). But When I am using the same thing in trinidad (For view Layer). I am getting following error.
org.springframework.orm.hibernate3.HibernateQueryException: query must begin with SELECT or FROM: UPDATE [UPDATE com.persistence.Bean SET name = :name WHERE ID = :Id]; nested exception is org.hibernate.QueryException: query must begin with SELECT or FROM: UPDATE [UPDATE com.persistence.Bean SET name = :name WHERE ID = :Id]
The method I mentioned in my first post is working fine for that. But by using same method I am having that issue.
Can you resolve that issue ?
Thanks,
Gopal