Ramses

Caracas, Venezuela

Age: 34

I'm a Software engineer from Venezuela. with experience in languages like Java, PHP, Ruby, Javascript and C# .NET. Love open source, but firm believer of "right tool for the right job". Currently working on a research project involving Semantic Web and SPARQL endpoints

Apr
18
asked How to add a non-gmail account to my google calendar?
Feb
6
comment Rails ActiveRecord - how to fetch records between two dates
This should be the accepted answer, as it uses proper activer record syntax
Jan
19
revised How to query objects through a Pointer using REST API?
added 20 characters in body
Jan
19
answered How to query objects through a Pointer using REST API?
Jan
18
asked How to query objects through a Pointer using REST API?
Jan
6
accepted How to get the Bullseye achievement?
Nov
25
revised exchange data between Internet Web app (j2ee app) and Android mobile application
fixed some typos
Nov
25
awarded Editor
Nov
5
awarded Civic Duty
Oct
31
awarded Scholar
Oct
31
accepted Is there a way to replay the tutorial in Plants vs Zombies 2?
Oct
31
asked Is there a way to replay the tutorial in Plants vs Zombies 2?
Oct
2
asked HIbernate XML Mapping: Composite Key with autoincrement
Oct
2
comment org.hibernate.NonUniqueObjectException when saving a list of child objects
Now that you point this out, seems obvious, thanks. The problem is that the field idPlayers is an autoincrement field, part of the composite key of SubDisciplinePlayers. How can I modify the mapping to reflect this?
Oct
1
accepted org.hibernate.NonUniqueObjectException when saving a list of child objects
Oct
1
awarded Student
Oct
1
asked How to get the Bullseye achievement?
Oct
1
awarded Autobiographer
Oct
1
asked org.hibernate.NonUniqueObjectException when saving a list of child objects
Sep
30
comment Hibernate Error: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session
In my case there are many objects with the same identifier 0, because they are new and don't have one. The db generates them. Somewhere I have read that 0 signals Id not set. The intuitive way to persist them is iterating over them and saying hibernate to save the objects. I need to do exactly this. Could you tell me which is the "hibernate way" to do this?
1 2 3 4