0 Replies Latest reply on Jun 29, 2006 7:08 AM by bobsmith

    How does JBoss use the jdbc-type value in jbosscmp-jdbc.xml?

    bobsmith

      Hello,

      If I have a CMP field that has a jdbc-type tag specified, then does JBoss use that to determine which getter method (getString, getInt etc) to call on the ResultSet?

      And if the jdbc-type tag is not present for the cmp field, does it use the return type of the getter method in the entity bean to determine which getter method to call on the ResultSet?

      If so, does it look up the Java type in the standardjbosscmp-jdbc.xml to get the JDBC type and use that to drive which getter method to call on the ResultSet?

      Many Thanks,
      Bob