• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help java hibernate

 
joao semedo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic