|
I'm refactoring some code, converting a number of related updates into a single transaction.
This is using JDBC, MySQL, InnoDB.
I believe there is an unwanted COMMIT still happening somewhere in the (rather large and undocumented) library or application...
Started by Alex R on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Also, since you're using JDBC, make sure autocommit is false, as in
connection.setAutoCommit(false);
I am not an expert with mysql, but there should be a possibility ... .
Check out this page in the MySQL docs for statements that cause an implicit commit .
|
|
I have a website built on an old pigg version (from 2006). The site is hosted on dreamhost shared server. This morning I found that the main database of my site was completely erased.
How can I confirm whether it was a hacker or something else has caused...
Started by Niro on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at serverfault):
Also, to mitigate the damage caused if it does happen again, you need to prevent that exact same thing happening....
It happening again (or at least minimising the risk as much as possible) you need to ensure to be publicly available.
|
|
I'm experiencing an issue with ActiveMQ and would like to trace/view all ActiveMQ activity. The only log file I can find is one associated with persistent data (if this is turned on). Are there any other log files I view or generate to tell me what's ...
Started by Dr Dork on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I find it excellent....
Http://activemq.apache.org/jmx.html
Has all the details to get you started.
This gives us access to consumer counts messages queued dequeue and all sorts of data on memory usage etc .
Activemq has a jmx interface that you can connect to .
|
Ask your Facebook Friends
|
One of our wcf service applications calls a seperate third party web service to submit information.
We are getting the following error every so often, but not all the time:
System.Net.WebException: The remote name could not be resolved: 'ws.examplesite...
Started by ansleygal on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
That will straight away tell you whether a DNS request is failing or whether the web service request is... .
The first thing I would do is get out WireShark or some other packet tracer and check excatly what is being sent when the web service request fails .
|
|
I just run into the weirdest thing I've ever encounter.
Consider this test page:
<html xmlns="http://www.w3.org/1999/xhtml" > <head> <title></title> <script language=javascript> function test(myParameter) { alert(myParameter...
Started by Juan Manuel Formoso on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
044024 oct to dec is 18452
Numbers prefixed with 0 are considered to be in octal (base 8)
When you write a number with 0 as its first digit, it's an octal number... .
Javascript is interpreting the symbol 044024 as an octal value because of the leading 0 .
|
|
I have a repeater control on an ASP.NET 2.0 web form.
As I understanding it, all of the page's data-bound controls fire their binding events somewhere in between the Page_Load and the Page_PreRender events.
However, my repeater's ItemDataBound event appears...
Started by Matias Nino on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Are you specifically binding your repeater (myRepeater.DataBind();) in your code behind file (for example... .
I think I had a similar situation, and my option was to FORCE the controls to bind themselves, by calling EnsureChildControls or some similar method .
|
|
I am really puzzled by this. I believe I am managing memory the correct way but executing the code suggests that I am double releasing the object. Here is the code and then I'll explain what is happening.
@protocol SomeDelegate <NSObject> @required...
Started by whoisnader on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
A crash in -release will often be misleading in that various optimizations -- tail... .
I could ask for more information, but I'm firmly in the teach a man to fish camp... .
As alluded to in the comments, the problem does not appear to be in the code posted .
|
|
Note: I am not sure whether this has been already asked, as I can't find any question fitting to my context(or I am unable to understand the existing questions' contexts')
I am loving Git these days. Especially, the topic branches. I am working on a small...
Started by Maddy on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I do see some.
No tree lines diverging and converging!
Well...
The chances were happening on the "master".
|
|
Arc, if you don't know, is Paul Graham 's "100 year language", or, more prosaically, new version of Lisp. It was heavily trailed on reddit (back when reddit was interesting), and an early version was released in January last year.
But nothing much seems...
Started by Tom Smith on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
I feel like you get better ideas if you.
Nor possibly the best way.
But that's not the only way languages happen.
|
|
While dabbling in Clojure I've written a very basic program to echo whatever the user types into it. However, it doesn't run in a way that I'm perceiving to be natural. Here's the code:
(defn goo [] (print "echo> ") (def resp (read-line)) (print resp...
Started by Chris Bunch on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Try:
(defn goo [] (print "echo> ") (flush ) (....
The println function probably flushes at the end of each line .
Figure out how to flush standard out after the print .
I know nothing of clojure but this sounds like a case of buffers not getting flushed .
|