-
taso committed patchset 561 of module nfcchat to the NFC Chat CVS repository, changing 1 files.
2004-10-27 18:27:50 UTC in NFC Chat
-
Just a little more detail about this..
I did a little more playing around, and found the following to be true: If there is a row in SyncFlags for each row in User, then I can set constrained="true" in the one-to-one mapping, and the relationship loads without the extra query. Yay!
So this means, a User may not have a null SyncFlags. I do not really want this constraint, but I...
2003-06-12 21:31:55 UTC in Hibernate
-
Hello there..
I seem to be having a problem mapping a one-to-one relationship. I'm seeing 2 SQL queries getting executed, when I believe there should be only one. There was already thread similar to this that I have read, but I am still not able to reach a resolution.
My actual mapping and classes are somewhat large (I think too big to post here), so I trimmed things down, so just the...
2003-06-12 19:40:56 UTC in Hibernate
-
I had this problem a week or two ago. Borrowing some code from this thread, I came up with a solution that seems to work for me. (https://sourceforge.net/forum/message.php?msg_id=1702422)
Start with what you see in http://hibernate.bluemars.net/76.html, then do the following:
1. import oracle.sql.CLOB;
2. replace nullSafeSet() method with this:
public void...
2003-05-16 18:20:21 UTC in Hibernate
-
I am attempting to use Hibernate to map to an existing database table. The table is set up in what might be described as a the table-per-class-heirarchy model, with one complication -- the "natural" discriminator column, which is called the "role_id" in this case, does not have a one-to-one mapping with the class heirarchy. Let me clarify with a more concrete example.....
2003-05-16 17:43:46 UTC in Hibernate
-
I just changed the mapping around, so that User has a set of Watchlists, and Watchlist no longer has a link to its owner. And things seem to work as expected this way.
But I still would like to know, is there something fundamentally wrong with how I had it in the original post?
Thanks,
Taso.
2003-04-26 04:03:04 UTC in Hibernate
-
I have 2 classes, Watchlist and User. A Watchlist has an owner, of type User, which I am attempting to map as many-to-one:
<hibernate-mapping>
<class name="dt.model.Watchlist" table="watchlist">
<id name="id" column="watchlist_id" unsaved-value="-1">
<generator class="native"/>
</id>.
2003-04-26 04:00:51 UTC in Hibernate
-
Hello,
I've been using Hibernate for a few weeks and it's working wonders for me. But for the first time now, I am stumped.
I am trying to translate a pretty simple LEFT JOIN query from MySQL into HQL, and having a problem. I'm currently using Hibernate 2.0-beta4.
This is SQL query that I ultimately want sent to MySQL:
SELECT watchlist_item.symbol, MAX(date)
FROM watchlist_item.
2003-04-20 20:46:51 UTC in Hibernate
-
I am experiencing some difficulty using AntRunner in
JBuilder 8 (Personal Edition). Before I go into any
detail on this, is the tool known to work in JB8 at all?.
2003-03-05 18:13:39 UTC in AntRunner
-
taso committed patchset 215 of module nfcchat to the NFC Chat CVS repository, changing 1 files.
2002-03-03 19:01:21 UTC in NFC Chat