ObjectDB ObjectDB

Duplicate a table

#1

Hello,

I would like to know if it's possible to copy the content of a table representing one class of object to another table whithout having to use java object (no object instantiation) ?

In fact, I would like to execute a native query like "select * into T0 from T1"

My purpose is to backup a table before erasing the content.

Thanks.

edit
delete
#2

You will have to write code for this purpose. Use enhanced classes to get best performance in reading and writing the objects. The impact of object instantiation on performance should be minor.

ObjectDB Support
edit
delete

Reply

To post on this website please sign in.