Hello all. I have made a wrapper for Castor but when I preform a load I am faced with the following dilemma. A new instance of my Object is created when I do load(), I realize that this would not be a problem in C++ because I could pass by reference...but in Java I really do not know how to go about this. Something like Cloneable would be nice but it is private... Here is my code:
CastorWrapper castorWrapper = new CastorWrapper(); //set required parameters c=castorWrapper.doLoad(db1,pk,c);
public class CastorWrapper { public Cable doLoad(Database db, Object pk, Cable genObj) }
All suggestions would be greatly appreciated....
Regards, Manuel
|
- [castor-user] Instance problems Manuel Castrillon
- Re: [castor-user] Instance problems Ralf Joachim
- [castor-user] Timestamp ClassCast problems with... Sreenath Nampally
- Re: [castor-user] Timestamp ClassCast probl... Ralf Joachim
- Re: [castor-user] Instance problems Manuel Castrillon
- Re: [castor-user] Instance problems Ralf Joachim

