-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: How to start with Hibernate and Maven2?
PostPosted: Thu Jan 31, 2008 9:25 am 
Newbie

Joined: Thu Jan 31, 2008 8:13 am
Posts: 10
Location: Poland
Hello,

I'm developing an application using Maven2 and I wanted to extend it with Hibernate. I was using Ant before to achieve the same, but since Maven suits my needs better, I decided not to use Ant anymore.
The thing is, that I'm not sure if I can achieve the same effect in Maven, as the one I achieved using Ant.

This is what I am aiming for:
- using Hibernate Annotations
- loading and saving DB content into XML file

The thing is that after searching web a little, I have found some examples of Maven-Hibernate integration but none of those examples used Annotations. So I searched more and I have found "hibernate3:hbm2hbmxml" plugin. This can be found http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/.

After that I've stopped searching and decided to ask people with more experience for help. The things is, that I DON'T want to add additional dependencies to some 3rd party plugins if this can be avoided. This is because I don't want to waste my time digging thru more tutorials and documentation. I want to focus on Maven and Hibernate only. So, since I haven't found anything on hibernate.org, I'm asking You guys for help.

Just tell me if those 2 prerequisites can be fulfilled using Hibernate only, or do I have to look up for some external tools. Some guides, hints, tutorials, links would be appreciated.

Thanks in advance.
Łukasz Bachman

P.S. I hope this post doesn't violate any of forum rules, even though maybe this question was already answered (couldn't find it in search results).

_________________
Kind regards,
Łukasz Bachman


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.