Community
Participate
Working Groups
I have tried both a DB2 9 and Derby database with the same results: the Preview in the 'Record from SQL Database' is empty (you should see X number of record definitions) after selecting a table(s) in the previous page of the wizard. If you press Finish, you end up with a single generic record: record MyRecords itemName string; end So, net-net: the wizard to create entity records from a SQL database table/view is broken. I am using 0.8.0.v201202022101
Changed EGLSourceGenerator, DataToolsObjectsToEglSource, and RecordFromSqlDatabaseWizard to use the new generation contribution framework.
The preview page is now correctly showing my Entity records, but when I click Finish, this is what gets added to the file: record CommonRecords itemName string; end I am using 0.8.0.v201202102101
Justin, The latest issue seems to be related to the changes you made for JNDI in BindingSQLDatabaseConfiguration::executeAddBinding. In this particular test case I am using Derby, and the 'uri' field is NULL. There is a block of code in this method that says, "if (useUri()) {", but JNDI code was added above this that says, "if (!getUri().startsWith("jndi://")) {". This is causing an NPE to be thrown, so the wizard defaults to the standard record template.
Fixed BindingSQLDatabaseConfiguration.java
Verified in 2/20 nightly build.