I am using the hibernate3 plugin to create an h2 database. I use this URL:
jdbc:h2:file:${basedir}/target/h2/testdb;REFERENTIAL_INTEGRITY=FALSE
Then I see it translates to:
*[INFO] Finished at: Sun Oct 04 07:57:17 PDT 2009
[yoursos] INFO [Finalizer] DriverManagerConnectionProvider.close(170
Hi all
i'm using Hibernate3 plugin for generation mapping classes and HBM for an
oracle schema
the probleme that the goal mvn hibernate3:hbm2cfgxml or the the other vlable
goal checks also system table
and the exceution take many time, at the and i get that trace error :
16:05:50,780 DEBUG
i relance my request :)
i'm using Hibernate3 plugin for generation mapping classes and HBM for an
oracle schema
the probleme that the goal mvn hibernate3:hbm2cfgxml or the the other
available goals checks also system table
and the exceution take many time, at the and i get that trace error
PROTECTED]
Sent: Tuesday, August 26, 2008 10:15 AM
To: Maven Users List
Subject: Hibernate3 plugin : problem with mapping generatting
Hi all
i'm using Hibernate3 plugin for generation mapping classes and HBM for an
oracle schema
the probleme that the goal mvn hibernate3:hbm2cfgxml or the the other
So, it is the case that you can only use antrun one in your pom.xml
to do one thing? You can't create new goals using XML?
If so, that is wicked lame.
Alan
On Apr 7, 2008, at 3:38 PM, Alan Gutierrez wrote:
Wayne
You could either include the full plugin config in the plugin or
just a
No, you can't create new goals using XML. And this is not wicked
lame -- its a good thing for people who care about consistent and
repeatable builds across their organization.
You can however bind multiple occurrences of the antrun plugin (with
varying configurations) to multiple phases if you
Wayne
You could either include the full plugin config in the plugin or
just a property value, whatever makes the most sense.
Did you mean...
You could either include the full plugin config in the *profile* or
just a property value, whatever makes the most sense.
Okay. So, there are
The best way to handle this is with multiple profiles. Then you activate one
with -Pprofilename eg -Pdbupdate. You could either include the full plugin
config in the plugin or just a property value, whatever makes the most sense.
Wayne
On 4/4/08, Alan Gutierrez [EMAIL PROTECTED] wrote:
I have
I have the maven plugin working with the following code.
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdhibernate3-maven-plugin/artifactId
version2.0-alpha-2/version
dependencies
dependency
groupIdmysql/groupId
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
PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/running-hibernate3-plugin-with-jpaconfiguration-tf4503567s177.html#a12863736
Sent from the Maven - Users mailing list archive at Nabble.com
Thanks for helping guys, but I finally figured out.
My problem is I didn't have hibernate-annotations as dependency added!
But as I stated in the first email, there is not ERROR reported!
Everything runs and reported as SUCCESSFUL. Maybe the hibernate3
plugin developer should check
How would you propose that the hibernate3 plugin possibly know that
you didn't include the annotations dependency when you should have?
Can you describe (in pseudo-code) how the plugin should behave? I'd
have trouble describing it, much less implementing it. Its one of
those do what I mean
implementation.
-Z
On 9/24/07, Wayne Fay [EMAIL PROTECTED] wrote:
How would you propose that the hibernate3 plugin possibly know that
you didn't include the annotations dependency when you should have?
Can you describe (in pseudo-code) how the plugin should behave? I'd
have trouble
get error if we don't have hibernate-entitymanager when using
jpaconfiguration in hiberante-tools implementation.
-Z
On 9/24/07, Wayne Fay [EMAIL PROTECTED] wrote:
How would you propose that the hibernate3 plugin possibly know that
you didn't include the annotations dependency when you
Hi,
Can someone please help me see why I do not see my database table
created after I ran $ mvn hibernate3:hbm2ddl? I don't have any errors,
just database wasn't updated.
This is my partial pom.xml
plugin
groupIdorg.codehaus.mojo/groupId
.
Regards
Johann Reyes
-Original Message-
From: Charles Harvey III [mailto:[EMAIL PROTECTED] Sent: Friday,
October 20, 2006 10:01 AM
To: Maven Users List
Subject: Re: How do i use the hibernate3 plugin from codehause
You have been able to generate DDL files? See, I think I was mislead
Hi Yves,
2006/10/19, Yves Van Steen [EMAIL PROTECTED]:
I want to create ddl sql files from my hbm files but none of the goals of
the hibernate3 plugin actually works?
Is this plugin useable or still in development?
I'm using it quite successfully to generate ddl-files with
hibernate3:hbm2ddl
[This discussion should really move to [EMAIL PROTECTED]
On 19/10/06, Stefan Hübner [EMAIL PROTECTED] wrote:
It's in development (1.0-SNAPSHOT). There was an attempt to publish
1.0, but that process got stuck a while ago. there are still some bugs
left - like your one. you might want to keep
created automatically. I just want text files.
Thanks.
Charlie
Stefan Hübner said the following on 10/19/2006 1:34 PM:
Hi Yves,
2006/10/19, Yves Van Steen [EMAIL PROTECTED]:
I want to create ddl sql files from my hbm files but none of the
goals of
the hibernate3 plugin actually works
Subject: Re: How do i use the hibernate3 plugin from codehause
You have been able to generate DDL files? See, I think I was mislead by what
hibernate3:hbm2ddl is supposed to do. I wanted it to generate a bunch of text
files with a bunch of CREATE statements. Instead, it connects to my database
Subject: Re: How do i use the hibernate3 plugin from codehause
You have been able to generate DDL files? See, I think I was mislead by what
hibernate3:hbm2ddl is supposed to do. I wanted it to generate a bunch of text
files with a bunch of CREATE statements. Instead, it connects to my database
oktober 2006 16:59
Aan: Maven Users List
Onderwerp: Re: How do i use the hibernate3 plugin from codehause
I'll be damned. I had outputFile setup before and it never did
anything. Maybe
because I had it as a .txt file. I don't care, as long as it is working
now I
feel much better.
Sorry
Hey,
I want to create ddl sql files from my hbm files but none of the goals of
the hibernate3 plugin actually works?
Is this plugin useable or still in development?
If possible I also want to execute these sql files to my database server.
Anybody have any ideas?
My configuration
of
the hibernate3 plugin actually works?
Is this plugin useable or still in development?
If possible I also want to execute these sql files to my database server.
Anybody have any ideas?
My configuration is the same as on the info site
HYPERLINK
http://mojo.codehaus.org/hibernate3-maven-plugin
PROTECTED]
Sent: Thursday, October 19, 2006 1:01 PM
To: Maven Users List
Subject: How do i use the hibernate3 plugin from codehause
Hey,
I want to create ddl sql files from my hbm files but none of the goals of
the hibernate3 plugin actually works?
Is this plugin useable or still
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
snapshots
enabledtrue/enabled
/snapshots
releases
enabledtrue/enabled
/releases
/pluginRepository
--
View this message in context:
http://www.nabble.com/hibernate3-plugin-can%27t-resolve-maven-hibernate3-api-tf2236295.html
enabledtrue/enabled
/releases
/pluginRepository
--
View this message in context:
http://www.nabble.com/hibernate3-plugin-can%27t-resolve-maven-hibernate3-api-tf2236295.html#a6200670
Sent from the Maven - Users forum at Nabble.com
Lakshman,
Thanks for the response. My Category.hbm.xml was not in the
src/main/resources directory, but I have moved it there to now avail.
I am running mvn clean generate-sources to execute the build. Attempting a
mvn clean resources:resources hibernate3:hbm2java yields the same
: Hibernate3 plugin cannot find resource specified in
hibernate.cfg.xml file
Lakshman,
Thanks for the response. My Category.hbm.xml was not in the
src/main/resources directory, but I have moved it there to now avail.
I am running mvn clean generate-sources to execute the build
Subject: RE: Hibernate3 plugin cannot find resource specified in
hibernate.cfg.xml file
Hi Bryan,
When you execute mvn clean resources:resources does your
hibernate.cfg.xml file get copied into target/classes ?
Thanks
Lakshman
-Original Message-
From: Bryan Woodcox [mailto:[EMAIL
]
Sent: Sunday, 20 August 2006 6:47 AM
To: users@maven.apache.org
Subject: Hibernate3 plugin cannot find resource specified in
hibernate.cfg.xml file
I am using the hibernate3 plugin for maven2. When I attempt to
generate my
POJO's from my hbm files I get the following error.
[INFO
I am using the hibernate3 plugin for maven2. When I attempt to generate my
POJO's from my hbm files I get the following error.
[INFO] Preparing hibernate3:hbm2java
[WARNING] Removing: hbm2java from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project
Hi Peter
thank you for this information.
Unfortunatly I am forced to use maven 1.0.2 by our business commandment and
therefor can not use the hibernate3-maven-plugin.
Best Regards
Olaf Bigalk
--
View this message in context:
http://www.nabble.com/Problem-hibernate3-plugin-cfg2cfgxml
there any download link for a
plugin binary distribution.
Regards
Olaf Bigalk
--
View this message in context:
http://www.nabble.com/Problem-hibernate3-plugin-cfg2cfgxml-t1310262.html#a3685566
Sent from the Maven - Users forum at Nabble.com
.
Does the hibernate3-maven-plugin run with maven 1.0.2 ?
--
View this message in context:
http://www.nabble.com/Problem-hibernate3-plugin-cfg2cfgxml-t1310262.html#a3629767
Sent from the Maven - Users forum at Nabble.com
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
O. Bigalk wrote:
where can I get the hibernate3-maven-plugin ?
Add the following to your pom.xml
pluginRepositories
pluginRepository
idsnapshots/id
urlhttp://snapshots.maven.codehaus.org/maven2/url
/pluginRepository
-Original Message-
From: O. Bigalk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 8:44 AM
To: users@maven.apache.org
Subject: Re: Problem hibernate3 plugin cfg2cfgxml
Hi Taavi,
where can I get the hibernate3-maven-plugin ?
I found some documentation on it on codehaus.org but I didn't
]
Sent: Monday, March 27, 2006 3:33 PM
To: Maven Users List
Subject: Re: wither the hibernate3 plugin?
We're all frustrated by issues like this.
Call or email Sun and complain... Ask them to publish Jars (source,
binary javadocs) like this under a license which more freely allows
distribution
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Over on MOJO I see a reference to a hibernate3 plugin. So following
instructions I put the following in my POM:
repositories
repository
idMaven Snapshots/id
urlhttp://snapshots.maven.codehaus.org/maven2
PM
To: Maven Users List
Subject: wither the hibernate3 plugin?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Over on MOJO I see a reference to a hibernate3 plugin. So following
instructions I put the following in my POM:
repositories
repository
idMaven Snapshots/id
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
Hey Peter,
I think you looked in the wrong place. This would be the
correct URL:
http://snapshots.maven.codehaus.org/maven2/org/codehaus/mojo/hibernate3-
maven-plugin/
OK... but why the error?
- --
/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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johann Reyes wrote:
the pluginRepositories format should be like the following:
That solved the immediate problem and now I've careened into the next
problem.
required artifacts missing:
javax.persistence:ejb:jar:3.0-public-draft-20060118
-
From: Peter L. Berghold [mailto:[EMAIL PROTECTED]
Sent: Monday, March 27, 2006 3:03 PM
To: Johann Reyes
Cc: 'Maven Users List'
Subject: Re: wither the hibernate3 plugin?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johann Reyes wrote:
the pluginRepositories format should be like
-persistence.jar to ejb-3.0-public-draft-20060118.jar
Regards
Johann Reyes
-Original Message-
From: Peter L. Berghold [mailto:[EMAIL PROTECTED]
Sent: Monday, March 27, 2006 3:03 PM
To: Johann Reyes
Cc: 'Maven Users List'
Subject: Re: wither the hibernate3 plugin?
-BEGIN PGP
the hibernate3 plugin?
We're all frustrated by issues like this.
Call or email Sun and complain... Ask them to publish Jars (source,
binary javadocs) like this under a license which more freely allows
distribution so they can be included in ibiblio. There's really no good
reason why APIs can't
Hello everybody,
I got rid of this error, sot that the next one can come and torture me :)
This time stack trace is following:
com.thoughtworks.qdox.parser.ParseException: syntax error @[10,2] in
file:/C:/devTest/timemanager/data/src/main/java/ee/zero/data/user/Address.java
at
Johann Reyes
-Original Message-
From: Sylvain Vieujot [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 11:39 AM
To: Maven Users List
Subject: RE: Problem hibernate3 plugin cfg2cfgxml
I did a private maven plugin that does just that : Fetch the annotations
and add the mapping class
-Original Message-
From: Taavi Sildeberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 22, 2006 6:13 AM
To: Maven Users List
Subject: Re: Problem hibernate3 plugin cfg2cfgxml
Hey Sylvain,
If this is not so big trouble can you send me some sample pom.xml, from
I can learn how to configure your
a person is using annotations or not.
Thanks
Johann Reyes
-Original Message-
From: Sylvain Vieujot [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 21, 2006 11:39 AM
To: Maven Users List
Subject: RE: Problem hibernate3 plugin cfg2cfgxml
I did a private maven plugin that does just
Hello Johann,
This is configuration for hibernate3 plugin. But I was looking
configuration for the Sylvain Vieujot plugin, that adds the mappings.
Taavi
Johann Reyes wrote:
Heelo Taavi:
You can find an example here:
jdk4:
https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/hibernate3
Hello Sylvain,
When I try to use your plugin, I got this result from it:
C:\devTest\timemanager\datamvn hibernate-annotations:mappings-compile
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'hibernate-annotations'.
Downloading:
I sometime have problems like this.
Try to do an mvn clean before.
For me it solved the problem.
On Wed, 2006-03-22 at 16:10 +0200, Taavi Sildeberg wrote:
Hello Sylvain,
When I try to use your plugin, I got this result from it:
C:\devTest\timemanager\datamvn
, 2006 9:40 AM
To: [EMAIL PROTECTED]
Cc: Maven Users List
Subject: Re: Problem hibernate3 plugin cfg2cfgxml
I sometime have problems like this.
Try to do an mvn clean before.
For me it solved the problem.
On Wed, 2006-03-22 at 16:10 +0200, Taavi Sildeberg wrote:
Hello Sylvain,
When I try to use
, 2006 9:40 AM
To: [EMAIL PROTECTED]
Cc: Maven Users List
Subject: Re: Problem hibernate3 plugin cfg2cfgxml
I sometime have problems like this.
Try to do an mvn clean before.
For me it solved the problem.
On Wed, 2006-03-22 at 16:10 +0200, Taavi Sildeberg wrote:
Hello Sylvain,
When I try to use
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
: Taavi Sildeberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 8:33 AM
To: Maven Users List
Subject: Re: Problem hibernate3 plugin cfg2cfgxml
Hey,
But is there any way to create hibernate.cfg.xml with mappings
automatically or I really write it manually?
Maby same ant task, or other tool
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 for so quick answer.
Yes a have set the ejb3 to true.
Here is my pom.xml configuration
: Re: Problem hibernate3 plugin cfg2cfgxml
Hey,
But is there any way to create hibernate.cfg.xml with mappings
automatically or I really write it manually?
Maby same ant task, or other tool, preferably maven 2 :)
Taavi
Johann Reyes wrote:
Hello Taavi
Ahh sorry, my mistake, I
PROTECTED]
Sent: Tuesday, March 21, 2006 11:39 AM
To: Maven Users List
Subject: RE: Problem hibernate3 plugin cfg2cfgxml
I did a private maven plugin that does just that : Fetch the annotations
and add the mapping class=.../ to an hibernate.cfg.xml file.
It would need to be a bite polished to go
Subject: RE: Problem hibernate3 plugin cfg2cfgxml
I did a private maven plugin that does just that : Fetch the annotations
and add the mapping class=.../ to an hibernate.cfg.xml file.
It would need to be a bite polished to go in a public repository, but if
you're interested, I could review
Hello,
I have a three java files with annotations. When I try to generate the
hibernate.cfg.xml with maven.hibernte3.plugin, then the mapped classes
are never included inside hibernate.cfg.xml file. If I add them manualy
then hbm2ddl works fine.
In the plugin manual is that
]
Sent: Monday, March 20, 2006 5:30 AM
To: Maven Users List
Subject: Problem hibernate3 plugin cfg2cfgxml
Hello,
I have a three java files with annotations. When I try to generate the
hibernate.cfg.xml with maven.hibernte3.plugin, then the mapped classes
are never included inside
:
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]
Sent: Monday, March 20, 2006 5:30 AM
To: Maven Users List
Subject: Problem hibernate3
A site that describes goals and documents the plugin would be most usefull.
Srgjan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
06-02-13, Michal Palička [EMAIL PROTECTED] napisał(a):
the Hibernate3 plugin can be found at the mojo-sandbox.
Hi,
(Since it's the users mailing list I hope such irritating questions
are acceptable ;))
What's the difference between the Hibernate3 plugin hosted at the
mojo-sandbox
) 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
Hello,
the Hibernate3 plugin can be found at the mojo-sandbox.
http://mojo.codehaus.org/faq.html#what-is-the-sandbox
I am not sure whether it supports Maven 1.x.
You'll have to build it from the source.
The source can be downloaded from a public SVN repository.
Regards
Michal Palicka
I think all mojo plugins will work on Maven 2 only.
-allan
Michal Palička wrote:
Hello,
the Hibernate3 plugin can be found at the mojo-sandbox.
http://mojo.codehaus.org/faq.html#what-is-the-sandbox
I am not sure whether it supports Maven 1.x.
You'll have to build it from the source
hello all,
i m currently using Maven 1.1, and i need to download
hibernate3-maven-plugin
can anyone tell me where i can downlod it, and which version?
thanks in advance and regards
marco
Works now fine after manually figuring out and
installing dependencies !
after downloading xdoclet2 from codehaus, adjust pom
file
build
...
plugin
groupIdxdoclet/groupId
artifactIdmaven2-xdoclet2-plugin/artifactId
version2.0.5-SNAPSHOT/version
configuration
Tony,
Works now fine after manually figuring out and
installing dependencies !
after downloading xdoclet2 from codehaus, adjust pom
file
Look at my reply to your other post, and pointed to sample. You
should not have to manually download and edit anything. It'll JUST
WORK (TM) :-).
Shash
Subject: Re: m2 , xdoclet2 , hibernate3 plugin with
1.5 generic collections WORKS
Tony,
Works now fine after manually figuring out and
installing dependencies !
after downloading xdoclet2 from codehaus, adjust
pom
file
Look at my reply to your other post, and pointed to
sample. You
Can you put this information on the wiki or in a JIRA issue requesting to
enhance the documentation with this info?
regards,
Wim
2006/1/27, tony nys [EMAIL PROTECTED]:
Works now fine after manually figuring out and
installing dependencies !
after downloading xdoclet2 from codehaus, adjust
76 matches
Mail list logo