Please, If you can help me in XML-DBMS

I just want to convert a big xml file to mysql database. every thing is customized well in xml-DBMS technique in JBuilder 2005.
this erorr mesage had came when I started to transfere into the database.
Transfer to DBMS Failure -
de.tudarmstadt.ito.xmldbms.KeyException: Can't call commit when autocommit=true
in mysql environment, I have wrote in my.ini file under [mysqld]
init_connect='SET AUTOCOMMIT=0'
I don't know if this error is related to the mysql or to java (/jbuilder). and what is the solution?
I would be gratefull to you for any help.

this is the class, the packages have already defined
import com.borland.jbuilder.xml.database.template.*;
import com.borland.jbuilder.xml.database.xmldbms.*;
import com.mysql.jdbc.Driver;
public class trans {
XMLDBMSTable xMLDBMSTable1 = new XMLDBMSTable();
public trans(){
try {
jbInit();
} catch (Exception ex) {
ex.printStackTrace();
public static void main (String arg[])
{trans t = new trans();
private void jbInit() throws Exception {
xMLDBMSTable1.setDriver("com.mysql.jdbc.Driver");
xMLDBMSTable1.setMapFileName("F:/textxml/files/uniprot.map");
xMLDBMSTable1.setMode(XMLDBMSData.XML_TO_DB);
xMLDBMSTable1.setPassword("bazallh");
xMLDBMSTable1.setUrl("jdbc:mysql://localhost/jbuilder");
xMLDBMSTable1.setUserName("root");
xMLDBMSTable1.setXmlFileName( "F:/JavaProject/files/xmlfiles/uniprot_sprot.xml");
xMLDBMSTable1.transfer();
}

Similar Messages

Maybe you are looking for

  • I have an Ipod Classic and An Ipad 2. I dont want to sync my itunes complete library to both. How do I stop his from Happening

    Hi I Loaded my whole music library into itunes on my PC. I then synced It to my ipod classic. All went well. Next day I wanted to add some songs to my ipad2 .When I plugged into my pc itunes started to transfer the whole music library to the ipad2. I

  • ATI HD2600 MacPro DVI problem with HP LP2275w monitors !!

    booting up from 10.5.1 all was OK... after updating OSX my 2 HP LP2275w monitors stay dark. it seems the DVI signal isnt present to switch ON the screens. after some freaking with input selection from the OSD of the HP LP2275w monitor image appears :

  • How to get HttpSession from sessionID

              Hi,           Can anyone tell me how to get HttpSession from a session ID?           There used to be a HttpSessionContext class able to get the HttpSession, but it           is depreciated.           Thanks in advance           

  • Neither aperture nor iPhoto will start after osx lion upgrade

    Anyone have any good ideas how to remedy this??? PLEASE? Off on a long trip through South-East Asia and really need to be able to get photos off my cameras...Thanks!

  • BDC question

    Hi, I have few doubts regarding BDC please help me.   1) What is Loacal update in Call Transaction ? (other than type S & A )   2) We allways use error session in call transaction method ? how to correct the session with error transactions? 3) what h