OpenNTF.org - XPages Extension Library
XPages Extension LibraryOpenDocument[/Projects/pmt.nsf/ProjectView?ReadForm&Query=]

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: XPages Extension Library (Managed by Philippe Riand, Niklas Heidloff, Dave Delay, Akihiro Kosugi, Maire Kehoe, Tony McGuckin, John Piermarini, Martin Donnelly, James Quill, Darin Egan, Padraic Edwards, Andrejus Chaliapinas, Lorcan McDonald, Simon McLoughlin, Paul Hannan)
Actions:


Subject
 insert new row in empty rowset
Categories
 
Posted by
 Luis Gonzalez Garcia on 05/16/2012 at 03:55 PM
Details

Hi all,

I have a jdbcrowset with select that returns 0 rows (sql table is empty). How I do to create a new row in jdbcrowset? When I save, returns this error:

Error calling method 'getRow(number)' on java class 'com.ibm.xsp.extlib.jdbc.model.JdbcRowSetAccessor'
Cannot go to record #0

 

In jdbc nsf samples also returns this error if the sql table is empty (no records).

 

Thanks,

 

Luis

 

Modification history
Entered 16-May-2012 15:55 by Luis Gonzalez Garcia. Last Modified <none> by Niklas Heidloff.


Anonymous