I integrated Elixir into z3c.sqlalchemy for defining models using entities. This works fine for now! z3c.sqlalchemy has an internal registery that maps names to either SA mappers or Elixir entities.
Within a Zope thread - each one having its own SA session - z3c.sqlalchemy need to rebind the entity to the current session. For this purpose I create a deepcopy() of the registered entity and bind the session to the entity copy. Is this safe (I could not find any issues so far) or is there a better way to reuse an entity within a threaded environment in concurrent sessions? Thanks,. Andreas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" group. 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/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
