0 Replies Latest reply on Oct 23, 2008 1:34 PM by nimo22

    s:convertEntity versus primitiveTypes..performance?

    nimo22

      I use very often the s:convertEntity-Tag.


      So I want to ask, what is better (performance and the like...):


      Having a list like


      List<Entity> myEntities



      and put these objects into my database


      OR


      Having a list like


      List<String> myID



      and call these IDs via database-transactions (select id from..).


      I mean, whe should avoid to use database-transaction where possible.


      With s:convertEntity, we can avoid it,
      is that really better when for example dealing with much entities in a HashMap??