Hi, ErikFK. Thanks for responding.
Quote:
... little generic routine that doesn't work.
No exceptions. I walked through the debugger as well. I simply get 0 objects in the List. However, if I build/pass-in a static query string (at run-time), that is, a query string with "column = value" embedded in it, instead of a setParameter approach, I get objects from the database back
Code:
this.openSessionInternally();
this.closeSessionInternally();
Yes, the session is a variable in the class. Other than the fact, I get no exceptions, I can actually see the values of the "session" variable in the debugger.
Here is an excerpt of the SQL generated/displayed by Hibernate:
Code:
select trade0_.TRD_ID as TRD1_ from TRADE trade0_ where trade0_.SYS_ID=? and trade0_.TRD_ID=?