I've searched the FAQ's and the documentation and the Tutorials, so
this is a last resort for me. So, now that you know I've tried to find
my solution, here is my problem. :)
For objects, I have a user, which has a contact object, which in turn
has an address object. All mapped as one-to-one
Hi all,
My name is Les, and I've been involved in open source projects for a while,
and I'm interested in possibly joining the Hibernate development team.
I had the opportunity to meet Gavin this past weekend. We talked a little
about an open source project I started that is still in alpha d
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
the database? Usi
I've a question about flushing. My data access
block functionally maps to the following:
Session sess =
factory.openSession();Transaction tx;try {
tx = sess.beginTransaction(); //do some
work ...
tx.commit();}catch (Exception e) { if
(tx!=null) tx.rollback(); th
It needs to be in the CLASSPATH somewhere. I put mine in WEB-INF/classes and it seems
to work
well.
Thanks,
Patrick
--- Yin Shi <[EMAIL PROTECTED]> wrote:
> Hi, I am using WSAD5 and Hibernate2, I do not know where to put the .cfg.xml file,
> because I tried to put it in every directory, they are
Hi, I am using WSAD5 and Hibernate2, I do not know where to put the .cfg.xml file,
because I tried to put it in every directory, they are not working at all. Do you know
where to put it?
I just have a Web Project, inside the Java Source, I have a java class Cat.java
(setter/getter), and a servlet
Some discussions about the upcoming JDO 2.0 specification request:
http://www.theserverside.com/resources/article.jsp?l=JDO2-Kickoff
Just a note: Hibernate supports all of the features they discussed
already. I can't help but get the feeling that this is JDO 1.0 with
(most of) Hibernate attached
I'll guess that Hibernate tries to assign an object via
setPropertyValues where the types does not match.
What is the type defined in the hbm.xml and what is the code/definition
of setPropertyValues ? That would make it easier to help.
/max
p.s. this kind of questions are for the forum - not t