I try to serialize my game room object with all cards, scores and so on, to rebuild situation in which bugs occurs.
I get a NotSerializableException, because some attributes have the type DataRow.
How can I serialize them?
Is it a good solution to write a new class like this:
Code: Select all
package poker;
import java.io.Serializable;
import it.gotoandplay.smartfoxserver.db.DataRow;
public class DataRowSerializer extends DataRow implements Serializable
{
}