如何在jboss的ejb-jar.xml文件中定义实体bean用到的方法呢?例如findbyId。
要不要写sql语句。哪位dx知道如何写?
例如:
<container-transaction>
<method>
<ejb-name>ProtonAccount</ejb-name>
<method-intf>Home</method-intf>
<method-name>findByID</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
我的sql怎么加?
谢谢!