cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Garulli <l.garu...@gmail.com>
Subject Re: how does one use JDO to run ALTER TABLE sql command?
Date Mon, 11 Oct 2004 13:30:28 GMT
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
<pjoseph_98@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 <joerg.heinicke@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


Mime
View raw message