Gents (and Ladies?),
I had my first experience with the full Hibernate build this morning,
including the build of the HibernateExt and Tools modules.
I thought things werewellyucky ;)
I have a firm belief in leaving out jar files in a cvs repository, as that
is not source code, and
I've been trying to estimate how caching would influence the performance of
my app. This app has a lot of parent-child relationships in different
configurations, i.e. each object have childs in a bag, and mapped (two
one-many relations). During the test I've added about 1000 objects randomly
select
Good point.
anyway, you can always force a column type using the sql-type attribute.
> I think the reason why is that Postgres does not limit the number of
> characters in a VARCHAR field (like Oracle, who limits VARCHAR2 to 4000
> characters). Because Postgres doesn't limit VARCHAR, there is n
I am using Hibernate 1.2.3 with Postgres 7.2.3.
In the past when using Hibernate with MySql after a vertain size of String
type the generated DDL would oncvert from VARCHAR to TEXT. However that is
not the case with Postgres.. is there a reason why? An oversight?
VARCHAR(45000) seems silly when P
Title: RE: [Hibernate] Postgres Text Type
I think the reason why is that Postgres does not limit the number of characters in a VARCHAR field (like Oracle, who limits VARCHAR2 to 4000 characters). Because Postgres doesn't limit VARCHAR, there is no way to tell what is a good limit to convert t
Its just part of the Dialect. If you have suggestions for improvements to
the Dialect, why not submit a patch to JIRA
> I am using Hibernate 1.2.3 with Postgres 7.2.3.
>
> In the past when using Hibernate with MySql after a vertain size of String
> type the generated DDL would oncvert from VARCHA
jars from http://www.ibiblio.org/maven/cglib/jars/ are without dependancies,
you need BCEL or ASM as dependancy .
bcel
5.0
You can download cglib-asm-1.0.jar and use it in single jar too ( ASM is
"faster" ).
- Original Message -
From: "Jim Downing" <[EMAI
Hi,
i am trying to fetch a lot of objects of class MEV.
MEV has a one-to-many relationship to GA. This relationship is set to
lazy=false.
When i fetch the MEVs via Session.find("from Mev"); why are multiple
select statements executed in order to fetch the ga objects?
I would like to get the G
--- Prasad Iyer <[EMAIL PROTECTED]> wrote:
> Hi
> Does anyone have the example which uses bag in
> mapping file.
>
> I am facing this problem with the query.
> following is the code. Which always prints 0 for the
> size but in table there are 10 messages
>
> Session session=factory.openSession()
Hi,
quick question - which version of cglib does hibernate-2.0-final.jar
depend on?
If anyone else is using maven for their builds, does either of the
jars in http://www.ibiblio.org/maven/cglib/jars/ work with hibernate
2.0 final?
cheers,
jim
--
Serge Knystautas wrote:
The SchemaUpdate tool as is does not work
in this environment. I need to SQL statements that Hibernate suggests
could get the database to a stable environment.
Maybe I'm missing something, but can't you just do something like this:
java -cp... net.sf.hibernate.tool.
Hi,
The class was actually in the classpath. But, the Employee class is not
in any package; it is just in the default package.
Regards
Madhesh
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> The class named "Employee" must be in the classpath.
>
>
> Correct syntax is:
>
> java
On 25 Aug (20:41), Prasad Iyer wrote:
> Which option of the cascade I have to use to insert a parent with a child.
> I have tried "all" but gives me error.
Read the "Parent/child" chapter in the reference documentation.
Please stop asking beginner questions on the developer mailinglist. Read
the
Vladimir Dozen wrote:
This is a great feature! One suggestion, though:
public class FieldSuper
implements ReflectHelper.AccessibleViaFieldsOnly {
From a usage point of view, I think it would be a lot cleaner to put
this option into the config file, e.g. FieldSuper.hbm.xml. Using a
mar
Seraph (aka atlassian-security but less boringly named) is now up -
http://opensource.atlassian.com/seraph
Profiling is also up - http://opensource.atlassian.com/profiling
I'll contact James about putting scheduler back into Quartz, it really
should be there - it doesn't deserve it's own package.
I have opened the following jira:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-289
After re-reading the documentation I found
"The special property (lowercase) id may be used to reference the unique
identifier of an object. (You may also use its property name.)"
I just looked over the LazyInitializer code to manage equals() and
hashCode() in a proxy and it seems like there's a problem. I'm trying
to use an entity as a hash map key without requiring it to be initialized,
and the code tries to handle this - except that this behavior is
disabled if the entit
Serge Knystautas wrote:
Eric Pugh wrote:
No, I can chime in, that I as well didn't know this. Out of
curiosity, has
anyone put together a unit test that I could run to demo the
differences?
Would this be something to add to hibernate, or is it too random?
What kind of difference are you look
Eric Pugh wrote:
Also, I am working on this little issue, and I wanted to verify that the
sendStringParametersAsUnicode=false string goes into the URL that you
use to connect to the database, correct?
jdbc:microsoft:sqlserver://[server]:1433;DatabaseName=[database
name;SelectMethod=cursor;sendStri
Hi,
I have two tables with a one to one relation. What is the best way to
hibernize them. I also need the ability to retrieve data (from both tables)
based on a search criteria on either of the tables. Do i need to explicity
mention a HQL Join query in my code? Since i am a hibernate newbie,
Hello folks,
We are looking for someone to assist us in evaluating the suitability of
Hibernate as the persistence layer for our systems. The contractor can work
from home. Its
probably a week of work and pays $2000 USD. If you or anyone you know with
hibernate experience is interested pl
Hi.
Session.load() throws a HibernateException. Is there an easy way to tell what context
this exception is thrown in. For example, perhaps an object with the same id is being
loaded twice, or perhaps the database is down. I would like to be able to
differentiate between possible problems.
Man
Hi,
Which option of the cascade I have to use
to insert a parent with a child.
I have tried "all" but gives me
error.
regards
prasad
chandrasekaran
Do you have a proxy defined for the parent object?
Jeff Schnitzer
[EMAIL PROTECTED]
> -Original Message-
> From: Graeme Knight [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 25, 2003 11:42 AM
> To: [EMAIL PROTECTED]
> Subject: [Hibernate] Lazy Loading, upwards?
>
> Hello.
>
> I have c
Well, it's been over a week, but the Conductor project at java.net has
finally been approved!
See below for my original message.
The project page is now available at https://conductor.dev.java.net/
Discussions are welcome on the dev mailing list there
([EMAIL PROTECTED]) and hopefully we'll be
25 matches
Mail list logo