Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6318426

The @Table sample in JavaDoc isn't correct.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The sample code in javadoc didn't have the correct way of declare "create" method within BaseQuery.
      Should it look like "DataSet<Mammal> create();" ?


      Java Docs
      ==================

      Annotation Type Table

       public interface MyQueries {
           public DataSet = create();
           @Query("select name,kilos, description from Mammal") getMammalNames();
       }

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tacheung Tak Wing Cheung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: