| Recent Entries |
|
02. Jul 2009
|
|||
|
01. Jul 2009
|
|||
|
29. Jun 2009
|
|||
|
24. Jun 2009
|
|||
|
23. Jun 2009
|
|||
|
12. Jun 2009
|
|||
|
11. Jun 2009
|
|||
|
09. Jun 2009
|
|||
|
08. Jun 2009
|
|||
|
05. Jun 2009
|
|||
|
04. Jun 2009
|
|||
|
01. Jun 2009
|
|||
|
31. May 2009
|
Entries Added
Tags
| Seam | (88) |
| Seam News | (78) |
| Web Beans | (47) |
| JBoss Tools | (41) |
| Eclipse | (32) |
| JBoss Tools Eclipse | (31) |
| RichFaces | (30) |
| Contexts and Dependency Injection | (12) |
| Bean Validation | (11) |
| JavaServer Faces | (11) |
| Seam Wiki | (8) |
| Interoperability | (7) |
| Hibernate Search | (5) |
| JPA | (5) |
| Web Beans Sneak Peek | (5) |
My 2c on annotation overriding.
23. Jul 2004, 21:40 CET, by Gavin King
Cedric and Bill have proposed solutions. My preference is basically similar to Bill's, but here's how I would write it:
<class name="org.hibernate.Item">
@Entity
@Table(name="AUCTION_ITEM")
<method sig="getBar()">@Transient</method>
<method sig="doSomething(int, String)">
@Tx(REQUIRES_NEW)
</method>
</class>
I like this, because the same approach can be used outside of the context of J2EE. I /really/ wish something like this would have been included in JSR-175.