You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Jeffery Painter <pa...@kiasoft.com> on 2003/04/16 19:33:23 UTC

Re: old question about retrieving PrimaryKey from new object [SOLUTION]

alright... I got so used to not running ant init I had forgotten to hit 
my id-table... so it looks like when developing using the following 
targets

 ant project-om 
 ant project-sql

you should also hit the target

 ant project-id-table-init-sql

to update the idbroker entries in id_table if you create
new tables in your project.

arg... I should have looked for this sooner ;)


Thanks for the help!

Jeff Painter
painter@kiasoft.com



On Wed, 16 Apr 2003, Jeffery Painter wrote:

> 
> hmm... I added this additional table later in my project than the original 
> elements and it looks like there is no entry in ID_TABLE for the ADDRESS 
> table.
> 
> maybe I need to regenerate my sql targets :)
> 
> thanks for the pointer... I'll post the exact solution when I get it.
> 
> 
> Jeff Painter
> painter@kiasoft.com
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: old question about retrieving PrimaryKey from new object [SOLUTION]

Posted by Michael Mainguy <ma...@mich.com>.
That's pretty funny, because I've been creating tables left and right
and I have constantly remind myself to make sure the id_table values get
generated.  The way it's set up in the init target something gets
screwed up and none of my idtable rows get properly generated.  I've
been manually running the generated sql script, I didn't realize there
was an ant target that would do it... Good information!


On Wed, 2003-04-16 at 13:33, Jeffery Painter wrote:
> alright... I got so used to not running ant init I had forgotten to hit 
> my id-table... so it looks like when developing using the following 
> targets
> 
>  ant project-om 
>  ant project-sql
> 
> you should also hit the target
> 
>  ant project-id-table-init-sql
> 
> to update the idbroker entries in id_table if you create
> new tables in your project.
> 
> arg... I should have looked for this sooner ;)
> 
> 
> Thanks for the help!
> 
> Jeff Painter
> painter@kiasoft.com
> 
> 
> 
> On Wed, 16 Apr 2003, Jeffery Painter wrote:
> 
> > 
> > hmm... I added this additional table later in my project than the original 
> > elements and it looks like there is no entry in ID_TABLE for the ADDRESS 
> > table.
> > 
> > maybe I need to regenerate my sql targets :)
> > 
> > thanks for the pointer... I'll post the exact solution when I get it.
> > 
> > 
> > Jeff Painter
> > painter@kiasoft.com
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 
-- 
Michael Mainguy
(248)935-8507
mainguym@mich.com



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org