Here's my schema dtd definition at the top of my
schema xml.
<!DOCTYPE app-data SYSTEM
"http://jakarta.apache.org/turbine/dtd/database.dtd";>

And I get the addDetails() and getDetailss() in my
BaseRequest file. I confirm that.
I forgot to tell you that I have set up the idMethod
for the REQUEST table to "none"(although the
autoIncrement of the ID is set to "true") and it's my
mistake, sorry. But I did it because when I set the
idMethod to "autoincrement" when I save the Request a
new row is inserted properly into the table REQUEST
but I get a NullPointerException and no insert is done
to the Details table. When I set the idMethod to
"done" two inserts are done but I said previously 
with NULL foreign key(DETAILS -> REQUEST).

> From: "Hristo Kosev" <[EMAIL PROTECTED]>
> > yes. my schema is set up correctly. the idMethod
> is
> > set to "autoIncrement"... btw do you use the
> IDBroker
> > instead of autoIncrement? because i really get
> NULL
> > values for these IDs. may be I'm using an old
> version
> > of turbine/torque but... It's 2.1 (the one that
> comes
> > with TDK 2.1)
> > Scott
> > 
> > Hristo Kosev
> > 
> 
> I'm using standard tdk 2.1 with idMethod set to
> "autoincrement".
> 
> Can you confirm that the DOCTYPE definition at the
> top if your 
> schema file is not commented out and that the xml
> validates against 
> the dtd.
> 
> Also, can you verify that you are getting the
> addDetails() and 
> getDetailss() methods generated in BaseRequest.
> 
> Scott

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

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

Reply via email to