Class XRay


  • @Entity
    public class XRay
    extends Object
    This class provides an example of embedding another object within a containing object being mapped to the database. In this case, XRay is assigned a primary key and mapped to the database. It has two local properties, but maker name, address, and phone are part of a Manufacturer class. This works much like the @EmbeddedId case, except the embedded class is just used for normal properties and not primary key values.
    • Constructor Detail

      • XRay

        public XRay()
      • XRay

        public XRay​(long id)