RE: hibernate3-maven-plugin hbm2ddl always try to connect

2007-03-02 Thread Johann Reyes
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: Johann Reyes
Subject: Re: hibernate3-maven-plugin hbm2ddl always try to connect

Dňa Ut 13. Február 2007 Johann Reyes napísal:
 Still after adding the export flag set to false, still tries to connect?

Hello Johann,

with 
componentProperties
outputfilenameschema.sql/outputfilename
exportfalse/export
/componentProperties

it works good without connecting to db server.

thanks, miso



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: hibernate3-maven-plugin hbm2ddl always try to connect

2007-02-21 Thread Michal Hlavac
Dňa Ut 13. Február 2007 Johann Reyes napísal:
 Still after adding the export flag set to false, still tries to connect?

Hello Johann,

with 
componentProperties
outputfilenameschema.sql/outputfilename
exportfalse/export
/componentProperties

it works good without connecting to db server.

thanks, miso


smime.p7s
Description: S/MIME cryptographic signature


RE: hibernate3-maven-plugin hbm2ddl always try to connect

2007-02-13 Thread Johann Reyes
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 try to connect

Dňa Ne 11. Február 2007 Alejandro Scandroli napísal:
 Hi Michal

 Try adding this to your configuration:

 exportfalse/export

 I think it will still try to connect to the database (you always need
 a live connection) but i won't execute the generated statements
 against the database.

hello Alejandro...

Why does it need live connection??

thanks, miso



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: hibernate3-maven-plugin hbm2ddl always try to connect

2007-02-11 Thread Alejandro Scandroli

Hi Michal

Try adding this to your configuration:

exportfalse/export

I think it will still try to connect to the database (you always need
a live connection) but i won't execute the generated statements
against the database.

Alejandro.

On 2/11/07, Michal Hlavac [EMAIL PROTECTED] wrote:

Dňa Pi 9. Február 2007 Johann Reyes napísal:
 Hello Miso

 Try this:

 plugin
   groupIdorg.codehaus.mojo/groupId
   artifactIdhibernate3-maven-plugin/artifactId
   version2.0-SNAPSHOT/version
   configuration
   components
   component
   namehbm2ddl/name

 implementationconfiguration/implementation
   /component
   /components
   componentProperties
   outputfilenameschema.sql/outputfilename
   /componentProperties
   /configuration
 /plugin


hello Johann,

without changes... still connecting to database...

m.




Re: hibernate3-maven-plugin hbm2ddl always try to connect

2007-02-11 Thread Michal Hlavac
Dňa Ne 11. Február 2007 Alejandro Scandroli napísal:
 Hi Michal

 Try adding this to your configuration:

 exportfalse/export

 I think it will still try to connect to the database (you always need
 a live connection) but i won't execute the generated statements
 against the database.

hello Alejandro...

Why does it need live connection??

thanks, miso


smime.p7s
Description: S/MIME cryptographic signature


Re: hibernate3-maven-plugin hbm2ddl always try to connect

2007-02-11 Thread Alejandro Scandroli

Hi

I really don't know why, I should said: I think it will still try to
connect to the database, I think you still need a live connection.
Let me know if it works.

Alejandro.


 a live connection)


On 2/11/07, Michal Hlavac [EMAIL PROTECTED] wrote:

Dňa Ne 11. Február 2007 Alejandro Scandroli napísal:
 Hi Michal

 Try adding this to your configuration:

 exportfalse/export

 I think it will still try to connect to the database (you always need
 a live connection) but i won't execute the generated statements
 against the database.

hello Alejandro...

Why does it need live connection??

thanks, miso




Re: hibernate3-maven-plugin hbm2ddl always try to connect

2007-02-10 Thread Michal Hlavac
Dňa Pi 9. Február 2007 Johann Reyes napísal:
 Hello Miso

 Try this:

 plugin
   groupIdorg.codehaus.mojo/groupId
   artifactIdhibernate3-maven-plugin/artifactId
   version2.0-SNAPSHOT/version
   configuration
   components
   component
   namehbm2ddl/name

 implementationconfiguration/implementation
   /component
   /components
   componentProperties
   outputfilenameschema.sql/outputfilename
   /componentProperties
   /configuration
 /plugin


hello Johann,

without changes... still connecting to database...

m.


smime.p7s
Description: S/MIME cryptographic signature


Re: hibernate3-maven-plugin hbm2ddl always try to connect

2007-02-09 Thread Michal Hlavac
Dňa St 7. Február 2007 Johann Reyes napísal:
 Hello Miso

 From where are you trying to create the schema.sql? from hbm.xml files or
 annotated classes?

from hbm.xml

miso


smime.p7s
Description: S/MIME cryptographic signature


RE: hibernate3-maven-plugin hbm2ddl always try to connect

2007-02-09 Thread Johann Reyes
Hello Miso

Try this:

plugin
groupIdorg.codehaus.mojo/groupId
artifactIdhibernate3-maven-plugin/artifactId
version2.0-SNAPSHOT/version
configuration
components
component
namehbm2ddl/name

implementationconfiguration/implementation
/component
/components
componentProperties
outputfilenameschema.sql/outputfilename
/componentProperties
/configuration
/plugin

Regards

Johann Reyes

-Original Message-
From: Michal Hlavac [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 09, 2007 4:23 AM
To: Maven Users List
Subject: Re: hibernate3-maven-plugin hbm2ddl always try to connect

Dňa St 7. Február 2007 Johann Reyes napísal:
 Hello Miso

 From where are you trying to create the schema.sql? from hbm.xml files or
 annotated classes?

from hbm.xml

miso



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: hibernate3-maven-plugin hbm2ddl always try to connect

2007-02-07 Thread 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-plugin hbm2ddl always try to connect

hello,

I have plugin descriptor:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdhibernate3-maven-plugin/artifactId
version2.0-SNAPSHOT/version
configuration
componentProperties
outputfilenameschema.sql/outputfilename
/componentProperties
/configuration
/plugin

but when I call mvn compile hibernate3:hbm2ddl it try to connect to 
database... But I need only create schema.sql file...

thanks, miso



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]