Hibernate Connection Call Count -


i read somewhere commit=flush+commit.

i know when call session.flush() our statements execute in database not committed.

suppose don't call flush() method on session object , if call commit method....it internally work of executing statements on database , committing.

commit=flush+commit (in case of functionality)

i curious how many network connection create.

i curious how many network connection create.

typically 1 interested in number of sql calls being made database. relates identifying performance issues/bottlenecks. information dependent on specific domain model , amount of data being queried/modified.

all these calls executed through single sql connection database. there single network connection per commit (unless working distributed transaction rare scenario).


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -