Jason,

Thanks for your help, I think we are getting somewhere. But I still have one
little tiny problem. When we try to insert something in the database (the
table TURBINE_SCHEDULED_JOB) we get the the following exception

org.apache.torque.TorqueException: The table TURBINE_SCHEDULED_JOB does not
have a proper entry in the ID_TABLE
        at org.apache.torque.oid.IDBroker.selectRow(IDBroker.java:806)
        at org.apache.torque.oid.IDBroker.storeIDs(IDBroker.java:656)
        at org.apache.torque.oid.IDBroker.getNextIds(IDBroker.java:416)
        at
org.apache.torque.oid.IDBroker.getIdAsBigDecimal(IDBroker.java:325)
        at org.apache.torque.util.BasePeer.doInsert(BasePeer.java:787)
        at
com.siemens.square.ejb.workflow.scheduler.BaseJobEntryPeer.doInsert(BaseJobE
ntryPeer.java:184)
        at
com.siemens.square.ejb.workflow.scheduler.BaseJobEntryPeer.doInsert(BaseJobE
ntryPeer.java:462)
        at
com.siemens.square.ejb.workflow.scheduler.BaseJobEntry.save(BaseJobEntry.jav
a:567)
        at
com.siemens.square.ejb.workflow.scheduler.BaseJobEntry.save(BaseJobEntry.jav
a:532)
        at
com.siemens.square.ejb.workflow.scheduler.BaseJobEntry.save(BaseJobEntry.jav
a:515)
        at
com.siemens.square.ejb.workflow.scheduler.TestScheduler.main(TestScheduler.j
ava:36)

This seems that I have to add a row in the ID_TABLE that configures the key
generation.Is there a way to have this done automatically and if not what
values must I use for id_table_id, next_id, quantity


Thanks erik



-----Original Message-----
From: Jason van Zyl [mailto:[EMAIL PROTECTED]]
Sent: maandag 17 december 2001 16:46
To: Turbine Users List
Subject: Re: Job_id's


On 12/17/01 10:22 AM, "Kazandjian Erik" <[EMAIL PROTECTED]>
wrote:

> This is not what I'm looking for. Isn't there somewhere documentation

Fulcrum is not released, so you get what you get. You're free to add
documentation.

> that
> explains what properties I have to set if I want to use a fullcrum service
> standalone with an existing database.

What does that mean?

> How does torque knows that the table
> want the use idMethod="idBroker"

I assume that you have generated the peer classes using torque and when you
generate those classes you have a descriptor that torque uses and you
explicity state what idMethod you want to use.

 
> Erik, getting desperate


-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



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

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

Reply via email to