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 this ?
Or refrence to anything that shows how ?
Is it possible, or is it yet to be impleme
Cheers Dean!
It was actually really hard doing the interview, I'm glad it came out
okay :-)
Dean Des Rosiers wrote:
Eveyone,
I'd like to congratulate Gavin on a very good interview with TSS. It was a
real kick to see Gavin "in the flesh," as it were. Personally, I'd like to
wish Hibernate th
Eveyone,
I'd like to congratulate Gavin on a very good interview with TSS. It was a
real kick to see Gavin "in the flesh," as it were. Personally, I'd like to
wish Hibernate the best of luck in its association with JBoss. Since so
many developers are using Gavin's code to save lots of time, I h
Brilliant !
Thanks :)
> -Original Message-
> From: Gavin King [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 2 October 2003 3:12 AM
> To: Cameron Braid
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Hibernate] ClassMetaData - doesn't have content
> for Component classes
>
>
> It is all availabl
It is all available through the property Type. You can cast to
AbstractComponentType any Type
that returns true for isComponentType().
Cameron Braid wrote:
I wish to be able to query the hibernate class meta data for component
classes.
Is this something that can be added in ?
Currently I ge
Title: Message
I wish to be able to
query the hibernate class meta data for component classes.
Is this something
that can be added in ?
Currently I get
:
...
Caused by:
net.sf.hibernate.MappingException: No persister for:
com.datacodex.chemistsaustralia.domainobject.AddressComponent a
Ooops. Sorry. I mean to say "mistaken" LOL.
Gavin King wrote:
You are mistake.
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
hibernate-devel ma
You are mistake.
Are you sure you didn't declare the column as "timestamp" instead of
"datetime" in MySQL?
Laurent Fleuriot wrote:
Hi,
I have a problem with timestamp.
My problem is that I have an object java with 2 dates( start and end).
When I insert the object, the date "end" is null BU
Hi,
I have a problem
with timestamp.
My problem is that
I have an object java with 2 dates( start and end). When I insert the
object, the date "end" is null BUT hibernate inserts into my database (mysql)
the current Time.
So, how can I tell
to hibernate that it must insert the end date
I forgot to include the exception I was getting
net.sf.hibernate.QueryException: could not resolve property: order.state
[null]
at
net.sf.hibernate.persister.AbstractPropertyMapping.toColumns(AbstractPro
pertyMapping.java:42)
at
net.sf.hibernate.expression.AbstractCriterion.getCol
I am using Hibernate 2 beta 3.
I can use the criteria api successfully to query properties of the
'root' persistent class (OrderItem.class)
Criteria = session.createCriteria(OrderItem.class);
though when I want to query acros a many to one relationship, I can't
work out how to do it.
I have an
11 matches
Mail list logo