You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "efrem mccrimon (JIRA)" <ji...@apache.org> on 2018/05/07 01:09:00 UTC

[jira] [Created] (NETBEANS-769) Data binding components to represent data from a database

efrem mccrimon created NETBEANS-769:
---------------------------------------

             Summary: Data binding components to represent data from a database
                 Key: NETBEANS-769
                 URL: https://issues.apache.org/jira/browse/NETBEANS-769
             Project: NetBeans
          Issue Type: Bug
          Components: guibuilder - Binding
    Affects Versions: 9.0
            Reporter: efrem mccrimon
             Fix For: 8.2


JTable data binding Test Case 

Steps:
Create new JFrame Form in project 
Insert JTable from the Pallete to the form
Switch from Projects to Services window
Select the Sample Database Connection node under 'Databases' (jdbc:derby... [app on APP) or any other database that a connection exist
If its is not connected, open its popup menu and select 'Connect'
Expand 'Tables' and select 'CUSTOMER' or 'table that you want to use'
Drag the 'CUSTOMER' table by mouse and drop it into the JTable in designer (small chain link should appear during the dragging)
Verify, that column names are changed (corresponding to db table). EntityManager, Query and List are created (can bee seen under 'Other Components' in Navigator)
Drag another table (e.g. 'PRODUCT') with holding the Ctrl key and drop it into the form
Result: Another db table is represented in the form. The form file can be run. It contains correct data.

The link icon does not show and the componentes are not created.  I had to verify this again, it works in NB 8.2.  This should have been flagged by me.  That is why I did testing on build 428.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists