Re: [Hibernate] List -> ArrayList

2003-01-16 Thread Juozas Baliuka
send this to commons, it is too specific for BeanUtils, possible some bug. - Original Message - From: "Raible, Matt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 8:00 PM Subject: RE: [Hibernate] List -> ArrayList > This works great until I add indexed pro

RE: [Hibernate] List -> ArrayList

2003-01-16 Thread Raible, Matt
This works great until I add indexed properties to my form, so that properties can be accessed, retrieved with an index. I don't get why, esp. since the methods have different signatures. So no I have getPropertyList() and setPropertyList(ArrayList) on my form. I also have getPropertyList(int in

Re: [Hibernate] CVS access?

2003-01-16 Thread Wolfgang Jung
On Thursday 16 January 2003 14:02, Mark Woon wrote: > Is it just me, or is anyone else having trouble connecting to > SourceForge's CVS server? I haven't been able to connect for over 24 > hours now... Hi, anonymous CVS is currently disabled, look at http://sourceforge.net/docman/display_doc.ph

[Hibernate] CVS access?

2003-01-16 Thread Mark Woon
Is it just me, or is anyone else having trouble connecting to SourceForge's CVS server? I haven't been able to connect for over 24 hours now... -Mark --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers

RE: [Hibernate] How smart is a proxy?

2003-01-16 Thread Schnitzer, Jeff
I would like to formally submit a Request For Enhancement :-) It's not an issue for normal relationships between entities since we can select out the List with a query. But unless I'm mistaken there is no API to load a component collection without loading its parent. This would provide an elegan

RE: [Hibernate] How smart is a proxy?

2003-01-16 Thread Gavin King
Nah, not that smart ;) I must admit that I never considered the possibility of such a feature. Not sure if its feasible or not. Would certainly Require a bit or work to implement. -Original Message- From: Schnitzer, Jeff [mailto:[EMAIL PROTECTED] Sent: Thursday, 16 January 2003 5:11 PM

[Hibernate] How smart is a proxy?

2003-01-16 Thread Schnitzer, Jeff
Lets say I have a persistent object that implements an interface like this: class Foo { public Long getId(); public List getBars(); public void setBars(List value); } Bar is another persistent object. Now lets say I execute this code: Foo f = sess.load(Foo.class, someId

RE: [Hibernate] Id name other than "id" and queries

2003-01-16 Thread Gavin King
Yep. "id" has a special interpretation in queries. I Recommend against using it as the name of a regular Property. (Fortunately it's the only special case.) -Original Message- From: Alejandro Revilla [mailto:[EMAIL PROTECTED] Sent: Thursday, 16 January 2003 4:15 PM To: [EMAIL PROTECTED] S

[Hibernate] Id name other than "id" and queries

2003-01-16 Thread Alejandro Revilla
Hi All, First off, congratulations for your great project! I'm experiencing a problem, I'm trying the following query: select merchant from merchant in class my.project.Merchant, store in class my.project.Store where merchant.id = ? and store.id = ? and store.merchant = mer

Re: [Hibernate] Possible bug with

2003-01-16 Thread Gavin . King
I mean, your column names differ by just the first three chars. Have a look at your mapping. Your patch works by trimming characters from the start, to get it down to the 20 char limit (I changed this to 15, for the benefit of db2). Just try changing your mapping, and see if the bug goes away.

Re: [Hibernate] Possible bug with

2003-01-16 Thread Mark Woon
[EMAIL PROTECTED] wrote: I think it might possibly be to do with your patch for long column names. Try choosing much shorter column names and see what happens. (they are distinguished only by the first three characters). Really? If so, that's a really bad thing. We can't be expecting people

Re: [Hibernate] Possible bug with

2003-01-16 Thread Gavin . King
I think it might possibly be to do with your patch for long column names. Try choosing much shorter column names and see what happens. (they are distinguished only by the first three characters). ** Any personal or sensitive in

[Hibernate] Possible bug with

2003-01-16 Thread Mark Woon
I'm getting some pretty weird behavior with component. Here's my mapping: