You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Taha Hafeez Siddiqi <ta...@gmail.com> on 2012/03/09 15:07:00 UTC

Re: Multiple database support

Hi

In continuation with the tapestry multiple database support. I have added a blog post about the implementation

http://tawus.wordpress.com/2012/03/03/tapestry-hibernate-multiple-databases/

The patch is

https://github.com/tawus/tapestry5/commit/5b50d916bde19f26eabd6c511a0dda8dde0974ce

I would like to add it to 5.4 branch. But before that I would love any review or thoughts! 
  
regards
Taha

On Nov 15, 2011, at 5:33 PM, Thiago H. de Paula Figueiredo wrote:

> On Tue, 15 Nov 2011 08:54:20 -0200, antalk <an...@intercommit.nl> wrote:
> 
>> Isnt this stuff in Tapestry 5.3 already with the JPA integration ? having
>> support for multiple entitymanagers ?
> 
> Hibernate != JPA. :)
> 
> -- 
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
> 


Re: Multiple database support

Posted by Taha Hafeez Siddiqi <ta...@gmail.com>.
Very sorry :-(

Learning svn has messed my git :)


Re: Multiple database support

Posted by Dragan Sahpaski <dr...@gmail.com>.
I think the commit is missing the source files for
org.apache.tapestry5.hibernate.HibernateServiceLocator
org.apache.tapestry5.internal.hibernate.HibernateServiceLocatorImpl
org.apache.tapestry5.hibernate.annotations.DefaultFactory
org.example.app0.entities.services.AppModule
org.example.app1.NonDefaultFactory
org.example.app1.entities.User2

Cheers,
Dragan Sahpaski



On Fri, Mar 9, 2012 at 6:10 PM, Taha Hafeez Siddiqi <
tawus.tapestry@gmail.com> wrote:

>
>
> You can use
>
> patch -p1 -i 0001-fixes-FACILITIES-97.patch
>
> to patch svn
>
>
> http://codeprairie.net/blogs/chrisortman/archive/2008/01/14/creating-subversion-patches-with-git.aspx
>
> regards
> Taha
>
> On Mar 9, 2012, at 9:57 PM, Dragan Sahpaski wrote:
>
> Is it by any chance possible you produce a svn patch as an attachment here
> in the list?
> I wan't to try it out.
>
> Cheers,
> Dragan Sahpaski
>
>
>
> On Fri, Mar 9, 2012 at 3:07 PM, Taha Hafeez Siddiqi <
> tawus.tapestry@gmail.com> wrote:
>
> Hi
>
>
> In continuation with the tapestry multiple database support. I have added
>
> a blog post about the implementation
>
>
>
>
> http://tawus.wordpress.com/2012/03/03/tapestry-hibernate-multiple-databases/
>
>
> The patch is
>
>
>
>
> https://github.com/tawus/tapestry5/commit/5b50d916bde19f26eabd6c511a0dda8dde0974ce
>
>
> I would like to add it to 5.4 branch. But before that I would love any
>
> review or thoughts!
>
>
> regards
>
> Taha
>
>
> On Nov 15, 2011, at 5:33 PM, Thiago H. de Paula Figueiredo wrote:
>
>
> On Tue, 15 Nov 2011 08:54:20 -0200, antalk <an...@intercommit.nl>
>
> wrote:
>
>
> Isnt this stuff in Tapestry 5.3 already with the JPA integration ?
>
> having
>
> support for multiple entitymanagers ?
>
>
> Hibernate != JPA. :)
>
>
> --
>
> Thiago H. de Paula Figueiredo
>
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
>
> and instructor
>
> Owner, Ars Machina Tecnologia da Informação Ltda.
>
> http://www.arsmachina.com.br
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>
>
>
>
>
>

Re: Multiple database support

Posted by Taha Hafeez Siddiqi <ta...@gmail.com>.

You can use 

patch -p1 -i 0001-fixes-FACILITIES-97.patch

to patch svn

http://codeprairie.net/blogs/chrisortman/archive/2008/01/14/creating-subversion-patches-with-git.aspx

regards
Taha

On Mar 9, 2012, at 9:57 PM, Dragan Sahpaski wrote:

> Is it by any chance possible you produce a svn patch as an attachment here
> in the list?
> I wan't to try it out.
> 
> Cheers,
> Dragan Sahpaski
> 
> 
> 
> On Fri, Mar 9, 2012 at 3:07 PM, Taha Hafeez Siddiqi <
> tawus.tapestry@gmail.com> wrote:
> 
>> Hi
>> 
>> In continuation with the tapestry multiple database support. I have added
>> a blog post about the implementation
>> 
>> 
>> http://tawus.wordpress.com/2012/03/03/tapestry-hibernate-multiple-databases/
>> 
>> The patch is
>> 
>> 
>> https://github.com/tawus/tapestry5/commit/5b50d916bde19f26eabd6c511a0dda8dde0974ce
>> 
>> I would like to add it to 5.4 branch. But before that I would love any
>> review or thoughts!
>> 
>> regards
>> Taha
>> 
>> On Nov 15, 2011, at 5:33 PM, Thiago H. de Paula Figueiredo wrote:
>> 
>>> On Tue, 15 Nov 2011 08:54:20 -0200, antalk <an...@intercommit.nl>
>> wrote:
>>> 
>>>> Isnt this stuff in Tapestry 5.3 already with the JPA integration ?
>> having
>>>> support for multiple entitymanagers ?
>>> 
>>> Hibernate != JPA. :)
>>> 
>>> --
>>> Thiago H. de Paula Figueiredo
>>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
>> and instructor
>>> Owner, Ars Machina Tecnologia da Informa��o Ltda.
>>> http://www.arsmachina.com.br
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>> 
>> 
>> 


Re: Multiple database support

Posted by Dragan Sahpaski <dr...@gmail.com>.
Is it by any chance possible you produce a svn patch as an attachment here
in the list?
I wan't to try it out.

Cheers,
Dragan Sahpaski



On Fri, Mar 9, 2012 at 3:07 PM, Taha Hafeez Siddiqi <
tawus.tapestry@gmail.com> wrote:

> Hi
>
> In continuation with the tapestry multiple database support. I have added
> a blog post about the implementation
>
>
> http://tawus.wordpress.com/2012/03/03/tapestry-hibernate-multiple-databases/
>
> The patch is
>
>
> https://github.com/tawus/tapestry5/commit/5b50d916bde19f26eabd6c511a0dda8dde0974ce
>
> I would like to add it to 5.4 branch. But before that I would love any
> review or thoughts!
>
> regards
> Taha
>
> On Nov 15, 2011, at 5:33 PM, Thiago H. de Paula Figueiredo wrote:
>
> > On Tue, 15 Nov 2011 08:54:20 -0200, antalk <an...@intercommit.nl>
> wrote:
> >
> >> Isnt this stuff in Tapestry 5.3 already with the JPA integration ?
> having
> >> support for multiple entitymanagers ?
> >
> > Hibernate != JPA. :)
> >
> > --
> > Thiago H. de Paula Figueiredo
> > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> > Owner, Ars Machina Tecnologia da Informação Ltda.
> > http://www.arsmachina.com.br
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: dev-help@tapestry.apache.org
> >
>
>