[02:20:37 EDT(-0400)] * EiNZTEiN (n=einztein@dsl-162.isunet.net) has joined ##uportal <EricDalquist> in this case I have an object that looks like: Foo
[08:36:10 EDT(-0400)] * MarkRogers (n=MarkRoge@addhcp129.cc.umanitoba.ca) has joined ##uportal
[08:45:06 EDT(-0400)] * anastasiac (n=team@142.150.154.105) has joined ##uportal
[08:53:29 EDT(-0400)] * anastasiac (n=team@142.150.154.105) has joined ##uportal
[09:31:51 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:46:00 EDT(-0400)] <EricDalquist> just saw an email that svn 1.5 is getting very close to release!
[09:56:03 EDT(-0400)] * grimesp (n=grimesp@134.250.4.177) has joined ##uportal
[09:56:19 EDT(-0400)] * michelled (n=team@142.150.154.197) has joined ##uportal
[09:59:29 EDT(-0400)] * dstn (i=80249f09@gateway/web/ajax/mibbit.com/x-0eb4703ad1107b28) has joined ##uportal
[10:19:00 EDT(-0400)] * dstn (i=80249f09@gateway/web/ajax/mibbit.com/x-850b31973d333c21) has joined ##uportal
[10:31:24 EDT(-0400)] * jessm (n=Jess@cpe-069-134-127-060.nc.res.rr.com) has joined ##uportal
[10:33:09 EDT(-0400)] * dstn (i=80249f09@gateway/web/ajax/mibbit.com/x-072f90dbab37c1a4) has joined ##uportal
[10:47:52 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[10:47:52 EDT(-0400)] * EiNZTEiN (n=einztein@205.241.143.4) has joined ##uportal
[10:56:28 EDT(-0400)] * EiNZTEiN_ (n=einztein@205.241.143.4) has joined ##uportal
[11:38:25 EDT(-0400)] <dstn> anyone ever used squid & tomcat together?
[11:38:32 EDT(-0400)] <EricDalquist> nope
[11:56:53 EDT(-0400)] * EiNZTEiN (n=einztein@205.241.143.4) has joined ##uportal
[11:56:59 EDT(-0400)] <dstn> riooot!
[11:57:09 EDT(-0400)] <dstn>
[12:09:22 EDT(-0400)] <EricDalquist> hrm ... jpa is really cool but there are some really nice features of hibernate that it precludes
[12:10:21 EDT(-0400)] <dstn> I liked a mix of the two
[12:10:27 EDT(-0400)] <EricDalquist> yeah
[12:10:31 EDT(-0400)] <EricDalquist> that's what we have right now in up3
[12:10:38 EDT(-0400)] <EricDalquist> but I'm looking at some profiling results
[12:10:47 EDT(-0400)] <EricDalquist> and wanting to use the natural-id features of hibernate
[12:11:12 EDT(-0400)] <EricDalquist> one really nice feature is you can get second-level cache hits off of natural id queries
[12:11:19 EDT(-0400)] <EricDalquist> but that requires use of Criteria
[12:11:25 EDT(-0400)] <EricDalquist> which isn't as easy to mix
[12:12:40 EDT(-0400)] <EricDalquist> but the performance gain could be big
[12:14:58 EDT(-0400)] <EricDalquist> well, it isn't hard as much as not as clean
[12:15:06 EDT(-0400)] <EricDalquist> have to do:
[12:15:07 EDT(-0400)] <EricDalquist> final HibernateEntityManager hibernateEntityManager = ((HibernateEntityManager)this.entityManager);
[12:15:07 EDT(-0400)] <EricDalquist> final Session session = hibernateEntityManager.getSession();
[12:15:15 EDT(-0400)] <EricDalquist> to get the hibernate Session to create the criteria query
[12:18:41 EDT(-0400)] <dstn> I'm not that familiar with jpa, does it not cache?
[12:18:55 EDT(-0400)] <EricDalquist> well JPA is just an API layer
[12:19:01 EDT(-0400)] * athena7 (n=athena7@12.164.139.7) has joined ##uportal
[12:19:11 EDT(-0400)] <EricDalquist> you use Hibernate or some other JPA complient ORM under it
[12:19:37 EDT(-0400)] <EricDalquist> the problem is there are areas that Hibernate provides more functionality than comes with the JPA APIs
[12:19:41 EDT(-0400)] <dstn> oh i c
[12:20:05 EDT(-0400)]
[12:20:20 EDT(-0400)] <EricDalquist> id is a synthetic key generated by the database and the primary key of the table
[12:20:33 EDT(-0400)] <EricDalquist> name is also a unique key for the object but the human assigned one
[12:20:53 EDT(-0400)] <EricDalquist> Hibernate has a special designation called natural-id that you can use of field(s) like 'name'
[12:21:14 EDT(-0400)] <EricDalquist> and you can create a special Criteria query in Hibernate against the natural-id
[12:21:53 EDT(-0400)] <EricDalquist> the special part of it is it knows enough about the natural-id to first look in the second-level cache, without ever having to execute the query
[12:22:21 EDT(-0400)] <EricDalquist> where as if you just ran the query for a property with that value it would have to do more work
[12:27:56 EDT(-0400)] <dstn> interesting, I did not know that, helpful to remember though
[12:28:26 EDT(-0400)] <EricDalquist> yeah I just found it today
[12:28:37 EDT(-0400)] <EricDalquist> Java Persistence with Hibernate is a great book
[12:42:41 EDT(-0400)] <athena7> i committed the portlet preferences stuff to the up3 trunk yesterday
[12:42:47 EDT(-0400)] <EricDalquist> saw that
[12:42:49 EDT(-0400)] <EricDalquist> looks great
[12:43:03 EDT(-0400)] <athena7> oh good
[12:43:14 EDT(-0400)] <athena7> wanted to make sure some other people were able to use it successfully
[12:47:52 EDT(-0400)] <athena7> have you tried any of the non-default options?
[12:48:02 EDT(-0400)] <EricDalquist> I actually haven't tried it yet
[12:48:07 EDT(-0400)] <EricDalquist> just looked at the diff in fisheye
[12:48:19 EDT(-0400)] <athena7> ah ok
[12:48:27 EDT(-0400)] <holdorph> Eric loves to use ja-sig fisheye, you know
[12:48:30 EDT(-0400)] <EricDalquist> I'm working on some up3 migration stuff here this week and wasn't planning on doing much uPortal wise until next week
[12:48:30 EDT(-0400)] <athena7> yes
[12:48:39 EDT(-0400)] <dstn> ahaha
[12:48:42 EDT(-0400)] <athena7> fisheye is all sunshine and kittens!
[12:48:52 EDT(-0400)] <EricDalquist> I quite like fisheye ... when it is working ...
[12:50:07 EDT(-0400)] <athena7>
[12:53:09 EDT(-0400)] <dstn> comcast was defaced this morning
[12:53:15 EDT(-0400)] <dstn> anyone see that?
[12:54:01 EDT(-0400)] <holdorph> nope. but I haven't read any news today
[12:54:43 EDT(-0400)] <dstn> http://www.geekydrunk.com/2008/05/29/comcast-hacked/
[12:57:22 EDT(-0400)] <dstn> they changed their DNS info too
[13:03:18 EDT(-0400)] <athena7> hahaha
[13:03:23 EDT(-0400)] <athena7> i hate comcast
[13:03:32 EDT(-0400)] <athena7> i'm getting something else at the new apartment
[13:03:37 EDT(-0400)] <athena7> i don't know what
[13:03:39 EDT(-0400)] <athena7> just something else
[13:03:44 EDT(-0400)] <dstn> as do many others
Unknown macro: { int id; String name; }
General
Content
Integrations