You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Luca Garulli <l....@gmail.com> on 2004/10/11 15:30:28 UTC

Re: how does one use JDO to run ALTER TABLE sql command?

JDO API doesn't allow schema updating.

If you want to make it, you had to use a direct SQL command.

-- 
bye,
Luca Garulli
www.OrienTechnologies.com

On Sun, 19 Sep 2004 18:09:09 -0700 (PDT), Paul Joseph
<pj...@yahoo.com> wrote:
> hmm...interesting...Thank you for your reply.
> 
> We use JDO a lot in the application but we need the
> ability to alter tables also....it would have been
> nice if JDO could have done it!
> 
> thx
> Paul
> 
> 
> 
> 
> --- Joerg Heinicke <jo...@gmx.de> wrote:
> 
> > On 19.09.2004 04:30, Paul Joseph wrote:
> >
> > > My colleague and I are trying to use jdo to do an
> > > "alter table" command.
> >
> > JDO is an O2R mapper, not a SQL replacement. I would
> > not wonder if it
> > does not work at all. From the error message I guess
> > the query is not
> > pre-tested, but as it does not return a resultset,
> > it fails.
> >
> > There might be a super-duper JDO implementation,
> > that can change the
> > mappings dynamically (as it is needed in your case),
> > but I don't think
> > the reference implementation will do it.
> >
> > Joerg
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail:
> > users-help@cocoon.apache.org
> >
> >
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org