| Author |
Help java hibernate
|
joao semedo
Greenhorn
Joined: Apr 17, 2012
Posts: 1
|
|
Hi dudes.can someone help me please?
i begin programming Java with hibernate i have the Database all ready in use but i want show some info of Database for java plataform ?
Who i can do that?
ty
|
 |
Wendy Gibbons
Bartender
Joined: Oct 21, 2008
Posts: 1098
|
|
Hello Joao Welcome to the ranch.
Is this your first java program? or are you experienced in java and just starting to use hibernate?
|
 |
William P O'Sullivan
Ranch Hand
Joined: Mar 28, 2012
Posts: 860
|
|
Welcome!
What "info"? database metadata is readily available, as probably are the system catalogs.
The more information you can provide to us, the better and more easier it is for ranchers to help you.
WP
|
 |
Tim McGuire
Ranch Hand
Joined: Apr 30, 2003
Posts: 819
|
|
I would like to see a more specific question. I'll leave this here anyway:
Since you already have a database, a great way to get started with Hibernate is to point it at your database and tell it to build entities for you.
most of the tutorials show how to do this with Eclipse, and I guess that is fine if you are already comfortable with eclipse, but doing it from the command line might be better depending on where you are at.
http://www.mkyong.com/hibernate/how-to-generate-code-with-hibernate-tools/
http://www.factorypattern.com/howto-generate-hibernate-pojo-and-mapping-files-using-ant-from-a-db-schema/
|
 |
 |
|
|
subject: Help java hibernate
|
|
|