Open GoogleCodeExporter opened 8 years ago
I have same exception, but my POJO is mapped a bit different:
@Entity
@Table(name = "extrato_lancamento")
@EntitySetup(findAllQuery = "select e from ExtratoLancamento e order by e.data,
e.id", findByIdQuery = "select e from ExtratoLancamento e where e.id=:id",
idFieldName = "id")
public class ExtratoLancamento {
@Id
@GeneratedValue
private Integer id;
@EntitySetup is my program's annotation, so I think this could be ignorated.
I think I solved this problem running this on sqlite file:
CREATE TABLE sequence (seq_name text, seq_count integer);
insert into sequence (seq_name, seq_count) values ('SEQ_GEN', 10000);
I put 10000 at second command because I'm working on a database with
preexisting data. I think on a empty database it could be 0, but I not tested
yet.
Original comment by rmoni...@gmail.com
on 25 Sep 2012 at 10:15
[deleted comment]
You managed to solve the problem of this Exception?
Because I'm having the same error here
Original comment by a12...@bcc.unifal-mg.edu.br
on 13 Jan 2014 at 11:19
Yes! Theres some time I did this, but I think that query I post can solve this
problem.
Original comment by rmoni...@gmail.com
on 14 Jan 2014 at 4:22
Original issue reported on code.google.com by
sp.titan
on 14 Jul 2012 at 9:04