Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-302

Ensure related items are mapped into pojo (possible eager loading of parent/child relationship)

    Details

      Description

      Example was LeaseItem / LeaseTerm; the LeaseTerms were not mapped; not sure why, but seems to be sufficient to map in a just-in-time fashion.

      Thread [560514446@qtp-1758293396-4] (Suspended (breakpoint at line 163 in FrameworkSynchronizer$3))
      FrameworkSynchronizer$3.run() line: 163
      FrameworkSynchronizer$5.call() line: 220
      FrameworkSynchronizer$5.call() line: 1
      FrameworkSynchronizer.withLogging(PersistenceCapable, Callable<T>, CalledFrom) line: 205
      FrameworkSynchronizer.withLogging(PersistenceCapable, Runnable, FrameworkSynchronizer$CalledFrom) line: 216
      FrameworkSynchronizer.preDirtyProcessingFor(PersistenceCapable, FrameworkSynchronizer$CalledFrom) line: 157
      IsisLifecycleListener$3.doRun() line: 105
      IsisLifecycleListener$3(IsisLifecycleListener$RunnableAbstract).run() line: 187
      IsisLifecycleListener.withLogging(IsisLifecycleListener$Phase, InstanceLifecycleEvent, Runnable) line: 166
      IsisLifecycleListener.preDirty(InstanceLifecycleEvent) line: 101
      JDOCallbackHandler.preDirty(Object) line: 262
      JDOStateManager.preWriteField(int) line: 3572
      JDOStateManager(AbstractStateManager).setObjectField(PersistenceCapable, int, Object, Object) line: 2116
      LeaseTermForIndexableRent(LeaseTerm).setEndDate(LocalDate) line: not available
      Api.putLeaseTerm(String, String, BigInteger, String, LocalDate, LocalDate, LocalDate, BigInteger) line: 535
      Api.putLeaseTermForIndexableRent(String, String, String, BigInteger, String, LocalDate, BigInteger, LocalDate, LocalDate, String, BigDecimal, LocalDate, LocalDate, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal, String, LocalDate, LocalDate, BigDecimal, String, LocalDate, LocalDate, BigDecimal) line: 431
      GeneratedMethodAccessor93.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      ActionInvocationFacetViaMethod.invoke(ObjectAdapter, ObjectAdapter[]) line: 92
      ActionInvocationFacetWrapTransaction$1.execute() line: 55
      ActionInvocationFacetWrapTransaction$1.execute() line: 1
      DataNucleusTransactionManager(IsisTransactionManager).executeWithinTransaction(TransactionalClosureWithReturn<Q>) line: 193
      ActionInvocationFacetWrapTransaction.invoke(ObjectAdapter, ObjectAdapter[]) line: 52
      ObjectActionImpl.execute(ObjectAdapter, ObjectAdapter[]) line: 415
      DomainResourceHelper.invokeActionUsingAdapters(ObjectAction, JsonRepresentation) line: 299
      DomainResourceHelper.invokeAction(String, InputStream, Where) line: 265
      DomainServiceResourceServerside.invokeAction(String, String, InputStream) line: 165
      NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
      NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      MethodInjectorImpl.invoke(HttpRequest, HttpResponse, Object) line: 155
      ResourceMethod.invokeOnTarget(HttpRequest, HttpResponse, Object) line: 257
      ResourceMethod.invoke(HttpRequest, HttpResponse, Object) line: 222
      ResourceMethod.invoke(HttpRequest, HttpResponse) line: 211
      SynchronousDispatcher.getResponse(HttpRequest, HttpResponse, ResourceInvoker) line: 525
      SynchronousDispatcher.invoke(HttpRequest, HttpResponse, ResourceInvoker) line: 502
      SynchronousDispatcher.invoke(HttpRequest, HttpResponse) line: 119
      ServletContainerDispatcher.service(String, HttpServletRequest, HttpServletResponse, boolean) line: 208
      HttpServletDispatcher.service(String, HttpServletRequest, HttpServletResponse) line: 55
      HttpServletDispatcher.service(HttpServletRequest, HttpServletResponse) line: 50
      HttpServletDispatcher(HttpServlet).service(ServletRequest, ServletResponse) line: 806
      ServletHolder.handle(ServletRequest, ServletResponse) line: 511
      ServletHandler$CachedChain.doFilter(ServletRequest, ServletResponse) line: 1221
      IsisSessionFilter$SessionState$1.handle(IsisSessionFilter, ServletRequest, ServletResponse, FilterChain) line: 315
      IsisSessionFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 404
      ServletHandler$CachedChain.doFilter(ServletRequest, ServletResponse) line: 1212
      ShiroFilter(AbstractShiroFilter).executeChain(ServletRequest, ServletResponse, FilterChain) line: 449
      AbstractShiroFilter$1.call() line: 365
      SubjectCallable<V>.doCall(Callable<V>) line: 90
      SubjectCallable<V>.call() line: 83
      WebDelegatingSubject(DelegatingSubject).execute(Callable<V>) line: 383
      ShiroFilter(AbstractShiroFilter).doFilterInternal(ServletRequest, ServletResponse, FilterChain) line: 362
      ShiroFilter(OncePerRequestFilter).doFilter(ServletRequest, ServletResponse, FilterChain) line: 125
      ServletHandler$CachedChain.doFilter(ServletRequest, ServletResponse) line: 1212
      ServletHandler.handle(String, HttpServletRequest, HttpServletResponse, int) line: 399
      SecurityHandler.handle(String, HttpServletRequest, HttpServletResponse, int) line: 216
      SessionHandler.handle(String, HttpServletRequest, HttpServletResponse, int) line: 182
      WebAppContext(ContextHandler).handle(String, HttpServletRequest, HttpServletResponse, int) line: 766
      WebAppContext.handle(String, HttpServletRequest, HttpServletResponse, int) line: 450
      Server(HandlerWrapper).handle(String, HttpServletRequest, HttpServletResponse, int) line: 152
      Server.handle(HttpConnection) line: 326
      HttpConnection.handleRequest() line: 542
      HttpConnection$RequestHandler.content(Buffer) line: 945
      HttpParser.parseNext() line: 756
      HttpParser.parseAvailable() line: 218
      HttpConnection.handle() line: 404
      SocketConnector$Connection.run() line: 228
      QueuedThreadPool$PoolThread.run() line: 582

        Attachments

          Activity

            People

            • Assignee:
              danhaywood Dan Haywood
              Reporter:
              jcvanderwal Jeroen van der Wal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: