[jboss-user] [JBoss Seam] - Re: Seam + EJB3 performance

vladimir.kovalyuk do-not-reply at jboss.com
Tue Jan 30 06:55:27 EST 2007


Christian, I'm not guessing. Here is my persistence.xml:
<?xml version="1.0" encoding="UTF-8"?>
  | <persistence xmlns="...">
  |     <persistence-unit name="codename">
  |         <provider>org.hibernate.ejb.HibernatePersistence</provider>
  |         <jta-data-source>java:/codenameDatasource</jta-data-source>
  |         <properties>
  |             <property name="hibernate.hbm2ddl.auto" value="update"/>
  |             <property name="hibernate.show_sql" value="true"/>
  |             <property name="jboss.entity.manager.factory.jndi.name" value="java:/codenameEntityManagerFactory"/>
  |         </properties>
  |     </persistence-unit>
  | </persistence>
  | 
There is single SQL statement in the log that looks similar to "select fields from table where parent_id=? and (isTemplate=0)". Nothing special. Is it enough to figure out what SQL is generated?

As I wrote I'm going to analyze Facelets overhead. I'm intensively using source components. I think problem is in debug mode. In production mode it caches all the xhtmls.
I like Seam. I found "Step Filters" in Eclipse. I hope it will help me to cope with debugging inter-EJB calls.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008242#4008242

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008242



More information about the jboss-user mailing list