Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Which wiki page do we have to use to configure dpHibernate?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
NargiT  
View profile  
 More options Jun 21 2011, 12:28 pm
From: NargiT <tigran.tchougour...@gmail.com>
Date: Tue, 21 Jun 2011 09:28:27 -0700 (PDT)
Local: Tues, Jun 21 2011 12:28 pm
Subject: Which wiki page do we have to use to configure dpHibernate?
Hey guys,

I'm trying to configure my Spring BlazeDS integration with Hibernate
project, and I reach the point were I need to use lazy loading for my
database. Because I have some serious latencies thanks to BlazeDS.

Anyway I discover dpHibernate but I can't make it run, I have some
configuration issues ^^.

Can someone help ?

I use
Spring BlazeDS integration 1.0.3
Spring 3.0.5 and Flex 4
Hibernate 3.6.4


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marty Pitt  
View profile  
 More options Jun 21 2011, 5:49 pm
From: Marty Pitt <martyp...@me.com>
Date: Wed, 22 Jun 2011 07:49:20 +1000
Local: Tues, Jun 21 2011 5:49 pm
Subject: Re: Which wiki page do we have to use to configure dpHibernate?
Hi

A getting started guide is here:
http://code.google.com/p/dphibernate/wiki/SetupAndConfigurationV2

Sample projects are disucussed here:
http://code.google.com/p/dphibernate/wiki/Samples

Additional config options are discussed here:
http://code.google.com/p/dphibernate/wiki/ConfigurationOptions

Cheers,

Marty Pitt
Blog: martypitt.wordpress.com
twitter: @marty_pitt

On 22/06/11 2:28 AM, "NargiT" <tigran.tchougour...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
NargiT  
View profile  
 More options Jun 22 2011, 7:03 am
From: NargiT <tigran.tchougour...@gmail.com>
Date: Wed, 22 Jun 2011 04:03:16 -0700 (PDT)
Local: Wed, Jun 22 2011 7:03 am
Subject: Re: Which wiki page do we have to use to configure dpHibernate?
Ok thank you i'm trying to configure that.

Buy the way does it work fine with Spring BlazeDS integration 1.0?

On Jun 21, 11:49 pm, Marty Pitt <martyp...@me.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marty Pitt  
View profile  
 More options Jun 22 2011, 7:26 am
From: Marty Pitt <martyp...@me.com>
Date: Wed, 22 Jun 2011 21:26:22 +1000
Local: Wed, Jun 22 2011 7:26 am
Subject: Re: Which wiki page do we have to use to configure dpHibernate?
Yep.

Working sample using SBI is here:
http://code.google.com/p/lazyoverflow/

Marty Pitt

On 22/06/11 9:03 PM, "NargiT" <tigran.tchougour...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
NargiT  
View profile  
 More options Jun 27 2011, 8:56 am
From: NargiT <tigran.tchougour...@gmail.com>
Date: Mon, 27 Jun 2011 05:56:19 -0700 (PDT)
Local: Mon, Jun 27 2011 8:56 am
Subject: Re: Which wiki page do we have to use to configure dpHibernate?
Hi,

So I add the dphibernate adapter. Everything is compiling and the sql
query is sent. But I receive a Null pointer exception.

Full hibernate sql_show = true + dphibernate trace with the exception
============================================
{operation})****************
{deserialize} 0
Hibernate:
    select
        this_.id_user as id1_13_0_,
        this_.login as login13_0_,
        this_.password as password13_0_,
        this_1_.id_client as id2_14_0_,
        case
            when this_1_.id_user is not null then 1
            when this_.id_user is not null then 0
        end as clazz_0_
    from
        portailweb.user this_
    left outer join
        portailweb.client_user this_1_
            on this_.id_user=this_1_.id_user
    where
        (
            this_.login=?
            and this_.password=?
        )
{invoke} 266
java.lang.NullPointerException
        at
org.dphibernate.serialization.HibernateSerializer.getCollectionProxies(Unkn own
Source)
        at
org.dphibernate.serialization.HibernateSerializer.writeAbstractPersistentCo llection(Unknown
Source)
        at
org.dphibernate.serialization.HibernateSerializer.writeBean(Unknown
Source)
        at
org.dphibernate.serialization.HibernateSerializer.serialize(Unknown
Source)
        at
org.dphibernate.serialization.HibernateSerializer.writeBean(Unknown
Source)
        at
org.dphibernate.serialization.HibernateSerializer.writeBean(Unknown
Source)
        at
org.dphibernate.serialization.HibernateSerializer.serialize(Unknown
Source)
        at
org.dphibernate.serialization.HibernateSerializer.serialize(Unknown
Source)
        at
org.dphibernate.serialization.HibernateSerializer.serialize(Unknown
Source)
        at org.dphibernate.adapters.RemotingAdapter.invoke(Unknown Source)
        at
flex.messaging.services.RemotingService.serviceMessage(RemotingService.java :
183)
        at
flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:
1400)
        at
flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.j ava:
1005)
        at flex.messaging.endpoints.AbstractEndpoint$$FastClassByCGLIB$
$1a3ef066.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at org.springframework.aop.framework.Cglib2AopProxy
$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflec tiveMethodInvocation.java:
150)
        at
org.springframework.flex.core.MessageInterceptionAdvice.invoke(MessageInter ceptionAdvice.java:
66)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflec tiveMethodInvocation.java:
172)
        at
org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(Th rowsAdviceInterceptor.java:
124)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflec tiveMethodInvocation.java:
172)
        at org.springframework.aop.framework.Cglib2AopProxy
$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:572)
        at flex.messaging.endpoints.AMFEndpoint$$EnhancerByCGLIB$
$dff44a61.serviceMessage(<generated>)
        at
flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter .java:
103)
        at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:
158)
        at
flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:
44)
        at
flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.j ava:
67)
        at
flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter .java:
166)
        at
flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:
291)
        at flex.messaging.endpoints.AMFEndpoint$$EnhancerByCGLIB$
$dff44a61.service(<generated>)
        at
org.springframework.flex.servlet.MessageBrokerHandlerAdapter.handle(Message BrokerHandlerAdapter.java:
101)
        at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServ let.java:
790)
        at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServl et.java:
719)
        at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkSe rvlet.java:
644)
        at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.ja va:
560)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio nFilterChain.java:
290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC hain.java:
206)
        at
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilter Internal(OpenSessionInViewFilter.java:
198)
        at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequest Filter.java:
76)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio nFilterChain.java:
235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC hain.java:
206)
        at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
        at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor .invoke(FilterSecurityInterceptor.java:
109)
        at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor .doFilter(FilterSecurityInterceptor.java:
83)
        at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter (ExceptionTranslationFilter.java:
97)
        at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at
org.springframework.security.web.session.SessionManagementFilter.doFilter(S essionManagementFilter.java:
100)
        at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at
org.springframework.security.web.servletapi.SecurityContextHolderAwareReque stFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:
54)
        at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFil ter(RequestCacheAwareFilter.java:
35)
        at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at
org.springframework.security.web.authentication.AbstractAuthenticationProce ssingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:
187)
        at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at
org.springframework.security.web.context.SecurityContextPersistenceFilter.d oFilter(SecurityContextPersistenceFilter.java:
79)
        at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at
org.springframework.web.filter.RequestContextFilter.doFilterInternal(Reques tContextFilter.java:
83)
        at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequest Filter.java:
76)
        at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy .java:
169)
        at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Delegat ingFilterProxy.java:
237)
        at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFil terProxy.java:
167)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio nFilterChain.java:
235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC hain.java:
206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j ava:
233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j ava:
191)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav a:
109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
298)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
859)
        at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
489)
        at java.lang.Thread.run(Thread.java:662)
{serialize} 31
============================================
Did someone which kind of error i'm facing to ??

I just need to log a user which has some rights.

Thx

On Jun 22, 1:26 pm, Marty Pitt <martyp...@me.com> wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
NargiT  
View profile  
 More options Jun 27 2011, 11:59 am
From: NargiT <tigran.tchougour...@gmail.com>
Date: Mon, 27 Jun 2011 08:59:25 -0700 (PDT)
Local: Mon, Jun 27 2011 11:59 am
Subject: Re: Which wiki page do we have to use to configure dpHibernate?
Ok I have something working here. The problem is that my value object
on  the client side are only set for basic types (String, integer) but
my arraycollection is null.

I have a User which has an ArrayCollection of Rights.

When in the client side I'm doing .rights I have a null pointer
exception. And I checked with the debbuger, the service (server side)
returns the good object, with the set of right initialized to
"Persistent Set". The exception that I post before appear before the
client application is called.

"java.lang.NullPointerException
at
org.dphibernate.serialization.HibernateSerializer.getCollectionProxies(Unkn own
Source)
at
org.dphibernate.serialization.HibernateSerializer.writeAbstractPersistentCo llection(Unknown
Source)
at org.dphibernate.serialization.HibernateSerializer.writeBean(Unknown
Source)
at org.dphibernate.serialization.HibernateSerializer.serialize(Unknown
Source)
at org.dphibernate.serialization.HibernateSerializer.writeBean(Unknown
Source)
..."

What should I expect to see in a proxy field?

On Jun 27, 2:56 pm, NargiT <tigran.tchougour...@gmail.com> wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »