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

List to be treated as RDBMS table

XMLWordPrintable

      A DESCRIPTION OF THE REQUEST :
      I would like to suggest a new feature in which we can just query a List object as RDBMS table.
      So lets say we have a List object of employees - empList which has Employee objects. and Employee object is

      class Employee{
      private int id;
      private String name;
      private String dept
      }

      we should have utility to directly query this database as:
      select * from empList where name = 'Gaurav';

      JUSTIFICATION :
      This will ease developers for writing loop and unnecessary filter logic.


            smarks Stuart Marks
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: