BatchUpdateException « Batch « JPA Q&A





1. java.sql.BatchUpdateException: Batch entry 0 insert into bt.    forum.hibernate.org

Hi Raag Im having the same problem. I only have user postgres and I haven't run ALTER TABLE OWNER TO postgres Do i have to run that line? What do you mean by "There were other roles and groups to which I needed to grant access". Do i have to grant access to other roles and groups? In my Postgre ...

2. java.sql.BatchUpdateException: Batch entry 0    forum.hibernate.org

Hi, I have the following in my DAO implementation using Hibernate. My vehicleHistory is an object with two columns forming a composite primary key. Code: public void saveVehicleHistory(VehicleHistory vehicleHistory) { getHibernateTemplate().saveOrUpdate(vehicleHistory); getHibernateTemplate().flush(); } But I got this exception: Code: org.hibernate.exception.SQLGrammarException: ...