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?
On Apr 30, 3:02 pm, miga <[email protected]> wrote: > On Apr 30, 12:54 pm, Anton Shaykin <[email protected]> wrote:> Sorry, > I'm just really confused... What should I put into the > > constructor of MyClassToBePersisted? > > How do you create an instance of a class? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
