ThreadConnection con = null;
FiltredPreparedStatement statement = null;
try
{
con = L2DatabaseFactory.getInstance().getConnection();
statement = con.prepareStatement("REPLACE INTO character_shortcuts SET char_obj_id=?,slot=?,page=?,type=?,shortcut_id=?,level=?,class_index=?");
statement.setInt(1, player.getObjectId());
statement.setInt(2, shortcut.slot);
statement.setInt(3, shortcut.page);
statement.setInt(4, shortcut.type);
statement.setInt(5, shortcut.id);