Hi,
I'm using Oracle7.3. But anywhere why should this behaviour been caused by the
database?
The DD:
EntityDescriptor {
BeanHomeName = "ISomePersistentNodeHome";
EnterpriseBeanClassName =
some.implementations.persistence.SomePersistentNodeBean;
HomeInterfaceClassName =
some.interfaces.persistence.ISomePersistentNodeHome;
RemoteInterfaceClassName =
some.interfaces.persistence.ISomePersistentNodeRemote;
PrimaryKeyClassName = some.implementations.persistence.SomePrimaryKey;
ControlDescriptors = {
{ TransactionAttribute = TX_REQUIRED;};
};
EnvironmentProperties = "ISomePersistentNodeRemote.properties";
ContainerManagedFields = {
fID; fName; fBinary;
};
}
The bean method:
public void addChildToParent( ISomePersistentRemote possibleChild,
ISomePersistentNodeRemote parent ) throws RemoteException
{
checkForBadAddition(possibleChild, parent); <- this one does only
some checks but does not change anything nor throws any exception
parent.addChild(possibleChild); <- this one does
some changes on another bean
setParent( parent ); <- this
one chnages an attribut of this bean
parent().publish(); // parent changed <- this one again does some
changes on another bean
}
Bye Sven