Hi!

I implement applied classes over jOOQ generated. And I preffer to use code 
like this one:

public classe Player {
     PlayersRecord m_data;
     private Player() {}
     public static load(/*some params*/) {
          DSLContext create = ...;
          Player player = new Player();
          player.m_data = (PlayersRecord) 
create.select().from(...).fetchOne();
     }
     public void save() {
          m_data.store();
     }
}

That's I store jOOQ Record instanse in local variable for my class.
It means that this record is living during the whole lifecycle of an 
instanse of my applied class.
Is it normally to save this data as described above? Just calling 
m_data.store(). Ar maybe I must to create new connection, attach my data to 
it and then call m_data.store?

What is the right way to save data deffered?

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to