title: dbId="0" in jaxb XML Marshall for Entity's
body: <p>I have  Entity Beans A,B with annotation @Entity 
  When i try to marshall that Bean using JAXB Marshing I got an XML like structure </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;a:A xmlns:a="..........." xmlns:b="..........."&gt;
  &lt;a:B dbId="0" &gt;
  &lt;b:FirstName dbId="0"&gt;......&lt;/b:FirstName&gt;
  &lt;/a:B&gt;
  &lt;/a:A&gt;
  </code></pre>
  
  <p>I have used </p>
  
  <pre><code>@XmlRootElement(name = "A",namespace = "........")
  @XmlAccessorType(XmlAccessType.NONE) 
  @Entity
  public class A{
  @XmlElement(name = "B")
      private B name;
  ............
  ...............
  }
  
  @Entity
  @XmlRootElement(name = "B",namespace = "........")
  @XmlAccessorType(XmlAccessType.NONE) 
  public class B{
  .................
  }
  </code></pre>
  
  <ol>
  <li>Why an I getting standalone="yes"  during marshall and how to remove this ?</li>
  <li>Why am I getting dbId="0" and how can i remove it ?</li>
  <li><p>How can I add the class="x.y.z.A" like thing in my attributes like following :</p>
  
  <pre><code>&lt;a:B class="x.y.z.B" &gt;
  </code></pre></li>
  </ol>
  
  <p>I have a class which has only one variable of type "Float" , and i don't want to show the float in the xml .</p>
  
  <pre><code>@XmlRootElement(name="start")
  public class Start extends Timing{
  
      private Float mFloat;
  
      public Float getFloat() {
          return mFloat;
      }
  
      public void setFloat(Float f) {
          mFloat = f;
      }
  
  }
  </code></pre>
  
  <p>When i marshall it i get </p>
  
  <pre><code>&lt;a:start&gt;
              &lt;start:float&gt;8.329042&lt;/start:float&gt;
          &lt;/a:start&gt;
  </code></pre>
  
  <p>How can i show it without the "float tag" , like following ?</p>
  
  <pre><code>&lt;a:start&gt;8.329042&lt;a/start&gt;
  </code></pre>
  
  <p>For security reason I cannot provide my real classes .</p>