LONGBLOB is not complete
Posted by: Sławomir Małolepszy
Date: January 10, 2007 07:45AM

Hello,

I use .NET Connector. I want to send to database long string (it's xml file). In database I have a table with column which type is LONGBLOB. I use MySqlCommand and when I debug the application in MySqlParameter I have all text, which I want to send to database. Everything is successful, but in database after ExecuteNonQuery the text, which is in database isn't complete, it's broken in the middle and it's place isn't permament.

My code:

MySqlCommand cmd = new MySqlCommand(sql, tr.Connection, tr);

cmd.Parameters.Add("?pUPRAWNIENIA", MySqlDbType.LongBlob);
cmd.Parameters["?pUPRAWNIENIA"].Value = this.GrupaUprawnienia;
cmd.ExecuteNonQuery();


Do you know what's wrong?

Thanks for answers

Options: ReplyQuote


Subject
Written By
Posted
LONGBLOB is not complete
January 10, 2007 07:45AM
January 11, 2007 02:30AM


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.