| Chunk |
|---|
| Conflicting content |
|---|
package org.jtalks.jcommune.model.dao.hibernate;
<<<<<<< HEAD
/*
* JTalks for uniting people
* Copyright (C) 2011 JavaTalks Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Also add information on how to contact you by electronic and paper mail.
*
* This file creation date: Apr 12, 2011 / 8:05:19 PM
* The JTalks Project
* http://www.jtalks.org
*/
package org.jtalks.jcommune.model.dao.hibernate;
import java.util.List;
import org.hibernate.Query;
import org.jtalks.jcommune.model.entity.Persistent;
import org.jtalks.jcommune.model.entity.User;
/**
* DAO for instances of {@link User}
*
* @author Temdegon
*/
public class UserHibernateDao extends AbstractHibernateDao |
| Solution content |
|---|
/*
* JTalks for uniting people
* Copyright (C) 2011 JavaTalks Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Also add information on how to contact you by electronic and paper mail.
*
* This file creation date: Apr 12, 2011 / 8:05:19 PM
* The JTalks Project
* http://www.jtalks.org
*/
package org.jtalks.jcommune.model.dao.hibernate;
import java.util.List;
import org.hibernate.Query;
import org.jtalks.jcommune.model.entity.Persistent;
import org.jtalks.jcommune.model.entity.User;
/**
* DAO for instances of {@link User}.
*
* @author Pavel Vervenko
*/
public class UserHibernateDao extends AbstractHibernateDao |
| File |
|---|
| UserHibernateDao.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Class declaration |
| Comment |
| Import |
| Package declaration |
| Chunk |
|---|
| Conflicting content |
|---|
}
/* (non-Javadoc)
<<<<<<< HEAD
/*
* JTalks for uniting people
* Copyright (C) 2011 JavaTalks Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Also add information on how to contact you by electronic and paper mail.
*
* This file creation date: Apr 12, 2011 / 8:05:19 PM
* The JTalks Project
* http://www.jtalks.org
*/
package org.jtalks.jcommune.service.transactional;
import java.util.List;
import org.jtalks.jcommune.model.dao.Dao;
import org.jtalks.jcommune.model.entity.Post;
import org.jtalks.jcommune.service.PostService;
/**
* @author Snail
*
*/
public class TransactionalPostService implements PostService {
private Dao |
| Solution content |
|---|
/*
* JTalks for uniting people
* Copyright (C) 2011 JavaTalks Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Also add information on how to contact you by electronic and paper mail.
*
* This file creation date: Apr 12, 2011 / 8:05:19 PM
* The JTalks Project
* http://www.jtalks.org
*/
package org.jtalks.jcommune.service.transactional;
import java.util.List;
import org.jtalks.jcommune.model.dao.Dao;
import org.jtalks.jcommune.model.entity.Post;
import org.jtalks.jcommune.service.PostService;
/**
* @author Snail
*
*/
public class TransactionalPostService implements PostService {
private Dao |
| File |
|---|
| TransactionalPostService.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Class declaration |
| Comment |
| Import |
| Package declaration |
| Chunk |
|---|
| Conflicting content |
|---|
}
*
<<<<<<< HEAD
/*
* JTalks for uniting people
* Copyright (C) 2011 JavaTalks Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
public void delete(Topic persistent) {
topicDao.delete(persistent);
/**
* @author Snail
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Also add information on how to contact you by electronic and paper mail.
*
* This file creation date: Apr 12, 2011 / 8:05:19 PM
* The JTalks Project
* http://www.jtalks.org
*/
package org.jtalks.jcommune.service.transactional;
import java.util.List;
import org.jtalks.jcommune.model.dao.Dao;
import org.jtalks.jcommune.model.entity.Topic;
import org.jtalks.jcommune.service.TopicService;
/**
* @author Snail
*
*/
public class TransactionalTopicService implements TopicService {
private Dao |
| Solution content |
|---|
/*
* JTalks for uniting people
* Copyright (C) 2011 JavaTalks Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Also add information on how to contact you by electronic and paper mail.
*
* This file creation date: Apr 12, 2011 / 8:05:19 PM
* The JTalks Project
* http://www.jtalks.org
*/
package org.jtalks.jcommune.service.transactional;
import java.util.List;
import org.jtalks.jcommune.model.dao.Dao;
import org.jtalks.jcommune.model.entity.Topic;
import org.jtalks.jcommune.service.TopicService;
/**
* @author Snail
*
*/
public class TransactionalTopicService implements TopicService {
private Dao |
| File |
|---|
| TransactionalTopicService.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Class declaration |
| Comment |
| Import |
| Package declaration |
| Chunk |
|---|
| Conflicting content |
|---|
<<<<<<< HEAD:jcommune/jcommune-service/src/main/java/org/jtalks/jcommune/service/transactional/TtransactionalUserService.java
/*
* JTalks for uniting people
* Copyright (C) 2011 JavaTalks Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Also add information on how to contact you by electronic and paper mail.
*
* This file creation date: Apr 12, 2011 / 8:05:19 PM
* The JTalks Project
* http://www.jtalks.org
*/
package org.jtalks.jcommune.service.transactional;
import java.util.List;
import org.jtalks.jcommune.model.dao.Dao;
import org.jtalks.jcommune.model.entity.User;
import org.jtalks.jcommune.service.UserService;
/**
* @author Snail
*
*/
public class TtransactionalUserService implements UserService {
private Dao |
| Solution content |
|---|
/*
* JTalks for uniting people
* Copyright (C) 2011 JavaTalks Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Also add information on how to contact you by electronic and paper mail.
*
* This file creation date: Apr 12, 2011 / 8:05:19 PM
* The JTalks Project
* http://www.jtalks.org
*/
package org.jtalks.jcommune.service.transactional;
import java.util.List;
import org.jtalks.jcommune.model.dao.Dao;
import org.jtalks.jcommune.model.entity.User;
import org.jtalks.jcommune.service.UserService;
/**
* @author Snail
*
*/
public class TransactionalUserService implements UserService {
private Dao |
| File |
|---|
| TransactionalUserService.java |
| Developer's decision |
|---|
| Version 2 |
| Kind of conflict |
|---|
| Class declaration |
| Comment |
| Import |
| Package declaration |