Re: [hibernate-dev] in.relation.to error when posting a new blog entry

2015-02-11 Thread Sanne Grinovero
Hi, sorry I forgot about this and I'm currently away so if someone could look at it that would be great. I suspect it's a broken foreign key on MySQL, hopefully the error message will have some details? Some table maintenance should do the trick. You'll have to ssh into in.relation.to and from ther

Re: [hibernate-dev] in.relation.to error when posting a new blog entry

2015-02-11 Thread Gail Badner
I ran into the same thing a couple of weeks ago when I deleted some spam comments before trying to create new weblog. I asked Sanne about this and he mentioned that he's seen this happen after deleting spam comments. He said it would require some clean up, but he didn't have time. Sanne, I know

Re: [hibernate-dev] Question about substituting IDs in Hibernate OGM

2015-02-11 Thread Haswell, Josiah D
Perfect. That worked—thanks for the help! I’ve made some pretty good progress—you can save entities and some associations, and retrieve some properties lazily. Unfortunately, I’m having a bit of trouble with getting access to all of the type information I need. In particular, say you have th

[hibernate-dev] in.relation.to error when posting a new blog entry

2015-02-11 Thread Davide D'Alto
Hi, I'm trying to create a new blog entry on in.relation.to but an exception occurs about the violation of an integrity constraint. Any idea on how to solve the issue? Thanks, Davide ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://l

Re: [hibernate-dev] Sequence Pool

2015-02-11 Thread Steve Ebersole
First, this is a list for discussing the development of the Hibernate projects, not for user/usage questions. As to your question... Yes 50 was an unfortunately choice as the default within the spec group. At the moment there is no global "ignore the specified increment value" setting, and even t

Re: [hibernate-dev] Question about substituting IDs in Hibernate OGM

2015-02-11 Thread Gunnar Morling
Hi Josiah, It's great to hear that you are working an a backend for Hibernate OGM! Regarding ids, it should work for you if they are mapped using the IDENTITY strategy: @Id @GeneratedValue(strategy=GenerationType.IDENTITY) Long id; This causes the Hibernate ORM engine to read back t