Hi,
Tell us more !
Exception ?
Repository config ?
Is your DB column auto increment ?

No problems using HighLowSequence.
Simply declare ID column as primary key (not auto increment by DB), OJB automaticaly 
allow the value.

Regards.

  ----- Original Message ----- 
  From: shibin ck 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, September 18, 2003 4:43 PM
  Subject: Identity Columns


  Hi,
         I have a class with primary key as Identity column. Whenever i try to store 
an object of this class to database, ojb is throwing exception. I have tried it with 
autoincrement="true" also. Im using DB2 with j2ee, and i dont know which sequence 
manager to use. 
   
  Thanks in advance
  shibin


  ---------------------------------
  Do you Yahoo!?
  Yahoo! SiteBuilder - Free, easy-to-use web site design software


  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.519 / Virus Database: 317 - Release Date: 17/09/2003

Reply via email to