Jeff Vroom wrote:

 > 4) If you turn on debug logging in the server for
 > the “Endpoint.*” logging category, you’ll see the
 > object graph which is sent to the client after
 > your fill. I am curious if the time is being
 > spent loading the data from the database or
 > sending data to the client, or a combination of
 > both.

Okay, I've figured out how to do this part. Results here:

http://www.brightworks.com/technology/tech_questions/hibernate_lazy_associations/debug_log_01.txt


 > If you can also turn on debug logging of the SQL
 > that hibernate is using that would help figure out
 > if we are just fetching too many objects or what.

It looks as though I do this by adding a line to HibernateManager.java...


public void createSessionFactory(Configuration hibernateConfig,
boolean useTransactions) throws ExceptionInInitializerError
{
try
{

New Line -> hibernateConfig.setProperty("hibernate.show_sql", "true")

sessionFactory = hibernateConfig.buildSessionFactory();


Yes?






BTW, in case someone finds this someday with Google, here are some 
resources:


FDS Logging:

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001112.html

http://weblogs.macromedia.com/dharfleet/archives/2006/08/debugging_flex.cfm

http://tech.groups.yahoo.com/group/flexcoders/message/56192


Hibernate Logging:

http://www.javalobby.org/java/forums/t44119.html










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to