java.lang.reflect.InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • count(1) problem
    via by 3004,
  • Webstart Issue
    via by 3004,
  • Kodo v4.0.0EA2 Bugs List
    via by 3004,
  • Query under Transaction Exception....
    via by 3004,
  • 3.0.0RC2 MappingTool producing bad SQL
    via by 3004,
    • java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at samples.models.humres.Demo.main(Demo.java:1078) Caused by: kodo.util.DataStoreException: ORA-00979: N'est pas une expression GROUP BY {prepstmnt 30102190 SELECT t1.DEPARTMENT_ID, t1.DEPARTMENT_NAME, t1.LOCATION_ID, t1.MANAGER_ID, MAX (t0.SALARY), t0.DEPARTMENT_ID FROM TESTKODO.HR_DEPARTMENTS t1, TESTKODO.HR_EMPLOYEES t0 WHERE t0.DEP ARTMENT_ID = t1.DEPARTMENT_ID(+) GROUP BY t0.DEPARTMENT_ID HAVING COUNT(t0.EMPLOYEE_ID) < ? [params= (long) 6] [reused=0]} [code=979, state=42000] at kodo.jdbc.sql.DBDictionary.newDataStoreException(DBDictionary.java:2990) at kodo.jdbc.sql.SQLExceptions.getDataStore(SQLExceptions.java:77) at kodo.jdbc.sql.SQLExceptions.getDataStore(SQLExceptions.java:63) at kodo.jdbc.sql.SQLExceptions.getDataStore(SQLExceptions.java:43) at kodo.jdbc.runtime.SelectResultObjectProvider.handleCheckedException(SelectResultObjectProvider.java:180) at com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:32) at kodo.query.AbstractQuery.execute(AbstractQuery.java:1052) at kodo.query.AbstractQuery.executeWithArray(AbstractQuery.java:836) at kodo.query.AbstractQuery.execute(AbstractQuery.java:799) at samples.models.humres.Demo.doQuery(Demo.java:1010) at samples.models.humres.Demo.query(Demo.java:1000) at samples.models.humres.Demo.exQuery(Demo.java:987) ... 5 more Caused by: com.solarmetric.jdbc.ReportingSQLException: ORA-00979: N'est pas une expression GROUP BY {prepstmnt 30102190 SELECT t1.DEPARTMENT_ID, t1.DEPARTMENT_NAME, t1.LOCATION_ID, t1.MANAGER_ID, MAX (t0.SALARY), t0.DEPARTMENT_ID FROM TESTKODO.HR_DEPARTMENTS t1, TESTKODO.HR_EMPLOYEES t0 WHERE t0.DEP ARTMENT_ID = t1.DEPARTMENT_ID(+) GROUP BY t0.DEPARTMENT_ID HAVING COUNT(t0.EMPLOYEE_ID) < ? [params= (long) 6] [reused=0]} [code=979, state=42000] at com.solarmetric.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:124) at com.solarmetric.jdbc.LoggingConnectionDecorator.access$600(LoggingConnectionDecorator.java:19) at com.solarmetric.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeQuery(LoggingConnectionDecorator.java:708) at com.solarmetric.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatementjava:351) at kodo.jdbc.runtime.JDBCStoreManager$CancelPreparedStatement.executeQuery(JDBCStoreManager.java:1713) at com.solarmetric.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatementjava:338) at kodo.jdbc.sql.Select.execute(Select.java:1568) at kodo.jdbc.sql.Select.execute(Select.java:1520) at kodo.jdbc.runtime.SelectResultObjectProvider.open(SelectResultObjectProvider.java:102) at com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:22) ... 11 more
    No Bugmate found.