Re: [Hibernate] Ansi Sql query

2003-08-19 Thread max
Read the docs about inner and outer join HQL queries.   /max   ps. you can do it - have you even tried to use that query ? ;) - Original Message - From: Prasad Iyer To: [EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 1:16 PM Subject: [Hibernate] Ansi Sql query

[Hibernate] Help on anttask

2003-08-19 Thread Oliver Wehrens
Hi, I have the anttask for creating the databasestructure in my build.xml file. It looks like this: classname="net.sf.hibernate.tool.hbm2ddl.SchemaExportTask" classpathref="classpath"/> properties="webapps/gridsphere/WEB-INF/persiste

[Hibernate] Bag example

2003-08-19 Thread Prasad Iyer
HiDoes anyone have the example which uses bag in mapping file.I am facing this problem with the query.following is the code. Which always prints 0 for the size but in table there are 10 messagesSession session=factory.openSession();InBox inbox=(InBox) session.find("from InBox inbox where in

Re: [Hibernate] Session-less OR-mapping

2003-08-19 Thread max
it is in the CVS (v21branch) /max - Original Message - From: "Andrea Aime" <[EMAIL PROTECTED]> To: "max" <[EMAIL PROTECTED]> Cc: "hibernate list" <[EMAIL PROTECTED]> Sent: Tuesday, August 19, 2003 10:28 AM Subject: Re: [Hibernate] Session-less OR-mapping > max wrote: > > > >> On Sunday

[Hibernate] Re: bin scripts

2003-08-19 Thread Les Hazlewood
Please disregard the last email, I found out how to upload ;) Although it would be much easier to enable upload on the same page where the issue is created. Les Les Hazlewood writes: I tried to use JIRA, but the "create new issue" page does not allow me to upload files. How do I get th

[Hibernate] Re: bin scripts

2003-08-19 Thread Les Hazlewood
I tried to use JIRA, but the "create new issue" page does not allow me to upload files. How do I get them into JIRA? Les max writes: please - put this in the JIRA instead ;) (look at hibernate.sf.net) Here stuff get lost, in the JIRA it will be persistent until dealt with ;) /max ---

[Hibernate] Ansi Sql query

2003-08-19 Thread Prasad Iyer
Query query=session.createQuery("select message from Message as message inner join inbox on Message.inbox_id=inbox.id where inbox.user_id=?"); query.setParameter(1, user_id); Can I do something like this assuming I have Message bean thanks regards prasad chandrasekaran

Re: [Hibernate] Session-less OR-mapping

2003-08-19 Thread Andrea Aime
max wrote: On Sunday 17 August 2003 21:41, Max Rydahl Andersen wrote: > how about just calling clear() on the session after each "cache less" > work you need ? > Oh, by the way, there is no "clear()" method in Session interface as of Hibernate 2.0.2. Is it a recent (CVS) addition? Or you do mean t

Re: [Hibernate] Session-less OR-mapping

2003-08-19 Thread max
> On Sunday 17 August 2003 21:41, Max Rydahl Andersen wrote: > > how about just calling clear() on the session after each "cache less" > > work you need ? > > > > Uhm... what is the overhead of inserting the objects in the cache to > remove them afterwards if you're inserting 200.000 bjects in >

Re: [HIBERNATE] bin scripts

2003-08-19 Thread max
please - put this in the JIRA instead ;) (look at hibernate.sf.net) Here stuff get lost, in the JIRA it will be persistent until dealt with ;) /max - Original Message - From: "Les Hazlewood" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 18, 2003 9:52 PM Subject: [HIB