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

2004-10-11 Thread Luca Garulli
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
<[EMAIL PROTECTED]> wrote:
> hmm...interesting...Thank you for your reply.
> 
> We use JDO a lot in the application but we need the
> ability to alter tables alsoit would have been
> nice if JDO could have done it!
> 
> thx
> Paul
> 
> 
> 
> 
> --- Joerg Heinicke <[EMAIL PROTECTED]> 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:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



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

2004-09-19 Thread Paul Joseph
Thank you for your reply.

I was not able to find an active non-proprietary JDO
list.  

If you know of any, I would be grateful if you could
let me know.

thx
Paul
--- Tony Collen <[EMAIL PROTECTED]> wrote:

> Paul Joseph wrote:
> > Hi,
> > 
> > My colleague and I are trying to use jdo to do an
> > "alter table" command.
> > 
> > There don't seem to be any examples showing how
> this
> > is done and we are having a bit of a tough time.
> > 
> 
> This isn't the list for it. Best to ask on the JDO
> lists.
> 
> Regards,
> 
> Tony
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


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



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

2004-09-19 Thread Paul Joseph
hmm...interesting...Thank you for your reply.

We use JDO a lot in the application but we need the
ability to alter tables alsoit would have been
nice if JDO could have done it!

thx
Paul


--- Joerg Heinicke <[EMAIL PROTECTED]> 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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


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



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

2004-09-19 Thread Joerg Heinicke
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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

2004-09-18 Thread Tony Collen
Paul Joseph wrote:
Hi,
My colleague and I are trying to use jdo to do an
"alter table" command.
There don't seem to be any examples showing how this
is done and we are having a bit of a tough time.
This isn't the list for it. Best to ask on the JDO lists.
Regards,
Tony
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]