Is it possible to implement dynamic attributes in EJB3? What I mean by "dynamic"
is that Session Bean may decide (and tell to Entity Bean), which attribute to get/set
(i.e. which database column to use for persisting the value).
@Entity
| public class MyEntityBean implements Serializable {
|
| // Maybe some annotations here
| public String getAttribute(String columnName) {
| // Implementation here
| }
|
| // Maybe some annotations here
| public void setAttribute(String columnName, String value) {
| // Implementation here
| }
|
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986427#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...