On Mon, 31 Jan 2005 01:55:34 +1100, Gavin King <[EMAIL PROTECTED]> wrote:
Should it be org.hibernate.criteria instead of org.hibernate.criterion?
Does anyone have a really strong preference?
not me. Both works for me.
btw. i like the separation into Projections, Restrictions, etc. much
better tha
Should it be org.hibernate.criteria instead of org.hibernate.criterion?
Does anyone have a really strong preference?
--
Gavin King
+61 410 534 454
+1 404 822 8349
callto://gavinking
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
--
On Sep 21, 2004, at 6:30 PM, Jessica Morales wrote:
I got information of hibernate-relationships but in my
case, the relationship are very complex.
Do you know if is posible get information from some
tables, with a query like that:
This is the developer mailing list, please use the user forum.
--
C
Hi,
I got information of hibernate-relationships but in my
case, the relationship are very complex.
Do you know if is posible get information from some
tables, with a query like that:
select Mch.MultiChannelHierDes, Mch.MultiChannelHierID
from Business.Users Usr Inner Join
Business.ChannelXCusto
ReadWriteCache does stuff to preserve txn isolation. Things remain
"locked" for a bit longer than
you might expect.
You need to do the lookup in a second txn, that starts unambiguously
*after* the updating txn ends.
Michał Mosiewicz wrote:
I've been testing cache. I've noticed there is much les
I've been testing cache. I've noticed there is much less cache hits that I
supposed it should be. Then I discovered the following behaviour:
DEBUG [Thread-0] (ReadWriteCache.java:68) - Cache lookup: 40201
DEBUG [Thread-0] (ReadWriteCache.java:78) - Cache hit: 40201
DEBUG [Thread-0] (ReadWriteCache
On 04 Dec (11:22), Miller Charles - Nashville wrote:
> I see that you are using coWiki. Which version are you using? I am looking
> to install one for an internal developer community where I work.
Must be 0.3.1 or something like that. I would recommend the latest
version declared as "working" o
Hello,
I see that you are using coWiki. Which version are you using? I am looking
to install one for an internal developer community where I work.
Thanks.
Charles Miller
---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an e
On 23 Oct (12:44), Nikolay Ganev wrote:
> I need to add and retrieve object to/from Hibernate Session. In other words I need 2
> methods in session:
> getObject()
> setObject(...)
Why?!
--
Christian Bauer
[EMAIL PROTECTED]
---
This SF.net em
eh ? what object does getObject() return ?
What are the parameters of setObject(...) ?
What is the use of this thing?
/max
Nikolay Ganev wrote:
HI all,
I need to add and retrieve object to/from Hibernate Session. In other words I need 2
methods in session:
getObject()
setObject(...)
SessionImpl
rk is
SessionImpl.addUninitializedEntity(). Maybe someone could verify if this is
a safe way to add an object to the Session cache?
Regards,
John
-Original Message-
From: Nikolay Ganev [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 5:45 AM
To: hibernate
Subject: [Hibe
HI all,
I need to add and retrieve object to/from Hibernate Session. In other words I need 2
methods in session:
getObject()
setObject(...)
SessionImpl class is declared final, so i cannot extend it and make my
own implementation of Session.
Can anybody help me how to make this functionality?
Thx
Thanks, it worked.
-Original Message-
From: Gavin King [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 11:21 AM
To: Chandrasekhar Ambadipudi
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Hibernate] Question on Session.connection
Just call sess.flush() ... you can call
Just call sess.flush() ... you can call it at any time :)
Chandrasekhar Ambadipudi wrote:
I have a transaction like this
Transaction tx = sess.beginTransaction();
sess.save(obj)
sess.connection() // and one prepared
statm
I have a transaction like this
Transaction tx = sess.beginTransaction();
sess.save(obj)
sess.connection() // and one prepared
statment execution here
sess.update(obj1)
tx.comm
Title: Message
Hi
everyone,
Can someone explain
to me what does it mean by "Never create more than one concurrent Session or
Transaction instance per database connection" which is mentioned in Section 13.2
- Threads and Connection under Hibernate2 Reference Documentation??? Does
this sta
On 11 Aug (17:20), Vivian Fonger wrote:
> Can someone explain to me what does it mean by "Never create more than
> one concurrent Session or Transaction instance per database connection"
> which is mentioned in Section 13.2 - Threads and Connection under
> Hibernate2 Reference Documentation??? Do
To: <[EMAIL
PROTECTED]>
Sent by:cc:
[EMAIL PROTECTED] Subject: [Hib
While loading hibernate2 into a clean eclipse workspace I spotted that
all dialects implement an deprecated method in Dialect:
/**
* The syntax used to add a column to a table.
* @deprecated not supported on many platforms
* @return String
*/
public abstract String getAddColumnString();
W
I committed this to the Hibernate2 module last night, in fact. I have added
an interface called Configurable to the id package. Check that out to see
how it works. Hibernate2 will always use default constructors to
instantiate
id generators.
==
I am looking to create a custom id generator for my project and noticed
several planned "enhancements" for H2 in the id generator area. Two are
specific generator cases, so I am not concerned with them. What I would like
to know is how far has the planning gone for
* named id generator parameters
inthe following sql
statement:select t.* from table tbrad- Original
Message -From: "Donnerstag, Juergen" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Wednesday, November 20, 2002 8:49
PMSubject: [Hibernate] Question about query language>>
Would somebody please expla
Hi Jürgen!
- Original Message -
From: "Donnerstag, Juergen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 20, 2002 11:49 AM
Subject: [Hibernate] Question about query language
>
> Would somebody please explain to me why it is necessar
Would somebody please explain to me why it is necessary to define the table
name as part of the from clause, e.g. "from MYTABLE in class eg.MyTable".
The relation between table name and java class name is already defined
within the XML mapping. "from MYTABLE" or "from in class eg.MyTable" should
b
> It appears to me that the onUpdate() method is not getting called when it
should.
onUpdate() gets called only when you explicitly pass a transient object to
Session.update(). ie. its called when a transient object becomes
"sessional". Its not called when an dirty object is UPDATEd on the databas
Hi Gavin (and all the rest),
It appears to me that the onUpdate() method is not
getting called when it should. I have an object then implements the
Lifecycle interface, and I have run a simple test with it where I create an
object, load an object, update an object, and delete an object. J
26 matches
Mail list logo