Hello there,

since we use multiple primary keys instead of an autoincrement primary key we sometimes get a ClassNotPersistenceCapableException. The strange thing is that it only occurs sometimes and with different classes.
We use OJB 1.0.1.
This is one of the class descriptors:


<class-descriptor

class="de.softenergy.wis.dbadapter.rawdata.calculations.tcategories.Calc_t_day"
  table="calc_t_day"
>

  <field-descriptor
    name="w_id"
    column="w_id"
    jdbc-type="INTEGER"
        primarykey="true"
  />

  <field-descriptor
    name="lop_day"
    column="lop_day"
    jdbc-type="BIGINT"
        primarykey="true"
  />

  <field-descriptor
    name="t_klassen_id"
    column="t_klassen_id"
    jdbc-type="INTEGER"
        primarykey="true"
  />
  <field-descriptor
    name="nutzer_id"
    column="nutzer_id"
    jdbc-type="INTEGER"
  />
  <field-descriptor
    name="modification"
    column="modification"
    jdbc-type="BIGINT"
  />

  <field-descriptor
    name="term"
    column="term"
    jdbc-type="BIGINT"
  />
  <field-descriptor
    name="lop"
    column="lop"
    jdbc-type="INTEGER"
  />

</class-descriptor>

Thanks for help! :)

regards

Thomas


-- Mit freundlichen Gr��en

Thomas Franke

Gesch�ftsf�hrer
Leiter Entwicklung
----------------------------
the energy for a better world
----------------------------
softEnergy GmbH
Platz der Freundschaft 1
18059 Rostock
----------------------------
fon: +49 381 40 587 535
fax: +49 381 40 587 555
mobil: +49 1715222015

http://www.softenergy.de
mail: [EMAIL PROTECTED]
----------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to