Hello Ryan
You just need this:
dependency
groupIdorg.hibernate/groupId
artifactIdhibernate-entitymanager/artifactId
version3.6.0.Final/version
/dependency
Johann
On Tue, Jan 18, 2011 at 11:25 AM, Ryan Cuprak rcup...@me.com wrote:
Does
Hello Stephane
Do you want to do something like this??
https://svn.codehaus.org/mojo/trunk/sandbox/hibernate3-maven-plugin/src/it/m
hibernate-65
Johann Reyes
-Original Message-
From: Stephane Eybert [mailto:mittiprove...@yahoo.se]
Sent: Sunday, May 09, 2010 4:06 PM
To: users
based on
the available classpath, e.g. look for META-INF/persistence.xml.
Try moving your persistence.xml to the META-INF directory and try it again
Regards
Johann Reyes
-Original Message-
From: Neil Chaudhuri [mailto:nchaudh...@potomacfusion.com]
Sent: Thursday, August 13, 2009 2:26 PM
based on
the available classpath, e.g. look for META-INF/persistence.xml.
Try moving your persistence.xml to the META-INF directory and try it again
Regards
Johann Reyes
-Original Message-
From: Neil Chaudhuri [mailto:nchaudh...@potomacfusion.com]
Sent: Thursday, August 13, 2009 2:26 PM
Hi
That's explained here
http://www.velocityreviews.com/forums/t298010-jboss-ide-using-hibernate-tool
s-getting-jdbcbinderexception.html
Basically you need to specify your schema in a hibernate.reveng.xml file.
Regards
Johann Reyes
-Original Message-
From: MedElb [mailto:[EMAIL
Hello Renu
That stills looks that is looking for the JDBC driver. Refer to the bottom
of this page:
http://mojo.codehaus.org/hibernate3/hibernate3-maven-plugin/usage.html
Johann Reyes
-Original Message-
From: Renu Gupta [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2008 6:48 AM
-Original Message-
From: Johann Reyes [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2008 5:49 PM
To: 'Maven Users List'
Subject: RE: hibernate3 maven2 plugin problem
Hello Renu
That stills looks that is looking for the JDBC driver. Refer to the bottom
of this page:
http
Hello Mick.
First, is this a JPA project or a EJB3 one?
Regards
Johann Reyes
k. I created a sample project that does what you want to do:
http://fisheye.codehaus.org/browse/mojo/trunk/mojo/hibernate3/hibernate3-maven-plugin/src/it/jpa-configuration-hsql
Let me know if this helps you or not.
Regards
Johann Reyes
It looks like its missing the entity-manager dependency, do you have it
specified in your pom?
Regards
Johann Reyes
Hmm, so are you using JPA or EJB? because if it is JPA you need to use
jpaconfiguration. Just check that you have the dependencies as seen here:
http://fisheye.codehaus.org/browse/mojo/trunk/mojo/hibernate3/hibernate3-maven-plugin/src/it/jpa-configuration-hsql/pom.xml?r=6864
Regards
Johann
The Mojo team is pleased to announce the release of the Maven Hibernate3
Plugin version 2.1.
This release contains some dependencies upgrades and bug fixes.
A list of changes is attached at the end of this mail.
Enjoy!
Johann Reyes
Release Notes - Maven 2.x Hibernate Plugin - Version 2.1
Hello Benjamin
Can you explain a little more, or post example in the differences when you
run it offline or not.
Regards
Johann Reyes
outputDirectorysrc/main/java/outputDirectory
/component
/components
/configuration
/plugin
Regards
Johann Reyes
Hello Tibi
Hmmm that sounds like a bug i saw some time ago, can you try this fix found
here and let me know if it works?
http://jira.codehaus.org/browse/MCOBERTURA-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101458
Regards
Johann Reyes
/introduction/introduction-to-dependency-mechanism.html
Regards
Johann Reyes
Also the phase should be
process-classes
instead of
generate-sources
Your java classes need to be compiled first before they can be added
to the plugin to create the db schema
Regards
Johann Reyes
/outputfilename
/componentProperties
/configuration
executions
execution
phasegenerate-sources/phase
goals
goalhbm2ddl/goal
/goals
/execution
/executions
/plugin
Regards
Johann Reyes
can you run this command and then send the output:
mvn -X hibernate3:hbm2ddl
Regards
Johann Reyes
Also you can run manually the plugin like this:
mvn hibernate3:hbm2ddl
Regards
Johann Reyes
Hello Mathias
you should put it in your resources directory and do something like this in
your applicationContext.xml in your sessionFactory bean:
property name=configLocation value=classpath:hibernate.cfg.xml/
Regards
Johann Reyes
support for mojo implementations and a
few bugs fixed too.
Site is here:
http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/
See the change log for the full list of changes:
http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11215fixfor=13642
Regards
Johann
phases
Regards
Johann Reyes
On 7/6/07, Marco Mistroni [EMAIL PROTECTED] wrote:
Hi Trevor,
thanks... that would work
unfortunately my app is splitted in two jars, one for backend and another
for
webapp.
everythign works fine at the junit level for the backend, but once code
runs
in app server
Hello David
Actually yes, set the export flag to false
Regards
Johann Reyes
-Original Message-
From: David J. M. Karlsen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 06, 2007 8:21 PM
To: Maven Users List
Subject: Re: [ANN] Hibernate3 Maven Plugin 2.0-alpha-1 released
Johann Reyes
Hello David
Thanks for the report, documentation has been fixed.
Regards
Johann Reyes
-Original Message-
From: David J. M. Karlsen [mailto:[EMAIL PROTECTED]
Sent: Friday, March 02, 2007 4:45 PM
To: Maven Users List
Subject: Re: [ANN] Hibernate3 Maven Plugin 2.0-alpha-1 released
Hello Miso
Sorry for the late reply, and thanks for letting me know, I'll probably add
this to the FAQ of the plugin.
Thanks again
Johann Reyes
-Original Message-
From: Michal Hlavac [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 21, 2007 11:39 AM
To: users@maven.apache.org
Cc
documentation.
Feedback and suggestions are welcome.
Cheers,
Johann Reyes
Hello Jim
Thanks for the patch, and yeah, if you could send me the info about the
hbm2doc, if would be a good example to add to the examples section for the
doco.
Regards
Johann Reyes
-Original Message-
From: Crossley, Jim [mailto:[EMAIL PROTECTED]
Sent: Friday, February 23, 2007 10
.
Regards
Johann Reyes
-Original Message-
From: Crossley, Jim [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 21, 2007 10:31 AM
To: Maven Users List
Subject: Hibernate3:hbm2doc
Hi.
I'm looking to take advantage of hibernate-tools' abililty to generate a
graph of my entity relationships
Hello Miso
Still after adding the export flag set to false, still tries to connect?
Regards
Johann Reyes
-Original Message-
From: Michal Hlavac [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 11, 2007 10:04 AM
To: Maven Users List
Subject: Re: hibernate3-maven-plugin hbm2ddl always
implementationconfiguration/implementation
/component
/components
componentProperties
outputfilenameschema.sql/outputfilename
/componentProperties
/configuration
/plugin
Regards
Johann Reyes
Hello Miso
From where are you trying to create the schema.sql? from hbm.xml files or
annotated classes?
Regards
Johann Reyes
-Original Message-
From: Michal Hlavac [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 07, 2007 11:18 AM
To: Maven Users List
Subject: hibernate3-maven
/configuration
/plugin
Regards
Johann Reyes
-Original Message-
From: lemon dumpling [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 06, 2007 8:29 AM
To: Maven Users List
Subject: Re: Maven2+Hibernate3 Annotation Problem
Hi Johann,
Yes, I tried that thing but it always throws no suitable
Hello
First you need to set up the element outputfilename as seen here:
http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/examples/s
chema_output.html
Also you need to include the annotated classes in your hibernate.cfg.xml
file
Regards
Johann Reyes
-Original Message
Hello lexi
Are you trying to document your hibernate classes?? Have you tried hbm2doc?
Regards
Johann Reyes
-Original Message-
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 16, 2007 11:22 AM
To: Maven Users List
Subject: Re: Hibernate3 export where *.hbm.cfg
Hello lexi
K, so you need to use hbm2ddl with the jdbcconfiguration implementation with
the component property outputfilename set to a sql filename.
Regards
Johann Reyes
-Original Message-
From: Aleksei Valikov [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 23, 2007 12:45 PM
Hello Andi
Well you just found a bug. I fixed already in SVN and deployed a new
snapshot. Try it out and let me know how it works
Regards
Johann Reyes
-Original Message-
From: garbandi [mailto:[EMAIL PROTECTED]
Sent: Friday, January 05, 2007 8:02 AM
To: users@maven.apache.org
Subject
Hello Andi
I believe that with version 1.0-SNAPSHOT you can not scan the test-classes,
but 2.0-SNAPSHOT can do. Would you be willing to use the 2.0-SNAPSHOT? I can
help you to configure again your plugin if that is the case.
Regards
Johann Reyes
-Original Message-
From: garbandi
have any question
Regards
Johann Reyes
-Original Message-
From: garbandi [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 04, 2007 11:53 AM
To: users@maven.apache.org
Subject: RE: using hibernate3-maven-plugin:hmb2ddl with test-classes
hi johann,
i've moved to 2.0. but i didn't find
in the database, instead it would do it in the file just specified.
*note* Just specify a filename like dll-schema.sql not a file path.
Regards
Johann Reyes
-Original Message-
From: Charles Harvey III [mailto:[EMAIL PROTECTED]
Sent: Friday, October 20, 2006 10:01 AM
To: Maven Users List
error, it looks the database it's running because the database
it's refusing the connection, so I would check the username and password
that you are using to create the connection to see if they are the right
ones.
Regards
Johann Reyes
-Original Message-
From: Yves Van Steen [mailto:[EMAIL
with it.
Regards
Johann Reyes
-Original Message-
From: Charles Harvey III [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 19, 2006 1:04 PM
To: Maven Users List
Subject: Re: How do i use the hibernate3 plugin from codehause
No. It does not work. I have been trying to get that thing
these dependencies are uploaded, I'll
publish a new snapshot of the plugin.
Regards
Johann Reyes
-Original Message-
From: mraible [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 24, 2006 5:14 PM
To: users@maven.apache.org
Subject: Re: [m2] Frustration getting Maven 2 and Hibernate working together
Kaj
Question, do you have annotated classes?
Regards
Johann Reyes
-Original Message-
From: Kaj Hejer [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 24, 2006 4:58 AM
To: users@maven.apache.org
Subject: hibernate3-maven-plugin: hbm2hbmxml does not generate any hbm.xml
files
Hi!
I'm
Hello Kaj
This might be a problem with the dependencies. I'm updating the dependencies
so I'll keep let you know once I have done this for you to try it again.
Regards
Johann reyes
-Original Message-
From: Kaj Hejer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 22, 2006 8:15 AM
Hello Lakshman
I think I answered this before in the following post:
http://www.mail-archive.com/users@maven.apache.org/msg49367.html
Regards
Johann Reyes
-Original Message-
From: Lakshman Srilakshmanan
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 3:48 AM
To: Maven Users
and create the java source files
Hope that helps, please let me know if you need any other help.
Regards
Johann Reyes
-Original Message-
From: Lakshman Srilakshmanan
[mailto:[EMAIL PROTECTED]
Sent: Monday, August 14, 2006 9:37 PM
To: Cristian Jansenson
Cc: Maven Users List
Subject: RE
/mojo/trunk/mojo/mojo-sandbox/hibernate3-m
aven-plugin/src/test/project-jdk15/src/main/resources/database.properties?r=
1673
Regards
Johann Reyes
-Original Message-
From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 11, 2006 7:53 AM
To: Maven Users List
Subject: Best
Hello Jose
Actually, I'm not, I should be, but I wasn't subscribe in that list, if you
want to resend your email, I'll be able to receive it now.
Regards
Johann Reyes
-Original Message-
From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED]
Sent: Friday, July 07, 2006 3:20 AM
To: Maven
Hello Richards
This is strange, would be possible for you to send your pom.xml file to
check it out.
Regards
Johann Reyes
-Original Message-
From: James Richards [mailto:[EMAIL PROTECTED]
Sent: Friday, July 07, 2006 11:17 AM
To: users@maven.apache.org
Subject: Hibernate 3 failure
Hello James
Yes, the extension is necessary as this is the only way for the moment that
I found to pass the JDBC driver to the plugin layer.
Please try it and let me know how it went.
Regards
Johann Reyes
-Original Message-
From: James Richards [mailto:[EMAIL PROTECTED]
Sent: Friday
Hello Jose
Thanks for the help; I updated the documentation to reflect this. Also to
use the plugin you don't need to include the hibernate jars as dependency to
run the plugin.
Regards
Johann Reyes
-Original Message-
From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED]
Sent: Thursday
Hello Jeff
Actually you are using Xdoclet to generate your hibernate mapping files. The
hibernate3-maven-plugin is not based on Xdoclet; it's based on
hibernate-tools which you can find more info here:
http://tools.hibernate.org/
Regards
Johann Reyes
-Original Message-
From: Jeff
to configure the plugin as described here:
http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/howto.html
Please let me know if you got any more problems.
Regards
Johann Reyes
-Original Message-
From: Paul Kuykendall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 9
Hello Paul
Actually an update. I was able to go around the bug that was stopping me
from deploying and was able to successfully deploy a snapshot. So now a
hibernate3-maven-plugin is available to use.
Regards
Johann Reyes
-Original Message-
From: Paul Kuykendall [mailto:[EMAIL
successfully
deploy again, I'll take it up to vote again and then release it.
Regards
Johann Reyes
-Original Message-
From: Ray Tsang [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 7:21 PM
To: Maven Users List
Subject: Re: Does anyone know how to use the maven DBUnit plugin
more help just let me know.
Regards
Johann Reyes
-Original Message-
From: Roye, Suhneel BGI SF [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 18, 2006 1:16 PM
To: Maven Users List
Subject: RE: hibernate3-maven-plugin:hbm2java - Setup Problems
Sweet! This is exactly what I was looking
Hello Suhneel;
Could you please run mvn -X hibernate3:hbm2java and send me the output?
Also what jdk you are running?
Regards
Johann Reyes
-Original Message-
From: Roye, Suhneel BGI SF [mailto:[EMAIL PROTECTED]
Sent: Monday, April 17, 2006 3:34 PM
To: Maven Users List
Subject
Hello Suhneel
I just finished deploying a new snapshot that allows that, please refer to:
http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/hbm2java-m
ojo.html
Regards
Johann Reyes
Ps also I'm looking into the log4j dependency, how did you add it? And also
what exact version
Hello Suhneel
Yes, it would let you turn off generics ( 2 flags, jdk5 for generics and
ejb3 for annotations ) even if you are using jdk 1.5
About Log4j, I'll research some more, with my test I don't have the need to
include log4j in the pom.xml
Regards
Johann Reyes
-Original Message
Hello Wesslan
One question, have you run mvn idea:idea previously with maven 2.0.2?
Regards
Johann Reyes
-Original Message-
From: Wesslan [mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 2:05 AM
To: users@maven.apache.org
Subject: [m2.0.3] idea:idea
the distribution of the jar, it
cannot be added to ibiblio thus you have to manually go and download the jar
from Sun and install it.
Regards
Johann Reyes
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, March 31, 2006 8:59 AM
To: Maven Users List
Subject
Hello Peter
For the jdbc drivers, you need to use it as an extension for it to be
available to hibernate as described here:
http://mojo.codehaus.org/hibernate3-maven-plugin/howto.html
Regards
Johann Reyes
-Original Message-
From: Peter L. Berghold [mailto:[EMAIL PROTECTED]
Sent
Hi Bigalk
Right now the hibernate3-maven-plugin is available as a snapshot only and it
is a maven 2.x plugin.
You can find information about the plugin here:
http://mojo.codehaus.org/hibernate3-maven-plugin
If you have any other question, please feel free to ask.
Regards
Johann Reyes
/pluginRepository
/pluginRepositories
Regards
Johann Reyes
-Original Message-
From: Peter L. Berghold [mailto:[EMAIL PROTECTED]
Sent: Monday, March 27, 2006 2:36 PM
To: [EMAIL PROTECTED]
Cc: users@maven.apache.org
Subject: Re: wither the hibernate3 plugin?
-BEGIN PGP SIGNED MESSAGE
For licensing issues, it can not be included in ibiblio. You can download it
from here:
http://prdownloads.sourceforge.net/hibernate/hibernate-annotations-3.1beta8.
zip?download
Just rename the ejb-persistence.jar to ejb-3.0-public-draft-20060118.jar
Regards
Johann Reyes
-Original Message
Hello Peter
Right now I'm working in multiple output directory assignment for the
hibernate-plugin and also automatic discovery for annotated classes when you
want to build the hibernate.cfg.xml file from annotated classes, so it
should ready by the end of week most likely
Regards
Johann Reyes
Heelo Taavi:
You can find an example here:
jdk4:
https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/hibernate3-maven-plugi
n/src/test/project-jdk14
jd5:
https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/hibernate3-maven-plugi
n/src/test/project-jdk15
Regards
Johann Reyes
Hello Sylvain
Based in your plugin, I have added now the ability to support the auto
discovery of hibernate annotated classes to the plugin. If you like please
try it.
Regards
Johann Reyes
-Original Message-
From: Sylvain Vieujot [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 22
a hibernate.cfg.xml file before using annotations with
hibernate.
Regards
Johann Reyes
-Original Message-
From: Taavi Sildeberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 2:27 AM
To: Johann Reyes; users@maven.apache.org
Subject: Re: Problem hibernate3 plugin cfg2cfgxml
Thank you Johann
Hello Taavi
Right now, hibernate-tools supports creation of hibernate.cfg.xml with
mappings automatically only with hbm.xml files. I'll check if they are
planning to support Annotations this way too, but at the moment is not
supported.
Regards
Johann Reyes
-Original Message-
From
Hello Sylvian
Yes, I would be interested to take a look, I'll gladly accept the help. And
don't worry, the implementation I think would be fairly easy since I know
when a person is using annotations or not.
Thanks
Johann Reyes
-Original Message-
From: Sylvain Vieujot [mailto:[EMAIL
Hello Taavi
Did you set the ejb3 parameter to true?
You can see an example here:
https://svn.mojo.codehaus.org/mojo/trunk/mojo/mojo-sandbox/hibernate3-maven-
plugin/src/test/project-jdk15/pom.xml
Regards
Johann Reyes
-Original Message-
From: Taavi Sildeberg [mailto:[EMAIL PROTECTED
Hello Andreas,
The correct values would be:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-idea-plugin/artifactId
configuration
jdkName1.4/jdkName
/configuration
/plugin
Regards
Johann Reyes
-Original Message-
From
or
else the query just breaks and your hibernate mapping with it.
Regards
Johann Reyes
-Original Message-
From: Akbarr [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 26, 2006 5:35 PM
To: users
Subject: [m2] Hibernate doclet
I'm migrating my projects from Ant to Maven, and I've found
it a try
Regards
Johann Reyes
-Original Message-
From: Akbarr [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 26, 2006 7:41 PM
To: Maven Users List
Subject: Re: RE: [m2] Hibernate doclet
Thanks Johann:
About xdoclet2
1) Yes, there are changes like that, but mostly they are minimal if you
) also based in your POJOS
Regards
Johann Reyes
-Original Message-
From: Jacek Laskowski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 15, 2006 2:03 AM
To: Maven Users List
Subject: Re: hibernate3 plugin
06-02-13, Michal Palička [EMAIL PROTECTED] napisał(a):
the Hibernate3 plugin
Hi Frederik
Right now I'm fixing the plugin to a workable state again. So if you can
check in a few days while some dependencies get uploaded to ibiblio, you'll
get a workable plugin once again.
Regards
Johann Reyes
-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent
Hello Phillip, what version of hibernate 2 or 3?
There are plug-ins for both versions, that you find it in
http://mojo.codehaus.org/
Regards
Johann Reyes
-Original Message-
From: phillip rhodes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 02, 2005 9:08 AM
To: users
Johann Reyes
80 matches
Mail list logo