java - Error in my hibernate request -
Hello, I have an error when I execute a request with Hibernate Error ast.ErrorCounter (ErrorCounter.java:33) - Line 01:22: Found the expectation of the president '*' My claim: public rechercheValeurTarifs () Throws exception {list tarifs = null; . {Tarifs try = getHibernateTemplate get () ( "FE_TARIF_IDF * Choose." + "From" FE_TARIF_IDF + "Where FE_TARIF_IDF.D_ANNEE (Select Max (FE_EXERCICE_FISCAL.D_CEXER) from FE_EXERCICE_FISCAL);"); If (tarifs == zero) {tarifs = getHibernateTemplate () ( "SELECT FE_TARIF_IDF. *" + "FE_TARIF_IDF the" + "in the WHERE FE_TARIF_IDF.D_ANNEE (select MAX (FE_EXERCICE_FISCAL.D_CEXER-1) from FE_EXERCICE_FISCAL);";}} catch (Exception e) {System.out.println (e .getStackTrace ());} Return tarifs;} My hbm.xml file: & lt; XML version = "1.0" & gt; & LT; DOCTYPE hibernate-mapping public "- // hibernate / hibernate mapping DTD 3.0 // eN" "http:...