how to tanslate this Cloudscape-specific database operation into a mysql operation
Posted by: jing chen
Date: May 05, 2005 11:10PM

I am working on a project to make a simple addressbook,and I have an example which is implimented by using Clouscape(the database),and I use Java for the programming langguage,anybody can help me tranlate this into mysql descripssion:

// reference to prepared statement for determining personID
private PreparedStatement sqlPersonID;

// Obtain personID for last person inserted in database.
// [This is a Cloudscape-specific database operation.]
sqlPersonID = connection.prepareStatement(
"VALUES ConnectionInfo.lastAutoincrementValue( " +
"'APP', 'NAMES', 'PERSONID')" );


the Table I want to changed is NAMES
NAMES:
PERSONID --not null,auto increment ,key
Firstname varchar;
lastname varchar;

Options: ReplyQuote


Subject
Written By
Posted
how to tanslate this Cloudscape-specific database operation into a mysql operation
May 05, 2005 11:10PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.