John Thorhauer wrote:
> 
> I am using turbine with postgres and I need to use the scheduler
> service.  However the jobentry table uses "OID" as the column name for
> the primary key.  "OID" is reserved in portgres. So I am wondering if
> the column can be changed to "ID" or something that will not cause a
> problem with postgres?
> 
> The  JobEntryPeer would also have to be changed from:
>     public static final String OID_COLUMN = "OID";
> to
>     public static final String OID_COLUMN = "ID";

If OID is a reserved word in Postgres, +1 on changing.  I would suggest
choosing a more descriptive name than the very common "ID".  "JOB_ID" or
"JOB_ENTRY_ID", perhaps?  :)
-- 

Daniel Rall <[EMAIL PROTECTED]>


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to