On Thu, 2003-11-27 at 16:04, Pedro Salazar wrote: > Greetings, > > The entity beans (CMP) have their persistence associated with a Data > Source existent in the Container. What is the relation between entity > beans instances and the connection pool's parameters, min and max? > > In programmatic or declarative way, if I request a connection from my > connection pool, if connections are available, I know it will affect the > pool by 1 connection (decreasing it!). > > So, how the number of the entity beans CMP affect the connection pool? > How the container by itself manages the connection pool's resources, and > what is the logic inside? >
Are you a teacher by any chance? Asking the same question in three different ways? The connection is actually associated with the transaction, at least in the default configurations. The first bean to access the datasource will perform the association, other beans accessed in the same transaction will use the same connection. The connection is returned to the pool after all changes have been flushed and the transaction committed. Regards, Adrian > thanks. > > regards, > Pedro Salazar. -- xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
