Re: [Hibernate] Length of Hibernate-generated aliases in SQL

2003-01-02 Thread max
Could you give an hbm.xml and query example that gives that error ? (it would be nice to have some test scenario :) (especially, since it would be nice to know what one could do to avoid such a thing- it would also be a problem on db2 since it also has some "weird" low limitati

Re: [Hibernate] Length of Hibernate-generated aliases in SQL

2003-01-02 Thread max
Gavin King wrote: Max, it would happen whenever you have a column name that approaches the limit for the database. Hibernate needs to add an _0, etc at the end when rendering aiases. I know, would just be easier if he got a clean example :) But Ok - I've fought with these kind of troubles b

Re: [HIBERNATE] bin scripts

2003-08-19 Thread max
please - put this in the JIRA instead ;) (look at hibernate.sf.net) Here stuff get lost, in the JIRA it will be persistent until dealt with ;) /max - Original Message - From: "Les Hazlewood" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 18

Re: [Hibernate] Session-less OR-mapping

2003-08-19 Thread max
> On Sunday 17 August 2003 21:41, Max Rydahl Andersen wrote: > > how about just calling clear() on the session after each "cache less" > > work you need ? > > > > Uhm... what is the overhead of inserting the objects in the cache to > remove them afterwar

Re: [Hibernate] Session-less OR-mapping

2003-08-19 Thread max
it is in the CVS (v21branch) /max - Original Message - From: "Andrea Aime" <[EMAIL PROTECTED]> To: "max" <[EMAIL PROTECTED]> Cc: "hibernate list" <[EMAIL PROTECTED]> Sent: Tuesday, August 19, 2003 10:28 AM Subject: Re: [Hibernate] Session-l

Re: [Hibernate] Ansi Sql query

2003-08-19 Thread max
Read the docs about inner and outer join HQL queries.   /max   ps. you can do it - have you even tried to use that query ? ;) - Original Message - From: Prasad Iyer To: [EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 1:16 PM Subject: [Hibernate] Ansi Sql query

Re: [Hibernate] Ant build for Avalon wrapper

2003-12-20 Thread max
e now that 2.1 is out? We might do it around the new year - since hbm2java and hibern8ide also is starting to have nice new features that people might be interested in. /max --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an e

SV: [Hibernate] Central configuration for mappings?

2004-12-18 Thread Max Andersen
Title: [Hibernate] Central configuration for mappings? Hi,   this is a user question so you should go to the user forum.   But because its christmans i'll point you in the direction - look at NamingStrategy which allows you to control it quite nicely IMO.   -max Fra: [EMAIL PROT

SV: [Hibernate] Test suite now has 12 errors, up from 11

2004-12-19 Thread Max Andersen
Title: [Hibernate] Test suite now has 12 errors, up from 11 yes my bad. forgot to commit the last change i did - will do it later today when i get back to my box.   -max Fra: [EMAIL PROTECTED] på vegne af Joshua DavisSendt: sø 19-12-2004 03:09Til: Hibernate-DevelEmne: [Hibernate] Test

SV: [Hibernate] Re: [PRODUCT] ORM + RDBMS = OODBMS / Evaluation Against Fictive jamStore

2004-12-23 Thread Max Andersen
want to start in 10 min ?   Then take the quick start guide...available from the hibernate.org documentation site as the first link.   /max

SV: [Hibernate] Index creation on PK (Hibernate3, Gupta SQL Base)

2005-02-03 Thread Max Andersen
Title: RE: [Hibernate] Index creation on PK (Hibernate3, Gupta SQL Base) Yes - all the unit tests.   -max Fra: Sergey Menis [mailto:[EMAIL PROTECTED]Sendt: to 03-02-2005 17:21Til: Max Andersen; hibernate-devel@lists.sourceforge.netEmne: RE: [Hibernate] Index creation on PK (Hibernate3

RE: [Hibernate] Complex class loaders hierarchy

2005-06-14 Thread Max Andersen
bug talking about buddy classloading which can handle this via eclipse classloader madness.   max From: [EMAIL PROTECTED] on behalf of Ivan S. DubrovSent: Tue 14-06-2005 17:00To: hibernate-devel@lists.sourceforge.netSubject: [Hibernate] Complex class loaders hierarchy Hello,I've trying t

RE: [Hibernate] Mixing and

2005-06-16 Thread Max Andersen
Title: [Hibernate] Mixing and yes - i remember some mapping support case that had this. Just cant remember the case ;)   /max From: [EMAIL PROTECTED] on behalf of Emmanuel BernardSent: Thu 16-06-2005 20:31To: hibernate-devel@lists.sourceforge.netSubject: [Hibernate] Mixing and Hi

RES: [Hibernate] query statistics

2005-11-24 Thread Max Andersen
actually executing the query), C is not important since I can, at least for HQL, aproximate this.   So dont let C hold a better solution back if that is the case.   ;max  De: [EMAIL PROTECTED] em nome de Steve EbersoleEnviada: qui 24-11-2005 03:53Para: Gavin King; Hibernate develAssunto: RE

Re: [Hibernate] questions regarding development setup

2006-06-10 Thread Max Andersen
Title: RE: [Hibernate] questions regarding development setup Yes, but no such thing exist AFAIK. That is why we introduced this failureExpected notion. /max -Original Message- From: Scott M Stark Sent: Sat 10-06-2006 17:32 To: Max Andersen; Szczepan Faber Cc: hibernate-devel

Re: [Hibernate] New error on Annotation query

2006-06-19 Thread Max Andersen
Title: Re: [Hibernate] New error on Annotation query >From my understanding in discussions with Max, auto-discovery is illegalonce any returns have been defined/added.Max, can you clarify here?  Thinking some more about it, maybe you justmeant the column name discovery (as it should

Re: [Hibernate] Mass Deletes

2003-08-04 Thread Max Rydahl Andersen
ouple of seconds ;) Btw. how would joins fit into this scenario ? Is any/all HQL query deletable ? Can one find out upfront without issuing the delete ? /max --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports,

Re: [Hibernate] Mass Deletes

2003-08-04 Thread Max Rydahl Andersen
does not work on most other db's. /max [EMAIL PROTECTED] wrote: AFAICT, databases do not support DELETEs with joins |-+> | | Max Rydahl | | | Andersen | | | <

Re: [Hibernate] Bug in CharacterType...

2002-10-25 Thread Max Rydahl Andersen
, please update the patch tracking too :) /max p.s. looking forward to the prize :) - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: "Max Rydahl Andersen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, October 25, 2002 1:48 PM Subject

[Hibernate] junit test for hypersonic fails ...

2002-10-31 Thread Max Rydahl Andersen
(container_id BIGINT NOT NULL IDENTITY)]" when creating schema test. Anyone know what is wrong ? I have tested it with the newest hsqldb 1.7 driver ... /max --- This sf.net email is sponsored by: Influence the future of Java(TM) te

[Hibernate] pre-Codegen enhancements

2002-12-31 Thread Max Rydahl Andersen
enerator. Hope you like it :) I welcome any comments :) /max p.s. A side question: Does anyone have an "Good Code Example" for which code you would like to be generated for add and remove methods for bi-directional collections ?

Re: [Hibernate] jcs cache

2003-01-18 Thread Max Rydahl Andersen
he p4 = (Person)s.find("from p in Person where p.id = 42).list().iterator().next(); assertSame(p3,p4); assertSame(p1,p3); // this one fails because of the copy-from-cache semantics, right ? (which is ok) s.flush(); s.close(); /max - Original Message - From: "Gavin King" &l

[Hibernate] implemented outerjoin fetching for single-column queries...

2003-01-18 Thread Max Rydahl Andersen
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

[Hibernate] hibernate unittests not "compatible" with eclipse...

2003-01-18 Thread Max Rydahl Andersen
and teardown methods. How about we changed the test suite to be more self contained ? (e.g. having a non-static holder for the sessions ?, and only recreate the database if this field is null ?) /max --- This SF.NET email is sponsored by: Thawt

[Hibernate] collections (in one-to-many, many-to-one, etc..)

2003-01-18 Thread Max Rydahl Andersen
te is *not* tracking which objects were removed from the collection (also a Good Thing)." - and I came to think: Ok, but then how does it decide to do a delete of something if it does not track deletions :) (I guess there are an simple and an more advanced explanation - I like them bot

Re: [Hibernate] try/finally in testcode ?

2002-11-03 Thread Max Rydahl Andersen
and waitand waits...and waits :) But if noone can see anything wrong to add try/finally to ensure closing/releasing connections in junit's I will suggest to not add or modify tests without having the try/finally stuff in place for the new or modified test. > > - Original

Re: [Hibernate] DynaBean components

2003-01-19 Thread Max Rydahl Andersen
default value of the correct type (and default could just as well be null) AND it can return information about the actual type of the property (in this example java.lang.String) where as with an map you can only assume it as "java.lang.Object" but is that all that great ? What are

[Hibernate] Single Identity column support for MSSQL ?

2002-11-02 Thread Max Rydahl Andersen
ialect for generating the sql insert string, thus I don't now exactly where to detect and then modify the sql string accordingly when it is needed to do a "insert into foo default values;" instead of "insert into foo values ();" (which is the sql currentl

Re: [Hibernate] Lazy Collections

2002-12-03 Thread Max Rydahl Andersen
around in the object graph. If you want the session to be (re)opend - why don't you just keep the session open ? /max - Original Message - From: "Jonas Van Poucke" <[EMAIL PROTECTED]> To: "Hibernate Developers" <[EMAIL PROTECTED]> Sent: Tuesday, Dece

Re: [Hibernate] 2 Hibernate questions

2003-01-07 Thread Max Rydahl Andersen
ss(Person.class); q.list(); // this would return Person.class instances and the requirement for the columns would just be to use the same columnnames as specified in the hbm.xml ) Not yet - but it have also been on my wishlist for a looong time :) (thinks it was the first

Re: [Hibernate] Calling Prepared Statements

2003-01-07 Thread Max Rydahl Andersen
Hibernate always uses prepared statements when it is executing its SQL converted from HQL - so..? (If you mean the best way to call raw SQL as prepared statements then you just use the JDBC, but is seldom you'll need it :) /max - Original Message - From: "Raible, Mat

[Hibernate] MSSQL and sequences test

2002-11-03 Thread Max Rydahl Andersen
ake this more general - like an ordered list of id-generators which could handle it in a more general way) /max --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! htt

Re: [Hibernate] Codegenerator of the future?

2003-01-10 Thread Max Rydahl Andersen
boundaries/responsibilities :) java + @tags ===XDocLet===> hbm.xml ===SchemaExport ===> SQL DDL/JDBC java + @tags <==hbm2java hbm.xml <==MiddleGen====== SQL DDL/JDBC /max - Original Message - From: "Raible, Matt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

[Hibernate] Why the name ?

2003-02-16 Thread Max Rydahl Andersen
Hi! Can't remember if I've asked this question before, but I couldn't seem to remember nor find it on the mailinglists. Why is Hibernate called Hibernate ? (just curious) Is is it something regarding putting objects to sleep in the cold winterlands of the d

Re: [Hibernate] TODO

2003-01-23 Thread Max Rydahl Andersen
> * add @tag generation to hbm2java If anyone can point me to an example of what is expected for this generation, then i'll be glad to look into this one. /max --- This SF.NET email is sponsored by: SourceForge Enterprise Editi

Re: [Hibernate] Patch/Bug tracking suggestion...

2002-12-23 Thread Max Rydahl Andersen
14 hours and no objections - it is hereby done :) Postings at Patches, Bug reports, feature and support request will now be send to the devel list. /max - Original Message - From: "Max Rydahl Andersen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, Dece

[Hibernate] Anyone up yet another philosophical comparison :)

2003-01-23 Thread Max Rydahl Andersen
f you are implementing a non-trivial (is there any other kind?) application, and someone attempts to sell you an O/R mapping tool that doesn't allow you to configure the mapping information with your favorite text editor, run away. "... well, here Hibernate is all about text :) Any comments

Re: [Hibernate] collections (in one-to-many, many-to-one, etc..)

2003-01-19 Thread Max Rydahl Andersen
a and Bond's parent key woud have been nulled (via an update) and then afterwards Gustav and Bond's would be again updated, right ? Does this makes sense :) /max - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Satu

Re: [Hibernate] hibernate unittests not "compatible" with eclipse...

2003-01-19 Thread Max Rydahl Andersen
aunch config that you uses to run the tests ? (This is done by going into the the Run/Debug configuration dialog, choose the "Launch configuration" and look at the "Common" tab. Here you can choose "Shared" and save it outside the eclipse workspace. Please send the re

Re: [Hibernate] DynaBean components

2003-01-19 Thread Max Rydahl Andersen
y the classes, I dig that :) Any other Good Thing's about this one ? (One could argue that dynamically extending the schema is a Bad Thing - but I won't - not yet :) /max - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

Re: [Hibernate] 2.0 beta 2

2003-02-02 Thread Max Rydahl Andersen
pdate" problems goes away" Is that true ? :) /max - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 02, 2003 10:20 AM Subject: [Hibernate] 2.0 beta 2 > 2.0 beta 2 fixes bugs in 2.0 beta 1 and adds:

Re: [Hibernate] Updated Logo

2003-02-04 Thread Max Rydahl Andersen
I liked the lowercase logo much better :) Could you not keep the different versions on the page so people can compare the differences ? /max - Original Message - From: "Christian Bauer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 04

[Hibernate] [Hibernate2] suggestion: introduce beforeSave into interceptor...

2003-01-06 Thread Max Rydahl Andersen
Would the time now be best for introducing an beforeSave/beforeFlush method to interceptor ? Why ? Just to have a way to directly set properties on the object instead of via an side-effect as it is done know in onSave/onFlush. Just a suggestion :) /max

Re: [Hibernate] Suggestion: Encapsulate SQLException in HibernateException

2003-01-06 Thread Max Rydahl Andersen
so that is actually not a "bad thing" :) 1. It will break existing code and exception handling code.but if ones exception handling code is so hairy that they cannot survive this change it would be a good time to clean up anyway :) /max - Original Message - From: "Gavi

[Hibernate] interesting sql approach...

2003-01-22 Thread Max Rydahl Andersen
http://sourceforge.net/docman/display_doc.php?docid=14872&group_id=65066 Just for info :) /max --- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships.

Re: [Hibernate] CodeGenerator bug

2002-10-31 Thread Max Rydahl Andersen
d (except if we add a new feature to the codegenerator to insert af default java type for properties without a type?) /max - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 31, 2002 6:37 PM Subject: [Hiberna

Re: [Hibernate] Hibernate 2

2003-01-03 Thread Max Rydahl Andersen
ed in that session. >Lets make this change also (for consistency). Max, I don't see >much value in making this configurable. We don't want to spawn >millions of config properties for minor issues like these. ;( bummer The methods will still throw an exception if I delete/sa

Re: [Hibernate] Suggestion: Encapsulate SQLException in HibernateException

2003-01-03 Thread Max Rydahl Andersen
Im approx +0 on this one :) Gavin, why was this done in the first place ? Seem to remember somewhere that the docs states: Free from my mind: "Hibernate does not hide what's happening. e.g. SQLExceptions is propagated all the way up to the user." . /max - Original Mes

[Hibernate] Hibern8IDE now part of hibernate-tools...

2003-08-05 Thread Max Rydahl Andersen
Still just in CVS, but you can get a binary archive at http://www.xam.dk/blog/?itemid=19 Enjoy ;) /max --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available

Re: [Hibernate] Road Map

2002-12-21 Thread Max Rydahl Andersen
sult of an query to implement an RowSet efficently. I think RowSet is much better, simpler and richer than just returning Collection of Object[] (and I now the "new Foo(name, otherstuff)" will help here - but still :) That was my 2 cents :) /max -

Re: [Hibernate] CodeGenerator bug

2002-10-31 Thread Max Rydahl Andersen
Yes - it was the problem about creation of the minimal constructor in the codegen. Which hbm.xml are you running it on ? /max - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 31, 2002 6:37 PM Subject: [Hi

Re: [Hibernate] mail-archive.com

2003-01-08 Thread Max Rydahl Andersen
Look at http://news.gmane.org/thread.php?group=gmane.comp.java.hibernate.devel (which also can be read through a newsreader ) /max - Original Message - From: "Raible, Matt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 08, 2003 4:39 PM Sub

Fw: [Hibernate] Metadata, codegenerator et.al...

2002-10-27 Thread Max Rydahl Andersen
forgot to send it to the list instead of directly so here you go :) - Original Message - From: "Max Rydahl Andersen" <[EMAIL PROTECTED]> To: "Gavin King" <[EMAIL PROTECTED]> Sent: Sunday, October 27, 2002 3:33 PM Subject: Re: [Hibernate] Metadata, co

Re: [Hibernate] CodeGenerator

2002-12-30 Thread Max Rydahl Andersen
erstand this correctly you want that if "java-type" is provided the codegenerator should use that type instead of the type specified in the propertyJust curious, when is that usefull ? > >The only bad thing about is its not very well self-documenting. >So we will reall

[Hibernate] what's that fix ?

2003-01-12 Thread Max Rydahl Andersen
"fixed proxy deserialization"was there ever a problem ? /max --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vaso

Re: [Hibernate] JBoss and Hibernate

2002-11-29 Thread Max Rydahl Andersen
de such a beast with hibernate ? /max - Original Message - From: "Simon Stewart" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 29, 2002 5:56 PM Subject: [Hibernate] JBoss and Hibernate > Using JBoss 3.0.4, the Apple OS X JDK 1.4DP6 and Postgre

[Hibernate] Re: [Hibernate-commits] Hibernate/cirrus/hibernate/test FooBarTest.java,1.237,1.238 MultiTableTest.java,1.21,1.22

2002-12-30 Thread Max Rydahl Andersen
Just curious, what is different in IBM JVM since the tests did not run on it ? /max - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 30, 2002 2:11 PM Subject: [Hibernate-commits] Hibernate/cirrus/hibernate/test FooBarTest.java

[Hibernate] images on hibernte wiki ?

2002-12-30 Thread Max Rydahl Andersen
Hi! Im in the process of writing some thoughts about the tool suite for Hibernate. In this regard I have a set of nice little pictures that I wanna show you - anyone know how to include/embed them in the wiki pages on hibernate.sf.net ? /max

Re: [Hibernate] Hooking into Hibernate classloader

2002-11-07 Thread Max Rydahl Andersen
lexible and resistant to things that might not be availble on the classpath and e.g. make it possible to load internal mapping model and use it for codegeneration and other stuff which in its nature cannot rely on the classing being in the classpath. /max > Which leads me to believe that maybe it

[Hibernate] wiki ... creating tables ?

2003-01-04 Thread Max Rydahl Andersen
Hi! Is it possible to create any form of tables in the wiki ? Can't seem to use standard wiki syntax ( | col 1 | col 2 | ) nor html table syntax ;( Im writing on the docs for hbm2java, and I need a table :) /max --- This sf.net ema

Re: [Hibernate] wiki ... creating tables ?

2003-01-04 Thread Max Rydahl Andersen
bummer - guess i'll have to refresh my ascii-arts lessons :) /max - Original Message - From: "Christian Bauer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 04, 2003 6:03 PM Subject: Re: [Hibernate] wiki ... creating tables ? >

[Hibernate] [Hibernate2] tag in hbm2java

2003-01-04 Thread Max Rydahl Andersen
I've just submitted a patch for hbm2java (the codegenerator) are anyone willing to take it for a testdrive ? :) The newsworthy stuff can be seen at http://hibernate.bluemars.net/57.html Look at TestMeta.hbm.xml and the other hbm.xml files in the tool.test package for inspiration :)

Re: [Hibernate] Hibernate vs. Castor example

2002-12-01 Thread Max Rydahl Andersen
e child.setParent(parent) be enough ? And then if I wish to have the parent in a "correct" state then I just do a s.load(parent, parent.getId()) ? /max --- This sf.net email is spo

Re: [Hibernate] CodeGenerator

2003-01-01 Thread Max Rydahl Andersen
ot; for the actual field ? (or should it be "description-field" And then similarily "scope-get", "scope-set" and "scope"/"scope-field" for the actual field ? Maybe "scope" and "description" should just

Re: [Hibernate] Tools road map

2003-01-01 Thread Max Rydahl Andersen
And I've added some replies there also :) (look for "- Max") /max - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: "Max Rydahl Andersen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 31, 2002 7:09 AM

Re: [Hibernate] Enhancements to the Hibernate Xdoclet subtasks

2002-12-20 Thread Max Rydahl Andersen
Gavin, Did anything ever happen concerning moving the source into an src directory ? /max - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: "Max Rydahl Andersen" <[EMAIL PROTECTED]> Cc: "hibernate list" <[EMAIL PROTECTED]>

Re: [Hibernate] hbm2java patch for generating find methods

2003-08-07 Thread Max Rydahl Andersen
This is already fixed in CVS - old news ;) Sorry that i did not bite on your posting earlier, but with approx. 150 mails per day regarding hibernate one or two will slip ;( /max [EMAIL PROTECTED] wrote: The following is in the patch. This patch is based on a question I posted earlier today

[Hibernate] Codegen usertype curiosity :)

2003-01-24 Thread Max Rydahl Andersen
: It it is the simplest thing that could possibly work :) Thus I suggest: First add support for an extra metatag that overrules the actual type when the codegenerator renderes the code. (This can also be used in other situations) Secondly add the "fancy" UserType handling :) hmm - maybe

Re: [Hibernate] hibernate unittests not "compatible" with eclipse...

2003-01-24 Thread Max Rydahl Andersen
Could anyone (Gavin?) please send me their eclipse configuration as mentioned in the below mail ? (im curious to find out why you can ever run unittests from inside eclipse without failures ...(as eclipse does NOT call the suite() method) /max - Original Message - From: "Max R

[Hibernate] diff on wiki ?

2003-02-04 Thread Max Rydahl Andersen
Hi! Is there any way to see what has changed on a certain page on the wiki ? It would be really nice since I often read the pages based on what "Recent site updates" contains, but I'll have to guess on which part of the contents that has changed - not very efficient reading :( Ju

Re: [Hibernate] Hibernate XDoclet Task

2003-01-01 Thread Max Rydahl Andersen
> > Anyway, using xdoclet for generating getters/setters > is an overkill. Roger :) > In Hibernate context follwing parts of xdoclet would > be usefull: > - java bean module -> generate your beaninfo > for hibernated classes ( in EJB scenario it has to be > tweaked for value/data objects -> stin

[Hibernate] Introduction of src...

2003-01-01 Thread Max Rydahl Andersen
Gavin, I've just discovered your introduction of src :) I like the tools naming, they make more sense now Just wanna know if it is "safe" to start developing/patching on hbm2java now, or do you have more tricks up your &qu

[Hibernate] Glarch$$EnhancedByCGLIB$$3 (Repeative method name/signature) and deadlock!

2002-11-02 Thread Max Rydahl Andersen
bottom. Furthermore I also seem to get a deadlock between the connection that has created all the tables ( in schemaexport) and the next tests that do some updates! Doesn't schemeexport close its connection ? (or at least release its locks?) /max ps. running MS SQL with the JTurbo d

[Hibernate] Session local interface...

2002-10-19 Thread Max Rydahl Andersen
Hi! Just wondering if anyone have discovered that I uploaded a small patch for having Session local interceptors. I think it is worthwile having the option of session local interceptors, otherwise one would have to go through loops to support session-specific interceptors. /max

[Hibernate] tabs?

2003-01-04 Thread Max Rydahl Andersen
Hi Gavin :) "beautiful, shiny, happy TABS!" - are you on drugs or something :) Just wanted to know if I have to enable "Use tabs for indention" in my editors from now on when im editing hibernate ? (I thought TABS was considered harmfull in code on the same level as

[Hibernate] Changelog correction :)

2002-10-29 Thread Max Rydahl Andersen
Hi! Just to be nitty-gritty... My name is: Max Andersen, not Max Anderson as it is stated in the changelog. Anderson is a Swedish/Norwegian name, and Andersen is a Danish name - and i'm a Dane :) /max --- This sf.net email is spon

[Hibernate] question about dialects..

2003-02-05 Thread Max Rydahl Andersen
(); Why is this deprecated just because not so many platforms support it ? (just wondering, coz' I would just assume dialects not supporting this would throw an UnsupportedOperation exception et.al.) /max --- This SF.NET email is sponsor

Re: [Hibernate] Glarch$$EnhancedByCGLIB$$3 (Repeative method name/signature) and deadlock!

2002-11-02 Thread Max Rydahl Andersen
ok - it was also the next panic attempt I was about to take :) /max - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: "Max Rydahl Andersen" <[EMAIL PROTECTED]> Cc: "hibernate list" <[EMAIL PROTECTED]> Sent: Saturday, No

[Hibernate] collections (in one-to-many, many-to-one, etc..)

2003-01-18 Thread Max Rydahl Andersen
te is *not* tracking which objects were removed from the collection (also a Good Thing)." - and I came to think: Ok, but then how does it decide to do a delete of something if it does not track deletions :) (I guess there are an simple and an more advanced explanation - I like them bot

Re: [Hibernate] Re: [Hibernate-commits] Hibernate/cirrus/hibernate/test FooBarTest.java,1.237,1.238 MultiTableTest.java,1.21,1.22

2002-12-31 Thread Max Rydahl Andersen
That's a mean one :) I'll remember that when my reflective code starts trashing on IBM's :) /max - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: "Max Rydahl Andersen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>

Re: [Hibernate] Moving Hibernate objects with SOAP

2003-08-14 Thread Max Rydahl Andersen
interface types (list, map, bag, etc.) But thinking about it makes also wonder why Axis can't handle untyped lists ?! Can it only handle concrete arrays, or ? Best explanation is probably to show me an example of a POJO and the corresponding Axis compatible soap thingy - could you do that

Re: Bi-directional relationships (was Re: [Hibernate] Are toplevel collections / subcollections a Bad Thing?)

2002-12-19 Thread Max Rydahl Andersen
Should we implement this paradigm in the codegenerator ? (of course as an option) Maybe something like this: Where the codegen would generate something like the code below if "CodeGen.genCompositeGetSet" is set for the property and/or relationship. /max - Original Message

[Hibernate] Suggestion: move cirrus into a src directory

2002-10-17 Thread Max Rydahl Andersen
directory as a set of classes too :) /max --- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com

Fw: [Hibernate] Road Map

2002-12-22 Thread Max Rydahl Andersen
whoops - forgot to correct the reply address so here it goes again :) - Original Message - From: "Max Rydahl Andersen" <[EMAIL PROTECTED]> To: "Gavin King" <[EMAIL PROTECTED]> Sent: Sunday, December 22, 2002 6:24 PM Subject: Re: [Hibernate] Road Map

Re: [Hibernate] Road Map

2002-12-22 Thread Max Rydahl Andersen
That has been discussed, but under the name "Fetch profiles". And always with a positive attitude :) So, yes - its a good idea, and patches are welcome :) /max - Original Message - From: "Ara Abrahamian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: S

[Hibernate] Codegen questions :)

2003-01-11 Thread Max Rydahl Andersen
? (I got my own guess'es, but would like to hear you version as i'm not sure my guess covers all the situations where it can occur...) With hope for feedback :) /max --- This SF.NET email is sponsored by: SourceForge Enterprise E

Re: [Hibernate] How to contribute a custom type ?

2003-08-14 Thread Max Rydahl Andersen
the JIRA ... look at hibernate.sf.net JIRA issue tracking Dhananjay Nene wrote: Hello, I have been working with a lot of polymorphic associations using a table-per- concreteclass strategy. This has led me to create a custom type which helps in mapping an "integer" into a class type for use with

Re: [Hibernate] CodeGenerator

2002-12-29 Thread Max Rydahl Andersen
And what about the meta-attribute thingy ? (it is not that a big codechange compared to the recent commit :) (i'm just pushing here :) /max --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf __

Re: [Hibernate] Why this line...

2002-10-29 Thread Max Rydahl Andersen
happening ? /max - Original Message - From: "Gavin King" <[EMAIL PROTECTED]> To: "Max Rydahl Andersen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, October 29, 2002 6:22 PM Subject: Re: [Hibernate] Why this line... > This is part of a pr

[Hibernate] darn...(and a codegenerator patch)

2002-12-30 Thread Max Rydahl Andersen
Here I sit with a patch for the codegenerator and know sourceforge is down for maintanence - bummer! Well, you get it here as an attachment instead then, so I can go happily to bed :) Yappering starts here: This patch solves the problems regarding the subclass not knowing about the supers fields

Re: [Hibernate] Anyone up yet another philosophical comparison :)

2003-01-23 Thread Max Rydahl Andersen
manage databases ? (Because then i'm quite sure I live in a theoritical world, because Im a developer and I do manage database (and many of my co-developers does it to - simply to keep the db and programs world in its best shape and sync) /max -

Re: [Hibernate] CodeGenerator

2002-12-29 Thread Max Rydahl Andersen
about the meta-attribute thingy ? (it is not that a big > codechange compared to the recent commit :) (i'm just pushing here :) How about adding the meta-attribute thingy as an extra X-mas gift - it would instantly make me happy, and the codegenerator so much more better :) /max -

[Hibernate] hbm2java in Hibernate 2...

2003-01-03 Thread Max Rydahl Andersen
How much back-wards compability should there be for hibernate-1.1 dtd in hbm2java ? (Here thinking on the recent 'role to name' name change)... Just wanting to hear the general opinion ? (Im +1 on having hbm2java only support hibernate-2.0.

Re: [Hibernate] CodeGenerator

2002-12-29 Thread Max Rydahl Andersen
t; + >fields[i].get(this) + "\n"); > } > } catch (Exception e) { > // ignored! > } > > return results.toString(); > } This is more or less

Re: [Hibernate] Hibern8IDE now part of hibernate-tools...

2003-08-14 Thread Max Rydahl Andersen
...and if you use the one in the cvs you will get a HQL history function too ;) /max [EMAIL PROTECTED] wrote: Fantastic.. I love using it to test my queries, and running it from inside of Eclipse is easy and great.. I will try out the new version! Does the new version allow you to copy

Re: [Hibernate] CodeGenerator

2002-12-29 Thread Max Rydahl Andersen
guidelines written here: (which is what commons-lang has done) http://java.sun.com/docs/books/effective/chapters.html (Read Chapter 3) /max - Original Message - From: "Matt Raible" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 29, 2002 4:47 PM S

Re: [Hibernate] saveOrUpdate()

2003-01-23 Thread Max Rydahl Andersen
imilar for using it as an id, but here one should maybe just use the current unsaved semantics..?) /max --- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive schola

Re: [Hibernate] Hibernate 2

2003-01-02 Thread Max Rydahl Andersen
forgot one... >* Remove the exception that occurs if you save an object > that is already associated with the session. This > makes save() consistent with saveOrUpdate(). >I am probably a +1 on this I would suggest the same mechanism as with delete - it is nice to have it as an o

Re: [Hibernate] Middlegen and XDoclet marriage

2003-01-03 Thread Max Rydahl Andersen
eneration in the code generator would ofcourse be optionalhey, i got to thinkwith my local version of hbm2java (which the codegenerator is called now :) we got the , which is an ideal place for MiddleGen to place it's "additional" XDoclet tags...if that is in

Re: [Hibernate] Road Map

2002-12-21 Thread Max Rydahl Andersen
t; I can't see any other decent way - the View layer should not just assume it got the whole object model available to it... /max --- This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! Green Lasers, Hip Geek T-Shirts,

  1   2   3   4   5   6   7   8   >