version:2.03
problem:
if default db schema is userA, one class use db schema userB1,
id generator of the class is a db sequence, then the sequence
should be under userB1, but it isn't.IT IS UNDER userA IN HIBERNATE
SQL! You have to manully set it this way:
userB1.SEQSEQNO
___
You need to be using Hibernate 2.1. It is covered in the doco for 2.1.
Cameron Braid wrote:
I couldn't find any info on this subject on the hibernate site. There
are examples of simple criteria based queries, but nothing with
relationships.
Does anyone have any code that achieves something like
Sorry.. I meant to say that I was using 2.1 beta 3.
Which doco ? The doco at
http://www.hibernate.org/hib_docs/reference/html/query-criteria.html
Or is there a 2.1 beta 3 specific set of docs..
DO I need to get them from CVS ? If so which repo ?
Cheers,
Cameron
> -Original Message-
>
On 02 Oct (19:29), Cameron Braid wrote:
> Or is there a 2.1 beta 3 specific set of docs..
>
> DO I need to get them from CVS ? If so which repo ?
No, the 2.1 documentation is in the doc/ subdirectory of the 2.1
distribution.
--
Christian Bauer
[EMAIL PROTECTED]
--
Thanks for your prompt response :)
Cam
> -Original Message-
> From: Gavin King [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 2 October 2003 7:46 PM
> To: Cameron Braid
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Hibernate] I need help with the Criteria API
> when using joins
>
>
> The docs
The docs in the 2.1 download, of course! :)
Cameron Braid wrote:
Sorry.. I meant to say that I was using 2.1 beta 3.
Which doco ? The doco at
http://www.hibernate.org/hib_docs/reference/html/query-criteria.html
Or is there a 2.1 beta 3 specific set of docs..
DO I need to get them from CVS ? If
hi,
i was wondering if it was possible to specify the
table type for creation in schema export - ie, i'm using mysql and would like to
have hibernate create innodb tables instead of myisam which are the
default.
thanks,
cam
Hi...
This may be a stupid question, but I'm struggling to find an answer for it.
I have a class called UserImpl. To this class I want to add another variable
called 'mobileNumber' of type int. Obviously, I want a corresponding column
in my db table as well.
I've tried adding a new instance vari
Firstly make sure that the column exists in your database table.
Secondly, since it is a primitive int, you need to make sure that it
contains a value.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Andrew Zeon
> Sent: Wednesday, 1 October 200