No; I've mentioned this a few times:
Hibernate never rendered any outerjoins in the first SQL statement
(ie. the one translated from HQL). Any objects that needed to be
fetched subsequently were certainly fetched using outerjoins. ie.
from foo in class Foo
turned into
select * from FOOS foo
Inside a Session, Hibernate keeps a snapshot of the original state
of a collection and so can do removals/additions individually.
However, an object that came into the session via a call to update()
may have had all kind of things done to it (a PersistentCollection
completely replaced with a tran
I run the unit tests inside eclipse every day with no problems and
no particular special configuration. I don't want to have to
re-parse mappings before each test, as that would make it *much*
slower to run the tests.
---
This SF.NET email is
Of course.
We always hit the session cache first to preserve == in a particular
session. If we don't find it there, we "copy" it out of the global
cache to preserve threadsafeness between different sessions.
The semantics are the same, whether you have a global cache or not.
> Just needs to be s
Hi!
Just need some thing explained :)
How does Hibernate decide/track how to delete, update, insert tuples based
on what the user has added and/or removed in the sets/lists representing
many-to-one and many-to-many mappings ?
(the question just came to my mind when i saw: "P.S. Hibernate is *no
Hi!
Just need some thing explained :)
How does Hibernate decide/track how to delete, update, insert tuples based
on what the user has added and/or removed in the sets/lists representing
many-to-one and many-to-many mappings ?
(the question just came to my mind when i saw: "P.S. Hibernate is *no
I haven't written it yet, but I'm planning on it soon - just wanted to
get some ideas from the group. What do you think about creating a
ThreadLocal HibernateSession.java file at the persistence level - and
then wrapping it on each level (business layer, web layer) to create
sessions for that leve
Hi!
I've had my shear of problems running the junit tests from inside eclipse,
and now I've found out why :)
Running the junit tests from the command line seems always to work, but from
eclipse I constantly get "No persisters found for XXX" where XXX is some
class being saved in the test.
The pr
What does the subject from the cvs commit message actually mean ? :)
(I thought Hibernate already outerjoin fetched in every kind of query ?)
/max
---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to exten
Just needs to be sure about this one (have told my coworker something else,
i think :)
The cached entities will still have correct == semantics, right ?
so, ...
s1 = sf.openSession();
p1 = s.load(Person.class, 42); // p is loaded from db and a copy of it is
put in the global cache
p2 = (Person)
> Uh, LIMIT and OFFSET are not supported?
setMaxResults() and setFirstResult() are supported.
They achieve the same thing.
> This may not be standard SQL, but some DBs
> that Hibernate supports do support that SQL
> extension.
As far as I can tell, each database has its own
syntax for this. Quer
Uh, LIMIT and OFFSET are not supported?
This may not be standard SQL, but some DBs
that Hibernate supports do support that SQL
extension. I thought that the whole point
of having different Dialects for different
types of databases was to support things
that are different, non-standard about them.
The cache is not used for *queries*. It is used for calls to load()
and for resolving associations.
Also note that the cache does not store actual Vertex instances; it
stores a *copy* of the state of the vertex. So an instance retrieved
from the cache will always be a different instance from the
Allright! That worked beautifully. My question is.. if LIMIT is not
supported, then why did it work just fine for the other 2 types of
queries I'm using it in... and it even returns the correct amount of
results i want! Kinda dangerous to let that in, if its going to give
unpredictable resul
Allright! That worked beautifully. My question is.. if LIMIT is not
supported, then why did it work just fine for the other 2 types of
queries I'm using it in... and it even returns the correct amount of
results i want! Kinda dangerous to let that in, if its going to give
unpredictable resul
Bugs item #669716, was opened at 2003-01-18 00:04
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=669716&group_id=40712
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Simon Harris (haruki_zaemon)
Assigned to: Nobod
Bugs item #669716, was opened at 2003-01-18 00:04
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=669716&group_id=40712
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Harris (haruki_zaemon)
Assigned to: Nobody/Ano
Bugs item #669746, was opened at 2003-01-17 06:34
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=669746&group_id=40712
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonym
Patches item #662319, was opened at 2003-01-04 21:15
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428710&aid=662319&group_id=40712
Category: Codegen
Group: None
Status: Open
Resolution: Accepted
Priority: 5
Submitted By: Max R. Andersen (maxcsaucdk)
Assigned to:
Patches item #662319, was opened at 2003-01-05 07:15
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428710&aid=662319&group_id=40712
Category: Codegen
Group: None
Status: Open
>Resolution: Accepted
>Priority: 5
Submitted By: Max R. Andersen (maxcsaucdk)
Assigned to
Bugs item #669716, was opened at 2003-01-18 00:04
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=669716&group_id=40712
Category: None
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Simon Harris (haruki_zaemon)
Assigned to: Nobody/
Bugs item #669070, was opened at 2003-01-17 01:30
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=669070&group_id=40712
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Simon Harris (haruki_zaemon)
Assigned to: Nobod
Bugs item #669070, was opened at 2003-01-17 01:30
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=669070&group_id=40712
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Harris (haruki_zaemon)
Assigned to: Nobody/Ano
Bugs item #669719, was opened at 2003-01-18 00:07
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=669719&group_id=40712
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Harris (haruki_zaemon)
Assigned to: Nobody/Ano
Bugs item #669719, was opened at 2003-01-18 00:07
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=669719&group_id=40712
Category: None
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Submitted By: Simon Harris (haruki_zaemon)
Assigned to: No
Bugs item #669746, was opened at 2003-01-18 01:34
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=669746&group_id=40712
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/A
Bugs item #669070, was opened at 2003-01-17 01:30
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=669070&group_id=40712
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Harris (haruki_zaemon)
Assigned to: Nobody/Ano
Patches item #662319, was opened at 2003-01-04 21:15
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428710&aid=662319&group_id=40712
Category: Codegen
Group: None
Status: Open
Resolution: Accepted
Priority: 5
Submitted By: Max R. Andersen (maxcsaucdk)
Assigned to:
Bugs item #669719, was opened at 2003-01-18 00:07
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=669719&group_id=40712
Category: None
Group: None
Status: Closed
Resolution: Rejected
Priority: 5
Submitted By: Simon Harris (haruki_zaemon)
Assigned to: Nobo
Note that the Hibernate query language does not support the "limit"
syntax. Use setMaxResults() instead.
---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption t
How are you creating your "Date" object? If you are creating a date
that reperesents for example 01/01/2003 (no time)
then searching your database for > this date will find matches for
any 01/01/2003 entries that are not 00:00:00 time.
> -Original Message-
> From: Timothy Kettering [ma
Good suggestion. I checked the database and it's in datetime format.
It's storing the time too because the time shows up properly when I do
entries, and it also gets retrieved properly if I retrieve an single
entry to match a timestamp.
I even checked the hbm.xml file - timestamp as well. An
The first thought that comes to mind is that your database column is not
storing
time information, i.e. year/month/day only. You might want to take a look
at that.
-Original Message-
From: Timothy Kettering [mailto:[EMAIL PROTECTED]
Sent: Friday, January 17, 2003 4:35 PM
To: [EMAIL PROTEC
I'm using Hibernate with a program that I'm developing, and one my
small test units turned up a weird issue that I'm not sure if is a bug
or i'm screwing up somewhere...
This is the query I have:
be = sess.find("select entry from entry in class " +
"com.blackcore.blogserver.general.BlogE
34 matches
Mail list logo