Hi,
I am very new to hibernate and am trying to learn. Will really appreciate anyone's help. Can someone point to a documentation or tell me how to use:
cfg2hbm and
hbm2java
I am trying to connect to OracleDB and learn how to setup hibernate. Do I need to manually create persistent classes and hdm.xml or hibernate.cfg.xml just need to provide.
I have a small table i.e.
Quote:
CREATE TABLE HIBER_TEST
(
ID NUMBER,
NAME VARCHAR2(1 BYTE),
CITY VARCHAR2(1 BYTE),
STATE VARCHAR2(1 BYTE)
)
Here are my DB connection settings:
Quote:
driver_class > oracle.jdbc.OracleDriver
password > value
url > jdbc:oracle:thin:@localhost:1521:orcl
username > usertest
If someone can provide step by step instructions will really be great and will help me keep going faster. Thanks