If you have not yet done so, run PROTOCLASS
. Be sure to include all of the dictionary entries in the class.
If you have not yet done so, generate a Java projection for MVFILE.PERSON
Create a Java method named addPerson
that uses JDBC and not Java projections to insert a new row into MVFILE.PERSON
. Please note that the ItemId
field is required and its value must be unique. So, your SQL INSERT
must provide a unique value for this field.
© 1997-2019 InterSystems Corporation, Cambridge, MA