This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I have a table a1. Its columns are: identity(int type) and name(varchar type).
I am trying to perform an inner join on this table and then print out the first column of the result obtained.
Here, is the code snippet which is supposed to do this:
When i run this program, I am getting the following error message:
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly. Hibernate: select a1x0_.identity as identity, a1x0_.name as name1_ from a1 a1x0_ a1 cannot be cast to [Ljava.lang.Object;