From: Rutger V. <rut...@gm...> - 2010-01-07 16:08:49
|
> The plan, as Hilmar, you, and I decided at the beginning of the > conference call on Monday, is to re-direct postgres tables to use > hibernate_sequence, instead of their individual sequences, for new PK > IDs. (The other solution we discussed would be to change Java code > (or Hibernate XML mappings?) to use the tables' individual sequences > instead of hibernate_sequence.) Wait, I'm confused, is that the plan? I thought the plan was the other way around: we use the tables' individual sequences, which means we set the hibernate mode for generating IDs to "NATIVE" instead of "SEQUENCE". Am I the only one who understood this exactly the wrong way around? -- Dr. Rutger A. Vos School of Biological Sciences Philip Lyle Building, Level 4 University of Reading Reading RG6 6BX United Kingdom Tel: +44 (0) 118 378 7535 http://www.nexml.org http://rutgervos.blogspot.com |