OK, gotta try it later. Thanks for your help. On Apr 30, 3:38 pm, miga <[email protected]> wrote: > On Apr 30, 1:10 pm, Anton Shaykin <[email protected]> wrote:> If you > mean MyClassToBePersisted, then this way: > > MyClassToBePersisted newRecord = new MyClassToBePersisted(); > > As I read in previous threads the constructor of this class should not > > take any parameters. But, then I wonder, how its body should look > > like? > > Then apply the same technique to construct a Profile field inside the > constructor of this class, given that obviously you should have > already a profile instance variable declared.
--~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
