Mark updating queries as such.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1826 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -245,7 +245,7 @@ public class JDBCTableSiteIdentifier implements SiteIdentifier
|
||||
public void insertNewSite (final Site site)
|
||||
throws PersistenceException
|
||||
{
|
||||
execute(new Operation<Object>() {
|
||||
executeUpdate(new Operation<Object>() {
|
||||
public Object invoke (Connection conn, DatabaseLiaison liaison)
|
||||
throws PersistenceException, SQLException
|
||||
{
|
||||
|
||||
@@ -260,7 +260,7 @@ public class UserRepository extends JORARepository
|
||||
return false;
|
||||
}
|
||||
|
||||
execute(new Operation<Object>() {
|
||||
executeUpdate(new Operation<Object>() {
|
||||
public Object invoke (Connection conn, DatabaseLiaison liaison)
|
||||
throws PersistenceException, SQLException
|
||||
{
|
||||
@@ -295,7 +295,7 @@ public class UserRepository extends JORARepository
|
||||
return;
|
||||
}
|
||||
|
||||
execute(new Operation<Object>() {
|
||||
executeUpdate(new Operation<Object>() {
|
||||
public Object invoke (Connection conn, DatabaseLiaison liaison)
|
||||
throws PersistenceException, SQLException
|
||||
{
|
||||
@@ -350,7 +350,7 @@ public class UserRepository extends JORARepository
|
||||
final Date expires = new Date(cal.getTime().getTime());
|
||||
|
||||
// insert the session into the database
|
||||
execute(new Operation<Object>() {
|
||||
executeUpdate(new Operation<Object>() {
|
||||
public Object invoke (Connection conn, DatabaseLiaison liaison)
|
||||
throws PersistenceException, SQLException
|
||||
{
|
||||
@@ -373,7 +373,7 @@ public class UserRepository extends JORARepository
|
||||
public void pruneSessions ()
|
||||
throws PersistenceException
|
||||
{
|
||||
execute(new Operation<Object>() {
|
||||
executeUpdate(new Operation<Object>() {
|
||||
public Object invoke (Connection conn, DatabaseLiaison liaison)
|
||||
throws PersistenceException, SQLException
|
||||
{
|
||||
@@ -464,7 +464,7 @@ public class UserRepository extends JORARepository
|
||||
protected int insertUser (final User user)
|
||||
throws UserExistsException, PersistenceException
|
||||
{
|
||||
execute(new Operation<Object>() {
|
||||
executeUpdate(new Operation<Object>() {
|
||||
public Object invoke (Connection conn, DatabaseLiaison liaison)
|
||||
throws PersistenceException, SQLException
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user