Hibernate version: 2.1.6
Maybe its a question I should rather post at the jdbc-Forum at java.sun.com but it also involves how hibernate works with preparedStatemtns, so here we go:
Writing my own jdbc-Driver for sending sql statements over xml-rpc to my server I also have to implement the preparedStatement-Interface from JDBC.
So when Hibernate prepares such a statement it also puts in Questionmarks to where later on real values should be, right?
EXAMPLE:
Hibernate: select bundesland0_.BLANDNR as BLANDNR0_, bundesland0_.BUNDESLAND as BUNDESLAND0_, bundesland0_.LINKNR as LINKNR0_ from GH_BLAND bundesland0_ where bundesland0_.BLANDNR=?
But, isnt Hibernate responsible for putting in those values before the statement is commited? In my implementation all the setXXX-Methods throw an exception and still my prog sends happily the unfinished statements to the server.
So am I forgetting to implement something here or where lies my problem?
Thanks in advance
MVeeck
|