Hi,
We are migrating existing project.
I came across the problem I have beans
with primitive type. When the corresponding persistent value in database is
null. The whole application fails. Gives the error that null cannot be assigned
to primitive values
I totally agree with this
behaviour.
You *could* use a UserType to workaround
Prasad Iyer wrote:
Hi,
We are migrating existing project.
I came across the problem I have beans with primitive type. When the
corresponding persistent value in database is null. The whole
application fails. Gives the error that null cannot be assign
Hi
EHCache does require the use of JDK1.4.
Specifically we use:
- LinkedHashMap, which provides us with an LRU HashMap
- JDK1.4 logging
- SoftRefererences
I guess there is a lot of production code out there on JDK1.3 and
earlier. I could replace
the JDK1.4 logging with commons logging and the j
On 15 Nov (09:10), Greg Luck wrote:
> I was pretty keen to use the java.util.LinkedHashMap, because the
> combination of a doubly-linked
> list combined with a Hashmap in JCS was the source of the memory leak
> in it. The memory store code
> went from around 1500 lines down to a few hundred and
How can I do something like the following, the hibernate way??
select * from foo where bar='baz' order by RAND() LIMIT 0,1;
Of course what I am doing here is selecting a single random row (object)
Thanks,
Ron
---
This SF. Net email is sponsor
We already have a dependency to commons-collections, so perhaps just use
commons SequencedHashMap instead of LinkedHashMap.
Greg Luck wrote:
Hi
EHCache does require the use of JDK1.4.
Specifically we use:
- LinkedHashMap, which provides us with an LRU HashMap
- JDK1.4 logging
- SoftRefererenc
http://www.bejug.org/bejugPortal/appmanager/BeJUG/JP03?_nfpb=true&_pageLabel=P4022
see anyone we know?
--
Gavin King
JBoss Group
+61 410534454
http://hibernate.org
---
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and
hi,
I solved this problem by using the new oracle driver.
regards
prasad chandrasekaran
- Original Message -
From: "Dongli Zhang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 14, 2003 10:43 PM
Subject: hibernate problem
> hi prasad,
>
> I have the same problem with y