You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by Avinash Dongre <ad...@gopivotal.com> on 2013/11/21 11:31:48 UTC
Alter Table, add constrains, index creation
Hi ,
I was trying out JDBC with our propriately database. I want to know is
there a plan to provide support for alter table, add constrains , index
creation ....
Thanks
Avinash
Re: Alter Table, add constrains, index creation
Posted by Kasper Sørensen <i....@gmail.com>.
Hi Avinash,
If someone in the community would like to drive the development, I would be
happy to see support for e.g. ALTER TABLE like statements.
On the other hand I think that constraints and index stuff is too tightly
oriented towards relational databases. Such statements does not make sense
in most other contexts that MetaModel supports. We could of course add some
methods specifically to the JdbcDataContext, but I am not sure I would see
the point, since you can then also just access the JDBC API directly for
that.
But maybe to enlighten us, how would your preferred API for doing these
things look like? Why are you not just using JDBC for it?
Kind regards,
Kasper
2013/11/21 Avinash Dongre <ad...@gopivotal.com>
> Hi ,
> I was trying out JDBC with our propriately database. I want to know is
> there a plan to provide support for alter table, add constrains , index
> creation ....
>
>
> Thanks
> Avinash
>