This figure illustrates the Connection Properties Tab in the persistence.xml Editor. Set the Transaction type to Resource Local. Use the Populate from connection link to provide the connection information: