M
mark
Let's say I have one object
class Cat{
private String name;
private int year;
}
and another
class Dog{
private BigDecimal cost;
}
and one time i sent Cat object as param to some persist function, and the
other time it is Dog, and i want to save it in the same table ? how can i do
that ?
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4482 (20091005) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
class Cat{
private String name;
private int year;
}
and another
class Dog{
private BigDecimal cost;
}
and one time i sent Cat object as param to some persist function, and the
other time it is Dog, and i want to save it in the same table ? how can i do
that ?
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4482 (20091005) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com