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
-
Hey , why always when i want to update my Ipad to ios 6.1.3 at the end tills me that the update was failed , its always ,please if you can help me, and thank you.
Try disabling your firewall and antivirus software and see if that helps - if you are trying to update using iTunes on your computer.
-
how to reinstall ios 7 because in the setting it did not take my number and i can not know my credit please if you can help
you forgot your credit card info? trying to reinstall it wont fix this ( which you cant do anyway,although you can restore it to an earlier setting)
-
I have two apple tvs but my ipodtouch & ipad is only picking one up Help !!!
Did you try here:
Troubleshooting AirPlay and AirPlay Mirroring
Did you also try turning off the one ATV that the devices do see?
Both ATVs have different names, right?
Did they both show up before? -
Please if you can help i would love the advise on how recover
i lost my iTouch 4th gen 64g and have no idea what my serial number what do i do?
See:
iPod: How to find the serial number
iPod touch Serial number help?: Apple Support Communities
The SN will only help identify your iPod if it is recovered.
- If you previously turned on FIndMyiPhone and wif is on and connect go to iCloud: Find My iPhone, sign in and. If the iPod has been restored it will never show up.
- Change the passwords for all accounts used on the iPod and report to police
- Apple will do nothing
Reporting a lost or stolen Apple product -
Please, if you can help me
Dear Sir,
I have file sprot.dat, each set of rows separated by // , when i use
DataInputStream in = new DataInputStream(new FileInputStream("test.dat"));
while ((in.readLine()) != null) System.out.println(in.readLine() );
the result is not as i expected , cause the first line of each block what not return,
when i use ...
while ((c = in.read()) != -1) System.out.print((char)c);
he show the correct result
but when i want to convert it to String by
String.valueOf((char)c)
he give me a true string but the length is 0,
the file is so big 700 MB, i can't change the contents, and i want to return each line as string to parse it, and then import it into MySql database tables;
thanks very much
A. J.while ((in.readLine()) != null)You're reading a line, and if it's not null.....
System.out.println(in.readLine() );...then you're reading another line and printing that one.
String line;
while ((line = in.readLine()) != null) {
System.out.println(line); -
i have a problem with my MacBook Pro is the almost of my app not working at all like a app store and terminal and other important apps please if u can help me as fast as you can cuz i don't wanna format it that's why am on Mac now not win ?
Abdussalam.A,
you mentioned that Terminal does not work at all for your MacBook Pro. What currently happens when you run Terminal? In what way does it not work? -
Message impossible to determine the location .Please you can help?
suddenly in my iPad wifi, shows the message impossible to determine the location . please you can help! Grazie ciao
Wifi-only iPads rely on getting thier position from the router that they are connected to being in Apple's database. If you used to be able to get your location on the iPad then are you now using a new router ?
-
Apple care i want your help . i got a new that someone stock of iphone5s about battery problem . My ip5s is decrese batterry so fast . Can you help me please? you can check to IME ? plz
Apple representatives don't respond to anyone in this forum. It's just user-to-user. Go here to check support options (going to Apple store, calling Apple support, etc.): https://getsupport.apple.com/ProductSelector.action
-
I am no longer receiving my mail. All my settings are the same and I can send mail. The connection doctor says I am connected, but I am no longer receiving anything. If you can help, I would appreciate it. Keep it simple, please.
-
Hi am trying to open an Apple ID but it ask me to verify which is not working for me as am new to apple product please so if you can help me out please
Apple ID security issues -
Call Apple Care for your country and ask for the Account Security Team. They can assist you with your issue.
http://support.apple.com/kb/HT5699 -
Hi,
I'm looking for a online private tutor for teaching me Adobe Premiere Elements 8 through remote cessions and Skype.
Willing to pay a good price for good tuition!
Please contact me asap if you can help.
Thanks,
J SussholzJacqui,
I stongly believe that Steve has given you the best advice. Actually, it's the same advice that I would have given you, if I had seen your post first!
I can verify that his books will give you more info, and in a more usable form, than tutoring, or even in-class, hands-on schooling will. Almost anything that can be done with the program (he also has a companion book for Photoshop Elements, which is often bundled with PrE) is covered in easy to understand detail.
After reading through, and working along, his second bit of advice, Muvipix, is also sound. Between this, and Muvipix fora (Community tab), there have been very few questions that could not be answered. Muvipix also is a great resource for additional articles on how things are done, plus tutorials.
I also recommend that one take an hour and read through both the FAQ and Tips & Tricks articles, found to the right of the PrE forum main page. I would read Steve's book first, so terms, etc. would be most clear.
There are two on-line training sites, that get great reviews: www.lynda.com and www.ltotaltraining.com. I have not subscribed to either, but have used the materials furnished from them with various Adobe programs. I also have several of the lynda.com books on various programs, and they are well-written. Now, they are NOT one-on-one tutoring, which is what you are looking for. They also probably do not cover PrElements, but that is just my guess. If they do, they would be another good source of training, though it's through tutorials, and not direct instruction.
This is just my 02¢'s worth of thought.
Good luck,
Hunt -
I just received a gift card from someone during these holidays, each time am trying ot redeem the code, I always found a message let me know that this card was not properly activated. How please you can help me about that ?
You don't go to the drop down "Actions" menu to reply to a post. You find the post to which you would like to reply and you hit the "Reply" button. You then type your message and then hit the "Add Reply" button to post your reply.
-
hello you can help me my ipod or itunes I do not have total spins music on the ipodand not all the photos I've just not very much since I have up loaded the latest version5.0 please help
First of all, you should always save you photos on computer like any other digital camera.
Backup on iCloud or iTunes only backup your Camera Roll. The other photos should be already on the computer.
Note: Photos are not saved in iTunes, it's only a conduit between your iPhone and your photo managing software on computer.
What computer do you have? -
Good evening, my name is Ludmila I have a problem. im buy second hand iphone 5 but I can not use the screen shows asking me apple id but I do not know this is my first iphone I do not know what the police thought it was stolen or lost but I you can help me. Someone told me we should stop function Find my iphone but how?? email does not even know the first lord. It cost me 400 euros but may not use iphone. someone laugh at me because I deceived. Please help me tell me his email talk to you should stop off iCloud or ID
Scuzati de engleza google translate
Maybe you are looking for
-
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!
-
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