Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Object Relational Mapping and the fly likes Help java hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Help java hibernate" Watch "Help java hibernate" New topic
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: 1107

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: 820

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/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help java hibernate
 
Similar Threads
New To Hibernate ???
How to create/re-create database using java class And relevant mapping files
Hibernate Installation
Database Cursor and Hibernate
How to Learn Hibernate.