Home » Support » Forum » 'DROP TABLE' in ODB?

'DROP TABLE' in ODB?

#1

Let's say I no longer need some entity in my project and after deleting all the objects of this type in database I want to remove this type from schema. How can I do this? Is there something like SQL 'drop table' in ODB?

#2

This is currently not supported. As far as I understand the main effect of such drop operation would be on the list of classes in the Explorer. Is it correct?

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
#3

Yes.

#4

Any update on this? I also like to remove a class from the DB which is no longer needed. Is there a way to achieve this?

#5

I found a description that the DB Explorer should be capable to delete classes? But it seems not to work

http://www.objectdb.com/database/jdo/manual/chapter9#Editing_the_Database --> Class Management

There I also read that you can load new kind of compiled classes into the schema? But under the "File" Menu none such option is provided

#6

These features were included in ObjectDB 1.x Explorer but unfortunately are currently not supported in ObjectDB 2.x.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
#7

Can we ask to put such a feature on your roadmap that unused classes etc. can be removed from the DB?

#8

It will probably be included in a new Explorer, which is on our roadmap, but not for the next year.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login