@Override
	public boolean create(Particulier x) 
	{
          
                String req = "INSERT INTO particulier ( email, motdepasse, nom, prenom, titre, adresse)\n" 
                        +"select \""+x.getEmail()+"\", \""+x.getMotDePasse()+"\", \""+x.getNom()+"\", \""+x.getPrenom()+"\", \""+x.getTitre()+"\", \""+x.getAdresse()+"\" from dual\n" 
                        +"where not exists (select * from particulier where email = \""+x.getEmail()+"\")"
                        +"and not exists (select * from hotelier where email = \""+x.getEmail()+"\")";
		Statement stm = null;
		try 
		{
			stm = cnx.createStatement(); 
			int n= stm.executeUpdate(req,Statement.RETURN_GENERATED_KEYS);
			if (n>0)
			{
                                x.setParticulierId(n);
				stm.close();
				return true;
			}
		}
		catch (SQLException exp)
		{
		}
		finally
		{
			if (stm!=null)
			try {
				stm.close();
			} catch (SQLException e) {
				e.printStackTrace();
			}			
		}

		return false;
	}