Hello, I try to make an simple aggregation, but when I want to run the job, I've got this error Exception in thread "main" java.lang.Error: Unresolved compilation problems: Syntax error on token "null", invalid Wildcard Syntax error on token "null", invalid Wildcard Syntax error on token "null", ? expected Syntax error, insert "AssignmentOperator Expression" to complete Assignment Syntax error, insert ";" to complete BlockStatements at formation.copy_of_test_eca.Copy_of_Test_eca.tOracleInput_1Process(Copy_of_Test_eca.java:324) at formation.copy_of_test_eca.Copy_of_Test_eca.runJobInTOS(Copy_of_Test_eca.java:963) at formation.copy_of_test_eca.Copy_of_Test_eca.main(Copy_of_Test_eca.java:879) Job Copy_of_Test_eca ended at 10:36 16/05/2008.
The code generate is really false, like that : java.util.Map<null, OperationStructtAggregateRow_1_AGGOUT> hash_ORDER_ID_tAggregateRow_1_AGGOUT = new java.util.HashMap<null, OperationStructtAggregateRow_1_AGGOUT>(); OperationStructtAggregateRow_1_AGGOUT operation_result_tAggregateRow_1_AGGOUT = null;
I try many tests, but I can't understand the problem. I think that's me because I didn't find any case in the forum .... Thanks
I found the solution ! The problem is the type of the variable used in the group by clause. I've changed the type from BigDecimal to Long and that's work. BigDecimal is the default type for the number columns in Oracle even if there is no precision ...