Skip to content
Snippets Groups Projects
Commit ef909fcf authored by Arnaud Jelmoni's avatar Arnaud Jelmoni
Browse files

Remove warning

parent 89aaafac
Branches
No related tags found
No related merge requests found
......@@ -3276,7 +3276,7 @@ public class DataBaseAPI {
String query = "";
final String table_name = getDbSchema() + "." + SnapConst.TABS[0];
String select_field_spec = "";
// String clause_1 = ConfigConst.TAB_DEF[2] + "= ?";
// String clause_1 = ConfigConst.fullName + "= ?";
final String clause_1 = SnapConst.TAB_DEF[2] + "= " + "'" + att_name.trim() + "'";
if (db_type == ConfigConst.BD_MYSQL) {
select_field_spec = " * ";
......
......@@ -18,6 +18,10 @@ import javax.persistence.TemporalType;
@Table(name = "AST")
public class Ast implements java.io.Serializable {
/**
*
*/
private static final long serialVersionUID = 8414771610296279121L;
private int id;
private Date time;
private String fullName;
......
......@@ -17,6 +17,10 @@ import javax.persistence.TemporalType;
@Table(name = "CONTEXT")
public class Context implements java.io.Serializable {
/**
*
*/
private static final long serialVersionUID = -886868126349752419L;
private int idContext;
private Date time;
private String name;
......
......@@ -21,7 +21,6 @@ public abstract class AbstractHibernateDAOImp<T extends Serializable> implements
this.clazz = (Class<T>) GenericTypeResolver.resolveTypeArgument(getClass(), AbstractHibernateDAOImp.class);
}
@SuppressWarnings("unchecked")
public T findOne(int id) {
return (T) getCurrentSession().get(clazz, id);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment