I have a class which is part of another class as an attribute of it. I would like to store its values using weblogic 7 app server through ejb. I would like to use it as a cmp bean. In this case how can i specify my cmp-rdbms-file for this class. which is similar to SCO in JDO.

class A {

int aid;
int aname;

}

class MyClass {
int myId;
A a;
}

now i need to persist the objects of MyClass.