Title: RE: [castor-dev] many-key

Hi Bruce,

Although my example wasn't quite like that of the example, I have now changed it so that it is. The result is:
+-------------+----+
| containerId | id |
+-------------+----+
|        NULL |  2 |
|        NULL |  3 |
|        NULL |  4 |
|        NULL |  5 |
|        NULL |  6 |
|        NULL |  7 |
|        NULL |  8 |
|        NULL | 10 |
|        NULL | 11 |
|        NULL | 12 |
+-------------+----+
10 rows in set (0.00 sec)

When using MySQL with the identity key generator, or the MAX key generator.

The example did not use a key generator - does anyone know a way around this?

Cheers,
Brett

---Original Message---

This one time, at band camp, Brett Porter said:

BP>Does anyone have "depends" for a collection of items, with the many-key
BP>working in Castor 0.9.3?

Brett,

I don't know of anything that has changed that would affect this
type of situation. There is an example of exactly this situation
in the JDO examples. See src/examples/jdo/mapping.xml.

Bruce
--

Reply via email to