Hi everbody !!!
I've a following tables in a Oracle 9i:
Code:
CREATE TABLE VENDEDOR_CLIENTE (
COD_VENDEDOR CHAR (6) NOT NULL,
COD_CLIENTE CHAR (14) NOT NULL,
PRIMARY KEY ( COD_CLIENTE, COD_VENDEDOR ) ) ;
CREATE TABLE VENDEDOR_CLIENTE2 (
COD_VENDEDOR VARCHAR2 (6) NOT NULL,
COD_CLIENTE VARCHAR2 (14) NOT NULL,
PRIMARY KEY ( COD_CLIENTE, COD_VENDEDOR ) ) ;
the session.load works for VENDEDOR_CLIENTE2,
but catch for VENDEDOR_CLIENTE.
I'm using java.lang.String in mapping.
<b>
Are there anything wrong ?
or
Is it a bug of Hibernate or JDBC Driver ?
</b>
Hibernate version: 2.1.6