This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Before I show you my code....I explain my problem. It seems like Hib is adding 4 columns to my query. Below is the actual SQL that is being generated: select feedlog0_.FEED_ID as col_0_0_, feedtype1_.FEED_DESC as col_1_0_, feedlog0_.FEED_ID as FEED1_3_, feedlog0_.CRTD_DT as CRTD2_3_, feedlog0_.FEED_TYPE as FEED3_3_, feedlog0_.RESULT_STATUS as RESULT4_3_, feedlog0_.value as value3_, feedlog0_.offset as offset3_, feedlog0_.count as count3_, feedlog0_.hash as hash3_ from FEED_LOG_TB feedlog0_, FEED_TYPE_TB feedtype1_ where feedlog0_.FEED_TYPE=feedtype1_.FEED_CODE
(don't understand how hib is getting .value, .count, .hash, and .offset; I don't have those columns in my table or bean)
ok... now my code: my bean: package com.annie.hcp.businessbeans;