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
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
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
Hi,
I have a problem
with timestamp.
My problem is that
Ihave 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 to
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 BUT
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
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
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 available through
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
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 the
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
11 matches
Mail list logo