1 Reply Latest reply on Sep 10, 2001 11:03 AM by Colin Vella

    How do you map a data type in an entiy bean

    mark Newbie

      I'm trying to map the following variables in a entity bean to MS SQL SERVER DB. Do I have to use DOUBLE or can I use double. Either way it does not work. Only a String works. Please help. I included the ejb-jar.xml code snipet.

      public String productID; // PK
      public String name;
      public String description;
      public double basePrice;

      This is what I put into the ejb-xml.jar

      Models a music CD