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
EMAIL 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
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
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
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
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 prop
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 pro
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 ha
I have the maven plugin working with the following code.
org.codehaus.mojo
hibernate3-maven-plugin
2.0-alpha-2
mysql
mysql-connector-java
5.1.3
process-resources
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
titymanager in it's
> pom. We 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
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 should have?
>
> Can you describe (in pseudo-code) how the pl
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 w
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 for thi
quot;)
> private String name;
>
> public Short getId() {
> return id;
> }
>
> public void setId(Short id) {
> this.id = id;
> }
>
> public String getName() {
> return name;
> }
>
> public void setName(Stri
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
org.codehaus.mojo
hibernate3-maven-plugin
ll-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
Subject: Re: How do i use the hibernate3 plugin from codehause
You have been able to generate DD
16:59
Aan: Maven Users List
Onderwerp: Re: How do i use the hibernate3 plugin from codehause
I'll be damned. I had 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 that I said it did
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 by what
hibernate3:hbm2ddl is supposed to do. I wanted it to generate a bunch of text
files with a bunch of CREATE statements. Inste
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 by what
hibernate3:hbm2ddl is supposed to do. I wanted it to generate a bunch of text
files with a bunch of CREATE statements. I
omatically. 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?
Is thi
[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 t
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
help you 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
Van Steen [mailto:[EMAIL 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 p
on 10/19/2006 1:00 PM:
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?
f
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-ma
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 is
true
--
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.
--
http://snapshots.maven.codehaus.org/maven2/
true
true
--
View this message in context:
http://www.nabble.com/hibernate3-plugin-can%27t-resolve-maven-hibernate3-api-tf2236295.html#a6200670
Sent from the Maven -
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:
rg
> Subject: RE: 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.
>
>
>
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
error/st
TECTED]
> 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 fi
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 pr
Hello Bigalk
At the moment the hibernate3 plugin is available as a snapshot only, you
don't need to download it, you just need to include the snapshot repository
in your pom.xml as noted here:
snapshots
http://snapshots.maven.codehaus.org/maven2
Or here:
http://maven.apach
Thank you for the link, but I did not find 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 t
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
-Original Message-
> From: Wayne Fay [mailto:[EMAIL PROTECTED]
> 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
-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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
O. Bigalk wrote:
>
>
> where can I get the hibernate3-maven-plugin ?
>
Add the following to your pom.xml
snapshots
http://snapshots.maven.codehaus.org/maven2
I also have
org.codehaus.moj
ncies.
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.
---
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 so they can be included in ibiblio. There's really no go
beta8.
> zip?download
>
> Just rename the ejb-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 R
-
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 sh
-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-2006011
-
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-
Hash: SHA1
[EMAIL PROTECTED] wrote:
> Hey Peter,
> I think you loo
-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?
- --
::
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:
Maven Snapshots
http
-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:
Maven Snapshots
http://snapshots.maven.codehaus.org/maven2
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
com.tho
, 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,
Whe
, 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,
>
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\data>mvn hibernate-annotations:m
Hello Sylvain,
When I try to use your plugin, I got this result from it:
C:\devTest\timemanager\data>mvn hibernate-annotations:mappings-compile
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'hibernate-annotations'.
Downloading:
http://repo1.maven.org/maven2
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
ings 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 Mes
-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
ions 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 that : Fetch the annotation
D]
> 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 to an hibernate.cfg.xml file.
> It would need to be a bite polishe
lto:[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 to an hibernate.cfg.xml file.
It would need to be a bite polished to go in a public
ch 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, preferably maven 2
--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 for so quick answer.
Yes a have set the ejb3 to true.
Here is my pom.xml con
From: 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
lly have 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
-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 plugin cfg2cfgxml
Hello,
I have a three java files with
]
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
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 hibernate3:cfg2cfgx
) 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 H
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 hoste
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]
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
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
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
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,
Users List
> 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
>
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) :-).
Works now fine after manually figuring out and
installing dependencies !
after downloading xdoclet2 from codehaus, adjust pom
file
...
xdoclet
maven2-xdoclet2-plugin
2.0.5-SNAPSHOT
org.xdoclet.plugin.hibernate.HibernateMappingPlugin
78 matches
Mail list logo