On Thu, 07 Oct 2010 21:20:11 -0300, ael wrote:
This is my code in Hibernate returning LIST...
Your code isn't using Tapestry-Hibernate nor Tapestry-IoC at all. Check
the steps at
http://tapestry.apache.org/tapestry5.1/tapestry-hibernate/userguide.html,
section Managing Transactions usin
This is my code in Hibernate returning LIST...
Hibernate DAO
public class TbCommandDAO {
protected Session session;
protected Transaction tx = null;
public TbCommandDAO() {
SessionFactory factory = HibernateUtil.getSessionFactory();
this.session = factory.getCurrent
I never could get working, however i settled for this
alternative which still allows me to define annotation driven transactions by
dropping these bean definitions in my context.xml
as described here.
Thanks,Jeshurun
--- On Thu, 10/7/10, Thiago H. de Paula Figueiredo w
On Thu, 07 Oct 2010 16:15:17 -0300, Jeshurun Daniel
wrote:
Hi!Hi again,
If you're talking about Spring beansYes I am
Are you sure you used all the XML namespaces correctly?Could you please
elaborate on this a little?
Hmm that is very strange. Did you use the OpenSessionInView filter as
> Hi!Hi again,
>If you're talking about Spring beansYes I am
>Are you sure you used all the XML namespaces correctly?Could you please
>elaborate on this a little?
Hmm that is very strange. Did you use the OpenSessionInView filter as well? Do
you think that has anything to do with it? Do i have t
On Thu, 07 Oct 2010 15:34:36 -0300, Jeshurun Daniel
wrote:
Hi Thiago,
Hi!
Thanks for the quick reply. I know this is the pre-spring 2.0 way of
doing things and is the way to go, which was is
my question. When i do things the old way, they work fine, but when I
use , it doesn't work,
Hi Thiago,
Thanks for the quick reply. I know this is the pre-spring 2.0 way of doing
things and is the way to go, which was is my question.
When i do things the old way, they work fine, but when I use
, it doesn't work, the proxy never gets created for the
service class.
I was wondering if it
On Thu, 07 Oct 2010 15:05:58 -0300, Jeshurun Daniel
wrote:
Hello everyone,
Hi!
This is a pure Spring question, but I'll anwer: use Spring 2.5+'s
, not TransactionProxyFactoryBean, which is the way
older way of dealing with transactions.
--
Thiago H. de Paula Figueiredo
Independent Ja
Hello everyone,
I'm using Spring's OpenSessionInViewFilter to allow lazy loading of Hibernate
domain objects in my page class. Now the filter opens sessions are read only,
and when I have to save something in my service bean, i get a "Write operations
are not allowed in read-only mode (FlushMode
Hi all,
I am using Jboss 4.2.3.GA. Although, I update WEB-INF/classes, I am not able
to experiment live class reloading. My application is not reloaded. I always
have to redeploy my application. Is this feature depends on the container?
Thanks...
Hi Kai,
Actually it was working all the time. I was injecting @Session instead of
@Request to get a session and was getting the exception no Service implemented
it. I was able to inject a (not null) request object, but the session in it was
still null, probably because this was too early in the
Yes, it worked for 5.1 and still works for 5.2. There are absolutely no
delays.
On Thu, Oct 7, 2010 at 11:42 AM, Blower, Andy wrote:
> We've always added "-Dorg.mortbay.jetty.webapp.parentLoaderPriority=true",
> something doesn't work properly if we don't, but that was all done over 2
> years ago
We've always added "-Dorg.mortbay.jetty.webapp.parentLoaderPriority=true",
something doesn't work properly if we don't, but that was all done over 2 years
ago. The dev environment hasn't changed, but with T5.2.0 Live class reloading
no longer works.
Igor, does live class reloading work properly
13 matches
Mail list logo