public int objectId(Object obj)
		{
			int 	res 	= 	0;
			String	query	=	"";
			
			try
			{
				Method[] 	tab_method 	=	obj.getClass().getMethods();
				String		key			=	"";
				
				for (int i = 0; i < tab_method.length; i++)
				{
					
					if (tab_method[i].getName().subSequence(0, 3).equals("get") && !(tab_method[i].getName().equals("getClass")) && !(tab_method[i].getName().equals("getId")))
					{
						
						key 	+= checkStruckDbAttribute(tab_method[i].getName().subSequence(3, tab_method[i].getName().length()).toString()) + "=";
						key	+= "\"" + tab_method[i].invoke(obj) + "\" AND ";
					}
				}
				key = key.substring(0, key.length() - 4);
				query = "SELECT id FROM " + checkStruckDb(obj.getClass().getSimpleName()) + " WHERE " + key + ";";
				
				myState				=	myConnect.createStatement();
				myPreparedStatement = 	myConnect.prepareStatement(query);
				myResultSet = myPreparedStatement.executeQuery(query);
				myResultSetMetaData = myResultSet.getMetaData();
				
				while (myResultSet.next()) {
				res = myResultSet.getInt(1);}
			}
			catch (SQLException e)                 	{System.out.println("Connexion au DBManager : Erreur interne SQL: " + e.toString()); 			e.printStackTrace();}        
            catch (Exception e)                 	{System.out.println("Connexion au DBManager : Operation non valide: " + e.toString());         	e.printStackTrace();}
			return res;
		}