[jboss-user] [JBoss Eclipse IDE (users)] - Automatic Bytecode Instrumentation?

supernovasoftware.com do-not-reply at jboss.com
Wed Sep 6 15:39:29 EDT 2006


I am using the following to instrument my classes


  | <taskdef name="instrument" 
  |              classname="org.hibernate.tool.instrument.InstrumentTask">
  |   <classpath refid="classpath.lib"/>
  | </taskdef>
  | 

I need this so I can use 

 
  |     private Double pipeFtCompleted;
  |     @Basic(fetch = FetchType.LAZY)
  |     @Formula(value="(select v.sumft from v_state_pipe_completed v where v.id=id)") 
  |     public Double getPipeFtCompleted() { return pipeFtCompleted; }
  |     public void setPipeFtCompleted(Double pipeFtCompleted) { this.pipeFtCompleted = pipeFtCompleted;}
  | 

I started adding a lot of formulas to my data model to simplify complex queries.  This worked well until my application took a serious performance hit.

I like the way that eclipse automically compiles my classes as I edit them.  Can JBossIDE be set up to automatically instrument them as well without using the ant script?


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

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



More information about the jboss-user mailing list