• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help java hibernate

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

 
Ranch Hand
Posts: 859
IBM DB2 Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 820
IntelliJ IDE VI Editor Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
reply
    Bookmark Topic Watch Topic
  • New Topic