Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Hibernate, JFace and Virtual Table or Tree
Hibernate, JFace and Virtual Table or Tree [message #305373] Fri, 30 June 2006 14:08 Go to next message
Eclipse UserFriend
Hi

I am investigating how to use virtual tables or trees in such a manner
that I can lazy load from the db and possible cache using Hibernate. My
RCP is layered, meaning I do have a POJO based domain model with DAO to
access the db and the JFace part is encapsulted too.

Any thoughts, comments, experience, articles?

-H
Re: Hibernate, JFace and Virtual Table or Tree [message #305377 is a reply to message #305373] Sat, 01 July 2006 11:53 Go to previous messageGo to next message
Eclipse UserFriend
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org. eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet144 .java

"Hugo A. Garcia" <hugo.a.garcia@gmail.com> wrote in message
news:e83pac$13e$1@utils.eclipse.org...
> Hi
>
> I am investigating how to use virtual tables or trees in such a manner
> that I can lazy load from the db and possible cache using Hibernate. My
> RCP is layered, meaning I do have a POJO based domain model with DAO to
> access the db and the JFace part is encapsulted too.
>
> Any thoughts, comments, experience, articles?
>
> -H
Re: Hibernate, JFace and Virtual Table or Tree [message #305388 is a reply to message #305373] Mon, 03 July 2006 01:19 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

as long you are not adding/removing/inserting values into virtual tables
there's no problem using JFace, if you plan to use the functions
mentionned above I would not use Virtual-Tables together with JFace at
the moment.

org.eclipse.jface.viewers.ILazyContentProvider
org.eclipse.jface.viewers.ILazyTreeContentProvider

For tables there are also:
org.eclipse.jface.viewers.deferred.DeferredContentProvider
org.eclipse.jface.viewers.deferred.SetModel

Tom

Hugo A. Garcia schrieb:
> Hi
>
> I am investigating how to use virtual tables or trees in such a manner
> that I can lazy load from the db and possible cache using Hibernate. My
> RCP is layered, meaning I do have a POJO based domain model with DAO to
> access the db and the JFace part is encapsulted too.
>
> Any thoughts, comments, experience, articles?
>
> -H
Re: Hibernate, JFace and Virtual Table or Tree [message #305471 is a reply to message #305373] Wed, 05 July 2006 10:23 Go to previous message
Eclipse UserFriend
Does http://www.eclipse.org/articles/Article-SWT-Virtual/Virtual- in-SWT.html
help, in particular listing 2? It's a very simple and generic swt-level
example, but is meant to demonstrate an approach to doing what you're asking
about.

Grant

"Hugo A. Garcia" <hugo.a.garcia@gmail.com> wrote in message
news:e83pac$13e$1@utils.eclipse.org...
> Hi
>
> I am investigating how to use virtual tables or trees in such a manner
> that I can lazy load from the db and possible cache using Hibernate. My
> RCP is layered, meaning I do have a POJO based domain model with DAO to
> access the db and the JFace part is encapsulted too.
>
> Any thoughts, comments, experience, articles?
>
> -H
Previous Topic:how to set the Menu Text font?
Next Topic:CalendarWidget planned in 3.3
Goto Forum:
  


Current Time: Sat May 10 18:55:49 EDT 2025

Powered by FUDForum. Page generated in 0.03603 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top