Is it possible to embed some business logic within hibernate mapping files? Is 
this a good approach/scalable?

For example, lets say that I want to persist and map the following class in 
hibernate:


  | public class Device {
  |    private String id;
  | 
  |    public Device(String id) {
  |       this.id = id+"foo";
  |    }
  |    ...getID, setID...
  | }
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118028
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to