Re: tapestry5-db-migrations

2012-03-09 Thread Massimo Lusetti
On Fri, Mar 9, 2012 at 3:18 AM, Taha Hafeez Siddiqi
tawus.tapes...@gmail.com wrote:

 Thanks Christian

 The only reservation we have against Liquibase is xml. There is a groovy 
 support but I am not sure how good it is.  But I think it is the only way to 
 go :-(

I've used that in the past and indeed is XML based but it serve just
for db schema updates, not data nor defaults.

Cheers
-- 
Massimo
http://meridio.blogspot.com

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: tapestry5-db-migrations

2012-03-09 Thread Dmitriy Vsekhvalnov
Take a look: http://code.google.com/p/flyway/



On Fri, Mar 9, 2012 at 11:05 AM, Massimo Lusetti mluse...@gmail.com wrote:

 On Fri, Mar 9, 2012 at 3:18 AM, Taha Hafeez Siddiqi
 tawus.tapes...@gmail.com wrote:

  Thanks Christian
 
  The only reservation we have against Liquibase is xml. There is a groovy
 support but I am not sure how good it is.  But I think it is the only way
 to go :-(

 I've used that in the past and indeed is XML based but it serve just
 for db schema updates, not data nor defaults.

 Cheers
 --
 Massimo
 http://meridio.blogspot.com

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: tapestry5-db-migrations

2012-03-09 Thread Taha Hafeez Siddiqi
Thanks Dmitriy
 
I had a look at flyway, but the advantage liquibase has over flyway is 
hibernate support. Also flyway does not provide a generic way of writing 
sqls(not sure)

regards
Taha

On Mar 9, 2012, at 2:49 PM, Dmitriy Vsekhvalnov wrote:

 Take a look: http://code.google.com/p/flyway/
 
 
 
 On Fri, Mar 9, 2012 at 11:05 AM, Massimo Lusetti mluse...@gmail.com wrote:
 
 On Fri, Mar 9, 2012 at 3:18 AM, Taha Hafeez Siddiqi
 tawus.tapes...@gmail.com wrote:
 
 Thanks Christian
 
 The only reservation we have against Liquibase is xml. There is a groovy
 support but I am not sure how good it is.  But I think it is the only way
 to go :-(
 
 I've used that in the past and indeed is XML based but it serve just
 for db schema updates, not data nor defaults.
 
 Cheers
 --
 Massimo
 http://meridio.blogspot.com
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 
 


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



RE: tapestry5-db-migrations

2012-03-09 Thread Toby O'Rourke
Hi, 

I write as a heavy liquibase user - we've got about 15 projects here that are 
all using liquibase with the maven plugin. 

One of the great things vs. flyaway is the abstraction provided by the xml 
changesets - you are hiding away from the vendor specific SQL that always seems 
to crop up and makes using things like HSQLDB or H2 for integration tests 
harder than it should be. 

Cheers, 

Toby.

From: Taha Hafeez Siddiqi [tawus.tapes...@gmail.com]
Sent: 09 March 2012 11:46
To: Tapestry users
Subject: Re: tapestry5-db-migrations

Thanks Dmitriy

I had a look at flyway, but the advantage liquibase has over flyway is 
hibernate support. Also flyway does not provide a generic way of writing 
sqls(not sure)

regards
Taha

On Mar 9, 2012, at 2:49 PM, Dmitriy Vsekhvalnov wrote:

 Take a look: http://code.google.com/p/flyway/



 On Fri, Mar 9, 2012 at 11:05 AM, Massimo Lusetti mluse...@gmail.com wrote:

 On Fri, Mar 9, 2012 at 3:18 AM, Taha Hafeez Siddiqi
 tawus.tapes...@gmail.com wrote:

 Thanks Christian

 The only reservation we have against Liquibase is xml. There is a groovy
 support but I am not sure how good it is.  But I think it is the only way
 to go :-(

 I've used that in the past and indeed is XML based but it serve just
 for db schema updates, not data nor defaults.

 Cheers
 --
 Massimo
 http://meridio.blogspot.com

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: tapestry5-db-migrations

2012-03-09 Thread Dmitriy Vsekhvalnov
sure thing. just sharing options.

honestly none of available migration frameworks for java works for me. so
ended up with home grown.

On Fri, Mar 9, 2012 at 2:46 PM, Taha Hafeez Siddiqi 
tawus.tapes...@gmail.com wrote:

 Thanks Dmitriy

 I had a look at flyway, but the advantage liquibase has over flyway is
 hibernate support. Also flyway does not provide a generic way of writing
 sqls(not sure)

 regards
 Taha

 On Mar 9, 2012, at 2:49 PM, Dmitriy Vsekhvalnov wrote:

  Take a look: http://code.google.com/p/flyway/
 
 
 
  On Fri, Mar 9, 2012 at 11:05 AM, Massimo Lusetti mluse...@gmail.com
 wrote:
 
  On Fri, Mar 9, 2012 at 3:18 AM, Taha Hafeez Siddiqi
  tawus.tapes...@gmail.com wrote:
 
  Thanks Christian
 
  The only reservation we have against Liquibase is xml. There is a
 groovy
  support but I am not sure how good it is.  But I think it is the only
 way
  to go :-(
 
  I've used that in the past and indeed is XML based but it serve just
  for db schema updates, not data nor defaults.
 
  Cheers
  --
  Massimo
  http://meridio.blogspot.com
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
  For additional commands, e-mail: users-h...@tapestry.apache.org
 
 


 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Re: tapestry5-db-migrations

2012-03-08 Thread Taha Hafeez Siddiqi
Thanks Christian

The only reservation we have against Liquibase is xml. There is a groovy 
support but I am not sure how good it is.  But I think it is the only way to go 
:-(

regards
Taha

On Mar 5, 2012, at 8:12 PM, derkoe wrote:

 
 Taha Hafeez wrote
 
 I was looking for something like rails migration and came across
 https://github.com/spreadthesource/tapestry5-db-migrations. It looks
 promising. I have a few queries about it :-
 
 1) Is it being actively maintained as the last commit was 9 months ago.
 
 2) It is based on Tapestry-5.2. Any plans of upgrading to 5.3
 
 3) And how do we add a custom column definition like in
 @Column(columnDefinition = longtext) etc.
 
 
 We use Liquibase (http://www.liquibase.org/) - it works like a charm. We
 created a simple Tapestry service which you can contribute a collection of
 Liquibase changelog files. 
 
 This LiquibaseService is called from a HibernateConfigurer which builds the
 Hibernate ConnectionProvider and passes the connection to the
 LiquibaseService.
 
 --
 View this message in context: 
 http://tapestry.1045711.n5.nabble.com/tapestry5-db-migrations-tp5535228p5537715.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: tapestry5-db-migrations

2012-03-05 Thread derkoe

Taha Hafeez wrote
 
 I was looking for something like rails migration and came across
 https://github.com/spreadthesource/tapestry5-db-migrations. It looks
 promising. I have a few queries about it :-
 
 1) Is it being actively maintained as the last commit was 9 months ago.
 
 2) It is based on Tapestry-5.2. Any plans of upgrading to 5.3
 
 3) And how do we add a custom column definition like in
 @Column(columnDefinition = longtext) etc.
 

We use Liquibase (http://www.liquibase.org/) - it works like a charm. We
created a simple Tapestry service which you can contribute a collection of
Liquibase changelog files. 

This LiquibaseService is called from a HibernateConfigurer which builds the
Hibernate ConnectionProvider and passes the connection to the
LiquibaseService.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/tapestry5-db-migrations-tp5535228p5537715.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



tapestry5-db-migrations

2012-03-04 Thread Taha Hafeez Siddiqi
Hi

I was looking for something like rails migration and came across 
https://github.com/spreadthesource/tapestry5-db-migrations. It looks promising. 
I have a few queries about it :-

1) Is it being actively maintained as the last commit was 9 months ago.

2) It is based on Tapestry-5.2. Any plans of upgrading to 5.3

3) And how do we add a custom column definition like in 
@Column(columnDefinition = longtext) etc.


regards
Taha