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

The @Table sample in JavaDoc isn't correct.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 6
    • core-libs
    • generic
    • generic

      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();
       }

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: