JHacks
[ start | index | login or register ]
topics > WTF > BEGIN TRANSACTION

BEGIN TRANSACTION

Created by suhaig. Last edited by suhaig, 3 years and 159 days ago. Viewed 368 times. #1
[edit] [rdf]
labels
attachments
Szükséges ehhez bármiféle megjegyzés?

public int beginTransaction() throws SpecificException
{
	try
	{
		if (DB_TYPE.equals(DBTYPE_SQLSERVER))
			executeUpdate("BEGIN TRANSACTION", null);
		else
			return 0;
	}
	catch (Exception ex)
	{
		throw new SpecificException(SpecificException.ERROR_IN_DBCONNECTION);

} }

no comments | post comment
snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt