Hi All, While using H2 with JPA + Hibernate I encountered a "user lacks privilege or object not found: SWEEPS" error. I had initially thought that the issue was caused by a new ManyToOne relationship that I was defining and that since I had a collection called sweeps which referred to elements in a sweeps table, and the error was being thrown on a line where I was calling getSweeps. I was very confused since *Oracle DB and Postgres both handled my configuration fine*. So after spending half a day on Thursday, all day Friday and some of this morning googling the error as it pertained to @OneToMany (and getting a number of results and suggestions), it turned out that I had a field called "count" in my Sweep object (and hence table) that was causing it to break, but only for H2. ... ... ... /facepalm
Thanks, Simon. <3 -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
