Long identity types

12 views
Skip to first unread message

dae

unread,
Jan 25, 2011, 6:12:17 PM1/25/11
to dpHibernate
When using java.lang.Long types as Identities for domain (Entity)
objects, I'm getting ClassCastExceptions. An Integer appears to be
passed instead of Long.

As I was monitoring the Blaze Amf3Input class, I observed that when a
ProxyLoadRequest comes in from the HibernateRemoteObject, the proxyID
property is returned as type 4 (same as Integer). Subsequently, the
proxyID is used to load the proxy, but since the type is Integer
instead of Long, a ClassCastException is thrown.

Anyone have any success using Long types for identities?

Marty Pitt

unread,
Jan 25, 2011, 7:10:47 PM1/25/11
to dphib...@googlegroups.com
Hi

A few people have reported issues with type coercion from Long <-> Integer.

I'll take a look. In the mean time, please log a defect on the google code
site.

Thanks,

Marty

--------------------------------------------------
From: "dae" <dae...@gmail.com>
Sent: Tuesday, January 25, 2011 6:12 PM
To: "dpHibernate" <dphib...@googlegroups.com>
Subject: Long identity types

> --
> You received this message because you are subscribed to the Google Groups
> "dpHibernate" group.
> To post to this group, send email to dphib...@googlegroups.com.
> To unsubscribe from this group, send email to
> dphibernate...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/dphibernate?hl=en.
>
>

Dae Kim

unread,
Jan 25, 2011, 8:16:33 PM1/25/11
to dphib...@googlegroups.com
Thanks Marty.  I've logged the defect.

Dae

dae

unread,
Jan 27, 2011, 7:06:53 PM1/27/11
to dpHibernate
Hi Marty,

I've been working on a solution to this problem. Can I run it by you?

Dae

On Jan 25, 5:16 pm, Dae Kim <dae...@gmail.com> wrote:
> Thanks Marty.  I've logged the defect.
>
> Dae
>
> >> dphibernate...@googlegroups.com<dphibernate%2Bunsu...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/dphibernate?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "dpHibernate" group.
> > To post to this group, send email to dphib...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > dphibernate...@googlegroups.com<dphibernate%2Bunsu...@googlegroups.com>
> > .

dae

unread,
Feb 12, 2011, 3:28:33 PM2/12/11
to dpHibernate
There's a patch for this issue in the Updates section of Project
Home. Look for patch r238.

Dae

Umut

unread,
Feb 12, 2011, 5:45:02 PM2/12/11
to dpHibernate
Hi Dae,

I tried the fix. Got no exceptions when fetching (lazy) Long typed
entities with small id's (i.e. id around 2-16 value range)

Got exceptions lazy loading entities with big id's. (i.e.
12901198506436) BUT it managed to lazy load the entitites despite the
exceptions.

Finally, I tried to entity.deleteRecord() on one of the entities
(with Long id small value), delete failed.

It looks like, it still tries to do parseInt somewhere. (there is at
least one at
org.dphibernate.serialization.AbstractCollectionProxyResolver.getPreparedStatement(Abstra
ctCollectionProxyResolver.java:66)

Here are the exceptions:
--------------------------------------------------------------------------
>>>>> lazy load with big id exception <<<<<<<

java.lang.RuntimeException: java.lang.NumberFormatException: For input
string: "12849985065150"
at
org.dphibernate.serialization.AbstractCollectionProxyResolver.getDescriptorsFromSQL(Abstr
actCollectionProxyResolver.java:50)
at
org.dphibernate.serialization.AbstractCollectionProxyResolver.getProxyDescriptors(Abstrac
tCollectionProxyResolver.java:26)
at
org.dphibernate.serialization.SingleTypeCollectionProxyResolver.getCollectionProxies(Sing
leTypeCollectionProxyResolver.java:33)
at
org.dphibernate.serialization.HibernateSerializer.getCollectionProxies(HibernateSerialize
r.java:530)
at
org.dphibernate.serialization.HibernateSerializer.writeAbstractPersistentCollection(Hiber
nateSerializer.java:418)
at
org.dphibernate.serialization.HibernateSerializer.writeBean(HibernateSerializer.java:
195)

at
org.dphibernate.serialization.HibernateSerializer.serialize(HibernateSerializer.java:
167)

at
org.dphibernate.serialization.HibernateSerializer.writeBean(HibernateSerializer.java:
303)

at
org.dphibernate.serialization.HibernateSerializer.writeBean(HibernateSerializer.java:
207)

at
org.dphibernate.serialization.HibernateSerializer.serialize(HibernateSerializer.java:
167)

at
org.dphibernate.serialization.HibernateSerializer.writeBean(HibernateSerializer.java:
303)

at
org.dphibernate.serialization.HibernateSerializer.writeBean(HibernateSerializer.java:
207)

at
org.dphibernate.serialization.HibernateSerializer.serialize(HibernateSerializer.java:
167)

at
org.dphibernate.serialization.HibernateSerializer.serialize(HibernateSerializer.java:
143)

at
org.dphibernate.serialization.HibernateSerializer.serialize(HibernateSerializer.java:
133)

at
org.dphibernate.adapters.RemotingAdapter.invoke(RemotingAdapter.java:
134)
at
flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:
183)
at
flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:
1417)
at
flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:
878)
at flex.messaging.endpoints.AbstractEndpoint$$FastClassByCGLIB$
$1a3ef066.invoke(<generated>)

at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at org.springframework.aop.framework.Cglib2AopProxy
$CglibMethodInvocation.invokeJoinpoint(Cg
lib2AopProxy.java:692)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:150)
at
org.springframework.flex.core.MessageInterceptionAdvice.invoke(MessageInterceptionAdvice.
java:66)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:172)
at
org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInte
rceptor.java:124)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy
$FixedChainStaticTargetInterceptor.interc
ept(Cglib2AopProxy.java:576)
at flex.messaging.endpoints.AMFEndpoint$$EnhancerByCGLIB$
$7dd1fa19.serviceMessage(<generated
>)
at
flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:
121)
at
flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:
158)
at
flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:
49)
at
flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:
67)
at
flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:
146)
at
flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:
274)
at flex.messaging.endpoints.AMFEndpoint$$EnhancerByCGLIB$
$7dd1fa19.service(<generated>)
at
org.springframework.flex.servlet.MessageBrokerHandlerAdapter.handle(MessageBrokerHandlerA
dapter.java:101)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:
781)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:
726)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
636
)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:
556)
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(ApplicationFilterChain.j
ava:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)

at
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenS
essionInViewFilter.java:198)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:
76
)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)

at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:344)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(Filter
SecurityInterceptor.java:110)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(Filt
erSecurityInterceptor.java:84)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTran
slationFilter.java:98)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManageme
ntFilter.java:95)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFil
ter(SecurityContextHolderAwareRequestFilter.java:55)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCac
heAwareFilter.java:36)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(Securi
tyContextPersistenceFilter.java:80)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter
.java:83)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:
76
)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:
150)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy
.java:237)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:
167)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
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.java:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
298)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:
859)
at org.apache.coyote.http11.Http11AprProtocol
$Http11ConnectionHandler.process(Http11AprProto
col.java:579)
at org.apache.tomcat.util.net.AprEndpoint
$Worker.run(AprEndpoint.java:1555)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NumberFormatException: For input string:
"12849985065150"
at java.lang.NumberFormatException.forInputString(Unknown
Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.<init>(Unknown Source)
at
org.dphibernate.serialization.AbstractCollectionProxyResolver.getPreparedStatement(Abstra
ctCollectionProxyResolver.java:66)
at
org.dphibernate.serialization.AbstractCollectionProxyResolver.getDescriptorsFromSQL(Abstr
actCollectionProxyResolver.java:38)
... 80 more


-----------------------------------------------------------------------------------

>>>>>> deleteRecord() exception <<<<<<<<<<<

{operation})****************saveBean
{deserialize} 0
org.hibernate.TypeMismatchException: Provided id of the wrong type for
class org.orsa.core.domain.Se
naryo. Expected: class java.lang.Long, got class java.lang.Integer
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:
135
)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:
1080)
at org.hibernate.impl.SessionImpl.get(SessionImpl.java:997)
at org.hibernate.impl.SessionImpl.get(SessionImpl.java:990)
at
org.dphibernate.persistence.state.ObjectChangeUpdater.getEntity(ObjectChangeUpdater.java:
316)
at
org.dphibernate.persistence.state.ObjectChangeUpdater.processUpdate(ObjectChangeUpdater.j
ava:143)
at
org.dphibernate.persistence.state.ObjectChangeUpdater.update(ObjectChangeUpdater.java:
72)

at
org.dphibernate.persistence.state.ObjectChangeUpdater.doUpdate(ObjectChangeUpdater.java:
2
64)
at
org.dphibernate.persistence.state.ObjectChangeUpdater.update(ObjectChangeUpdater.java:
233
)
at
org.dphibernate.persistence.state.AuthenticatedObjectChangeUpdater.update(AuthenticatedOb
jectChangeUpdater.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:
307
)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
thodInvocation.java:183)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:150)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInte
rceptor.java:107)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:172)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:
202)
at $Proxy54.update(Unknown Source)
at
org.dphibernate.services.ProxyUpdaterService.saveBean(ProxyUpdaterService.java:
29)
at
org.dphibernate.services.DataAccessService.saveBean(DataAccessService.java:
45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:
406)
at
org.dphibernate.adapters.RemotingAdapter.invoke(RemotingAdapter.java:
124)
at
flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:
183)
at
flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:
1417)
at
flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:
878)
at flex.messaging.endpoints.AbstractEndpoint$$FastClassByCGLIB$
$1a3ef066.invoke(<generated>)

at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at org.springframework.aop.framework.Cglib2AopProxy
$CglibMethodInvocation.invokeJoinpoint(Cg
lib2AopProxy.java:692)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:150)
at
org.springframework.flex.core.MessageInterceptionAdvice.invoke(MessageInterceptionAdvice.
java:66)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:172)
at
org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInte
rceptor.java:124)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
cation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy
$FixedChainStaticTargetInterceptor.interc
ept(Cglib2AopProxy.java:576)
at flex.messaging.endpoints.AMFEndpoint$$EnhancerByCGLIB$
$7dd1fa19.serviceMessage(<generated
>)
at
flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:
121)
at
flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:
158)
at
flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:
49)
at
flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:
67)
at
flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:
146)
at
flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:
274)
at flex.messaging.endpoints.AMFEndpoint$$EnhancerByCGLIB$
$7dd1fa19.service(<generated>)
at
org.springframework.flex.servlet.MessageBrokerHandlerAdapter.handle(MessageBrokerHandlerA
dapter.java:101)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:
781)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:
726)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
636
)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:
556)
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(ApplicationFilterChain.j
ava:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)

at
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenS
essionInViewFilter.java:198)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:
76
)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)

at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:344)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(Filter
SecurityInterceptor.java:110)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(Filt
erSecurityInterceptor.java:84)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTran
slationFilter.java:98)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManageme
ntFilter.java:95)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFil
ter(SecurityContextHolderAwareRequestFilter.java:55)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCac
heAwareFilter.java:36)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(Securi
tyContextPersistenceFilter.java:80)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter
.java:83)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:
76
)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChain
Proxy.java:356)
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:
150)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy
.java:237)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:
167)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
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.java:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
298)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:
859)
at org.apache.coyote.http11.Http11AprProtocol
$Http11ConnectionHandler.process(Http11AprProto
col.java:579)
at org.apache.tomcat.util.net.AprEndpoint
$Worker.run(AprEndpoint.java:1555)
at java.lang.Thread.run(Unknown Source)
> > > >> dphibernate...@googlegroups.com<dphibernate%2Bunsubscribe@googlegr oups.com>
> > > >> .
> > > >> For more options, visit this group at
> > > >>http://groups.google.com/group/dphibernate?hl=en.
>
> > > > --
> > > > You received this message because you are subscribed to the Google Groups
> > > > "dpHibernate" group.
> > > > To post to this group, send email to dphib...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > dphibernate...@googlegroups.com<dphibernate%2Bunsubscribe@googlegr oups.com>

Dae gmail

unread,
Feb 15, 2011, 9:16:55 AM2/15/11
to dphib...@googlegroups.com, dpHibernate
i'll take a look at it.

Dae

Dae Kim

unread,
Feb 15, 2011, 5:21:09 PM2/15/11
to dphib...@googlegroups.com
I noticed in a couple areas of the code that a new Integer is explicitly created (AbstractCollectionProxyResolver and ObjectChangeUpdater).  Can you please log the issue so there's a record of it?

Dae

To unsubscribe from this group, send email to dphibernate...@googlegroups.com.

Umut

unread,
Feb 16, 2011, 9:45:54 AM2/16/11
to dpHibernate
I downloaded RC4 and tried to get it to work with long id, result was
the same. I did the same thing I did for changemessagging version
(making it only for long id types) and it works, lazy loading and
entity.save() and all.

I'll log the issue and mention what I changed to get it to work for
"only" long id's, maybe it will help you fix it.
> ...
>
> tamamını oku »

Umut

unread,
Feb 16, 2011, 10:26:03 AM2/16/11
to dpHibernate
Issue logged.
> ...
>
> tamamını oku »
Reply all
Reply to author
Forward
0 new messages