On Tue, Mar 18, 2014 at 10:02 AM, Dmitriy Vsekhvalnov <
dvsekhval...@gmail.com> wrote:
> Kalle, do you mean it works only for traversing object graph? (sorry i
> probably have to check myself before asking stupid questions).
>
Yes. It checks that a security principal of the currently executing s
Kalle, do you mean it works only for traversing object graph? (sorry i
probably have to check myself before asking stupid questions).
On Tue, Mar 18, 2014 at 8:31 PM, Kalle Korhonen
wrote:
> On Tue, Mar 18, 2014 at 7:43 AM, Dmitriy Vsekhvalnov <
> dvsekhval...@gmail.com
> > wrote:
>
> > is tapes
> Works perfectly
Great!
> and is stateless
Music to my ears :)
On Tue, Mar 18, 2014 at 7:43 AM, Dmitriy Vsekhvalnov wrote:
> is tapestry-security-jpa provides filtering data support? E.g. when i
> execute .list() operation with query can it apply filter based on owner or
> other rule?
> like Hibernate filters?
>
No, this is meant strictly for securing data
On Tue, Mar 18, 2014 at 6:08 AM, Ken in Nashua wrote:
> Thanks Kalle, thats the answer I was seeking.
> Which persistence Service wold in order to ORM o MySQL ?
> Does that JPA construct do it itself somehow like javabeans or can I use
> the existing hibernate persistence service that comes with
Yup, I'm using 5.4 in all my apps with the exception of one older one, so
no problem there.
Okay, for anybody else that may run into this situation, here is my demo
code. This is a main form with two separate ajax warnings chained together
with validation. The main form is injected as a block but
is tapestry-security-jpa provides filtering data support? E.g. when i
execute .list() operation with query can it apply filter based on owner or
other rule?
like Hibernate filters?
On Tue, Mar 18, 2014 at 5:08 PM, Ken in Nashua wrote:
> Thanks Kalle, thats the answer I was seeking.
>
> Which pe
Thanks Kalle, thats the answer I was seeking.
Which persistence Service wold in order to ORM o MySQL ?
Does that JPA construct do it itself somehow like javabeans or can I use the
existing hibernate persistence service that comes with your suite ?
Thanks for the solution, appreciate that.
Ken
On Tue, 18 Mar 2014 08:05:51 -0300, srikaanth
wrote:
I have to join two table with different column name in it.
eg:
table_A ( id, name,age)
table_B ( id,sex,ph)
my need is this i have to show in grid like (name,age,sex,ph) in a
single grid or table .
The join itself is a Hibernate thi
I have to join two table with different column name in it.
eg:
table_A ( id, name,age)
table_B ( id,sex,ph)
my need is this i have to show in grid like (name,age,sex,ph) in a
single grid or table .
Am working on a tapestry project. Am using grid to show table using
hibernate. I was able to
On Tue, 18 Mar 2014 02:50:36 -0300, Andreas Ernst wrote:
The easiest way is to create a entity class from a sql view. Or you can
try this:
http://wiki.apache.org/tapestry/Tapestry5HowtoSelectWithObjects
Please do *not* use that (the code in that page). The approach is very bad
and I expl
On Tue, 18 Mar 2014 01:39:28 -0300, srikaanth
wrote:
Hi all,
Hi!
Am working on a tapestry project. Am using grid to show table using
hibernate. I was able to show single table structure . But here i need
to join two table and show it in single table . Am using tapestry 5.3.
Is there
Hi Lance,
Thanks for the info i will work out as per your methods
and let u know. This methods explain me a lot. Keep going your good work.
Reg
Srikaanth .k
On Tuesday 18 March 2014 01:10 PM, Lance Java wrote:
Another, possibly much simpler, approach is to wrap the
Hiberna
Another, possibly much simpler, approach is to wrap the
HibernateGridDataSource in a ConverterGridDataSource
The ConverterGridDataSource will take a GridDataSource and a Converter in
it's constructor and it will delegate through to another GridDataSource,
converting each row to a bean as it goes.
In hibernate, the HQL query "from Entity1 join Entity2" will return
List with Object[0] being Entity1 and Object[2] being Entity2.
You could use a custom BeanModel and PropertyConduits to look up properties
from the Object[] array.
See the demo here which uses a custom BeanModel and PropertyCondu
15 matches
Mail list logo