You can subscribe to this list here.
2002 |
Jan
(2) |
Feb
(157) |
Mar
(111) |
Apr
(61) |
May
(68) |
Jun
(45) |
Jul
(101) |
Aug
(132) |
Sep
(148) |
Oct
(227) |
Nov
(141) |
Dec
(285) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(518) |
Feb
(462) |
Mar
(390) |
Apr
(488) |
May
(321) |
Jun
(336) |
Jul
(268) |
Aug
(374) |
Sep
(211) |
Oct
(246) |
Nov
(239) |
Dec
(173) |
2004 |
Jan
(110) |
Feb
(131) |
Mar
(85) |
Apr
(120) |
May
(82) |
Jun
(101) |
Jul
(54) |
Aug
(65) |
Sep
(94) |
Oct
(51) |
Nov
(56) |
Dec
(168) |
2005 |
Jan
(146) |
Feb
(98) |
Mar
(75) |
Apr
(118) |
May
(85) |
Jun
(75) |
Jul
(44) |
Aug
(94) |
Sep
(70) |
Oct
(84) |
Nov
(115) |
Dec
(52) |
2006 |
Jan
(113) |
Feb
(83) |
Mar
(217) |
Apr
(158) |
May
(219) |
Jun
(218) |
Jul
(189) |
Aug
(39) |
Sep
(3) |
Oct
(7) |
Nov
(4) |
Dec
(2) |
2007 |
Jan
|
Feb
(2) |
Mar
(7) |
Apr
(3) |
May
(3) |
Jun
(8) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(4) |
Nov
(7) |
Dec
|
2008 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2009 |
Jan
(6) |
Feb
|
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(1) |
Jul
(10) |
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(3) |
2010 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Gavin K. <ga...@ap...> - 2002-11-02 22:57:43
|
I'm sure we *should* have some try / finallys. But adding them to all the tests is going to be hard work. Up and till now I had kinda preferred the way the tests actually stop when an exception occurs. I makes debugging quicker. ----- Original Message ----- From: "Max Rydahl Andersen" <ma...@eo...> To: <hib...@li...> Sent: Sunday, November 03, 2002 9:50 AM Subject: [Hibernate] try/finally in testcode ? > Hi! > > It seems there are "some" bug regarding the cgilib enhancer - or ? > > Well, a derived problem from this is that the unit tests fails while having > open connections to the db! > Shouldn't we surround s.open/s.close with a try/finally where the finally > block just tries to close the connection ? > This will allow the tests to continue even though one test has previously > failed - if close is not called (MSQL at least) has > problems letting the code continue (it simply deadlocks :( > > /max > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel |
From: Max R. A. <ma...@eo...> - 2002-11-02 22:55:05
|
ok - it was also the next panic attempt I was about to take :) /max ----- Original Message ----- From: "Gavin King" <ga...@ap...> To: "Max Rydahl Andersen" <ma...@eo...> Cc: "hibernate list" <hib...@li...> Sent: Saturday, November 02, 2002 11:46 PM Subject: Re: [Hibernate] Glarch$$EnhancedByCGLIB$$3 (Repeative method name/signature) and deadlock! > Ah. You need to grab the latest cglib.jar. I will add it to CVS now. > > ----- Original Message ----- > From: "Max Rydahl Andersen" <ma...@eo...> > To: <hib...@li...> > Sent: Sunday, November 03, 2002 9:33 AM > Subject: [Hibernate] Glarch$$EnhancedByCGLIB$$3 (Repeative method > name/signature) and deadlock! > > > > Hi! > > > > While running FooBarTest on the latest code from cvs I get the following > > error (multiple times): > > java.lang.reflect.InvocationTargetException: java.lang.ClassFormatError: > > cirrus/hibernate/test/Glarch$$EnhancedByCGLIB$$3 (Repeative method > > name/signature) > > > > The complete stack trace is at the 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 driver. > > > > > > java.lang.reflect.InvocationTargetException: java.lang.ClassFormatError: > > cirrus/hibernate/test/Glarch$$EnhancedByCGLIB$$3 (Repeative method > > name/signature) > > at java.lang.ClassLoader.defineClass0(Native Method) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:493) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:428) > > at java.lang.reflect.Method.invoke(Native Method) > > at net.sf.cglib.proxy.Enhancer.enhance(Enhancer.java:245) > > at > > > cirrus.hibernate.proxy.CGLIBLazyInitializer.getProxy(CGLIBLazyInitializer.ja > > va:43) > > at cirrus.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1464) > > at cirrus.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1409) > > at > > > cirrus.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:63) > > at cirrus.hibernate.type.EntityType.nullSafeGet(EntityType.java:118) > > at > cirrus.hibernate.type.ComponentType.nullSafeGet(ComponentType.java:132) > > at cirrus.hibernate.type.AbstractType.hydrate(AbstractType.java:65) > > at cirrus.hibernate.loader.Loader.hydrate(Loader.java:334) > > at cirrus.hibernate.loader.Loader.loadFromResultSet(Loader.java:284) > > at cirrus.hibernate.loader.Loader.doFind(Loader.java:136) > > at cirrus.hibernate.loader.Loader.find(Loader.java:471) > > at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1069) > > at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1047) > > at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1039) > > at cirrus.hibernate.test.FooBarTest.testFind(FooBarTest.java:580) > > at java.lang.reflect.Method.invoke(Native Method) > > at junit.framework.TestCase.runTest(TestCase.java:166) > > at junit.framework.TestCase.runBare(TestCase.java:140) > > at junit.framework.TestResult$1.protect(TestResult.java:106) > > at junit.framework.TestResult.runProtected(TestResult.java:124) > > at junit.framework.TestResult.run(TestResult.java:109) > > at junit.framework.TestCase.run(TestCase.java:131) > > at junit.framework.TestSuite.runTest(TestSuite.java:173) > > at junit.framework.TestSuite.run(TestSuite.java:168) > > at > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu > > nner.java:360) > > at > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. > > java:246) > > at > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner > > .java:146) > > rethrown as cirrus.hibernate.HibernateException: CGLIB Enhancement failed > > at > > > cirrus.hibernate.proxy.CGLIBLazyInitializer.getProxy(CGLIBLazyInitializer.ja > > va:59) > > at cirrus.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1464) > > at cirrus.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1409) > > at > > > cirrus.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:63) > > at cirrus.hibernate.type.EntityType.nullSafeGet(EntityType.java:118) > > at > cirrus.hibernate.type.ComponentType.nullSafeGet(ComponentType.java:132) > > at cirrus.hibernate.type.AbstractType.hydrate(AbstractType.java:65) > > at cirrus.hibernate.loader.Loader.hydrate(Loader.java:334) > > at cirrus.hibernate.loader.Loader.loadFromResultSet(Loader.java:284) > > at cirrus.hibernate.loader.Loader.doFind(Loader.java:136) > > at cirrus.hibernate.loader.Loader.find(Loader.java:471) > > at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1069) > > at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1047) > > at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1039) > > at cirrus.hibernate.test.FooBarTest.testFind(FooBarTest.java:580) > > at java.lang.reflect.Method.invoke(Native Method) > > at junit.framework.TestCase.runTest(TestCase.java:166) > > at junit.framework.TestCase.runBare(TestCase.java:140) > > at junit.framework.TestResult$1.protect(TestResult.java:106) > > at junit.framework.TestResult.runProtected(TestResult.java:124) > > at junit.framework.TestResult.run(TestResult.java:109) > > at junit.framework.TestCase.run(TestCase.java:131) > > at junit.framework.TestSuite.runTest(TestSuite.java:173) > > at junit.framework.TestSuite.run(TestSuite.java:168) > > at > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu > > nner.java:360) > > at > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. > > java:246) > > at > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner > > .java:146) > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: See the NEW Palm > > Tungsten T handheld. Power & Color in a compact size! > > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > > _______________________________________________ > > hibernate-devel mailing list > > hib...@li... > > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > |
From: Max R. A. <ma...@eo...> - 2002-11-02 22:51:01
|
Hi! It seems there are "some" bug regarding the cgilib enhancer - or ? Well, a derived problem from this is that the unit tests fails while having open connections to the db! Shouldn't we surround s.open/s.close with a try/finally where the finally block just tries to close the connection ? This will allow the tests to continue even though one test has previously failed - if close is not called (MSQL at least) has problems letting the code continue (it simply deadlocks :( /max |
From: Gavin K. <ga...@ap...> - 2002-11-02 22:47:11
|
Ah. You need to grab the latest cglib.jar. I will add it to CVS now. ----- Original Message ----- From: "Max Rydahl Andersen" <ma...@eo...> To: <hib...@li...> Sent: Sunday, November 03, 2002 9:33 AM Subject: [Hibernate] Glarch$$EnhancedByCGLIB$$3 (Repeative method name/signature) and deadlock! > Hi! > > While running FooBarTest on the latest code from cvs I get the following > error (multiple times): > java.lang.reflect.InvocationTargetException: java.lang.ClassFormatError: > cirrus/hibernate/test/Glarch$$EnhancedByCGLIB$$3 (Repeative method > name/signature) > > The complete stack trace is at the 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 driver. > > > java.lang.reflect.InvocationTargetException: java.lang.ClassFormatError: > cirrus/hibernate/test/Glarch$$EnhancedByCGLIB$$3 (Repeative method > name/signature) > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:493) > at java.lang.ClassLoader.defineClass(ClassLoader.java:428) > at java.lang.reflect.Method.invoke(Native Method) > at net.sf.cglib.proxy.Enhancer.enhance(Enhancer.java:245) > at > cirrus.hibernate.proxy.CGLIBLazyInitializer.getProxy(CGLIBLazyInitializer.ja > va:43) > at cirrus.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1464) > at cirrus.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1409) > at > cirrus.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:63) > at cirrus.hibernate.type.EntityType.nullSafeGet(EntityType.java:118) > at cirrus.hibernate.type.ComponentType.nullSafeGet(ComponentType.java:132) > at cirrus.hibernate.type.AbstractType.hydrate(AbstractType.java:65) > at cirrus.hibernate.loader.Loader.hydrate(Loader.java:334) > at cirrus.hibernate.loader.Loader.loadFromResultSet(Loader.java:284) > at cirrus.hibernate.loader.Loader.doFind(Loader.java:136) > at cirrus.hibernate.loader.Loader.find(Loader.java:471) > at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1069) > at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1047) > at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1039) > at cirrus.hibernate.test.FooBarTest.testFind(FooBarTest.java:580) > at java.lang.reflect.Method.invoke(Native Method) > at junit.framework.TestCase.runTest(TestCase.java:166) > at junit.framework.TestCase.runBare(TestCase.java:140) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:131) > at junit.framework.TestSuite.runTest(TestSuite.java:173) > at junit.framework.TestSuite.run(TestSuite.java:168) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu > nner.java:360) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. > java:246) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner > .java:146) > rethrown as cirrus.hibernate.HibernateException: CGLIB Enhancement failed > at > cirrus.hibernate.proxy.CGLIBLazyInitializer.getProxy(CGLIBLazyInitializer.ja > va:59) > at cirrus.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1464) > at cirrus.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1409) > at > cirrus.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:63) > at cirrus.hibernate.type.EntityType.nullSafeGet(EntityType.java:118) > at cirrus.hibernate.type.ComponentType.nullSafeGet(ComponentType.java:132) > at cirrus.hibernate.type.AbstractType.hydrate(AbstractType.java:65) > at cirrus.hibernate.loader.Loader.hydrate(Loader.java:334) > at cirrus.hibernate.loader.Loader.loadFromResultSet(Loader.java:284) > at cirrus.hibernate.loader.Loader.doFind(Loader.java:136) > at cirrus.hibernate.loader.Loader.find(Loader.java:471) > at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1069) > at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1047) > at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1039) > at cirrus.hibernate.test.FooBarTest.testFind(FooBarTest.java:580) > at java.lang.reflect.Method.invoke(Native Method) > at junit.framework.TestCase.runTest(TestCase.java:166) > at junit.framework.TestCase.runBare(TestCase.java:140) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:131) > at junit.framework.TestSuite.runTest(TestSuite.java:173) > at junit.framework.TestSuite.run(TestSuite.java:168) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu > nner.java:360) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. > java:246) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner > .java:146) > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel |
From: Max R. A. <ma...@eo...> - 2002-11-02 22:33:51
|
Hi! While running FooBarTest on the latest code from cvs I get the following error (multiple times): java.lang.reflect.InvocationTargetException: java.lang.ClassFormatError: cirrus/hibernate/test/Glarch$$EnhancedByCGLIB$$3 (Repeative method name/signature) The complete stack trace is at the 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 driver. java.lang.reflect.InvocationTargetException: java.lang.ClassFormatError: cirrus/hibernate/test/Glarch$$EnhancedByCGLIB$$3 (Repeative method name/signature) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:493) at java.lang.ClassLoader.defineClass(ClassLoader.java:428) at java.lang.reflect.Method.invoke(Native Method) at net.sf.cglib.proxy.Enhancer.enhance(Enhancer.java:245) at cirrus.hibernate.proxy.CGLIBLazyInitializer.getProxy(CGLIBLazyInitializer.ja va:43) at cirrus.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1464) at cirrus.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1409) at cirrus.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:63) at cirrus.hibernate.type.EntityType.nullSafeGet(EntityType.java:118) at cirrus.hibernate.type.ComponentType.nullSafeGet(ComponentType.java:132) at cirrus.hibernate.type.AbstractType.hydrate(AbstractType.java:65) at cirrus.hibernate.loader.Loader.hydrate(Loader.java:334) at cirrus.hibernate.loader.Loader.loadFromResultSet(Loader.java:284) at cirrus.hibernate.loader.Loader.doFind(Loader.java:136) at cirrus.hibernate.loader.Loader.find(Loader.java:471) at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1069) at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1047) at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1039) at cirrus.hibernate.test.FooBarTest.testFind(FooBarTest.java:580) at java.lang.reflect.Method.invoke(Native Method) at junit.framework.TestCase.runTest(TestCase.java:166) at junit.framework.TestCase.runBare(TestCase.java:140) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:131) at junit.framework.TestSuite.runTest(TestSuite.java:173) at junit.framework.TestSuite.run(TestSuite.java:168) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu nner.java:360) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. java:246) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner .java:146) rethrown as cirrus.hibernate.HibernateException: CGLIB Enhancement failed at cirrus.hibernate.proxy.CGLIBLazyInitializer.getProxy(CGLIBLazyInitializer.ja va:59) at cirrus.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1464) at cirrus.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1409) at cirrus.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:63) at cirrus.hibernate.type.EntityType.nullSafeGet(EntityType.java:118) at cirrus.hibernate.type.ComponentType.nullSafeGet(ComponentType.java:132) at cirrus.hibernate.type.AbstractType.hydrate(AbstractType.java:65) at cirrus.hibernate.loader.Loader.hydrate(Loader.java:334) at cirrus.hibernate.loader.Loader.loadFromResultSet(Loader.java:284) at cirrus.hibernate.loader.Loader.doFind(Loader.java:136) at cirrus.hibernate.loader.Loader.find(Loader.java:471) at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1069) at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1047) at cirrus.hibernate.impl.SessionImpl.find(SessionImpl.java:1039) at cirrus.hibernate.test.FooBarTest.testFind(FooBarTest.java:580) at java.lang.reflect.Method.invoke(Native Method) at junit.framework.TestCase.runTest(TestCase.java:166) at junit.framework.TestCase.runBare(TestCase.java:140) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:131) at junit.framework.TestSuite.runTest(TestSuite.java:173) at junit.framework.TestSuite.run(TestSuite.java:168) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu nner.java:360) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. java:246) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner .java:146) |
From: Max R. A. <ma...@eo...> - 2002-11-02 16:27:05
|
> Yep, you got it. But if you are going to do it anyway, I suppose you might > as well submit a patch.... Yeah - I guess I could - so I did :) Now I can almost run all junit-tests on MSSQl. /max > ----- Original Message ----- > From: "Max Rydahl Andersen" <ma...@eo...> > To: "Gavin King" <ga...@ap...> > Sent: Sunday, November 03, 2002 2:13 AM > Subject: Re: [Hibernate] Single Identity column support for MSSQL ? > > > > - bummer :( > > > > It would just make my testing much easier if I could run (almost) all > tests > > on my mssql server. > > > > Well - i'll try to live without... > > > > IF I try to make my own local copy of hibernate generate "good" mssql sql > > have I understood it correctly that it > > is only in the generateInsertString of EntityPersister that there need to > be > > some changes ? > > > > AND the specific mssql stuff should only be activated when identiyString > == > > true && propertyColumns == false , or ? > > > > /max > > > > ----- Original Message ----- > > From: "Gavin King" <ga...@ap...> > > To: "Max Rydahl Andersen" <ma...@eo...> > > Cc: "hibernate list" <hib...@li...> > > Sent: Saturday, November 02, 2002 4:06 PM > > Subject: Re: [Hibernate] Single Identity column support for MSSQL ? > > > > > > > I wanna leave this 'til after we have a proper SQL statement hierarchy; > > > which I would like to get done ASAP and am considering spinning off as a > > new > > > project. > > > > > > ----- Original Message ----- > > > From: "Max Rydahl Andersen" <ma...@eo...> > > > To: <hib...@li...> > > > Sent: Sunday, November 03, 2002 1:55 AM > > > Subject: [Hibernate] Single Identity column support for MSSQL ? > > > > > > > > > > As seen in http://sourceforge.net/forum/message.php?msg_id=1718579 it > is > > > > actually possible to have MSSQL support that a has only a single > > identity > > > > column which is the > > > > case in many of the JUnit tests, but.... > > > > > > > > I've looked into the query generation and I don't see any calls to the > > > > Dialect 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 currently > > > > generated) > > > > > > > > Can someone? ;) > > > > > > > > /max > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by: See the NEW Palm > > > > Tungsten T handheld. Power & Color in a compact size! > > > > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > > > > _______________________________________________ > > > > hibernate-devel mailing list > > > > hib...@li... > > > > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > |
From: Gavin K. <ga...@ap...> - 2002-11-02 15:17:09
|
Yep, you got it. But if you are going to do it anyway, I suppose you might as well submit a patch.... ----- Original Message ----- From: "Max Rydahl Andersen" <ma...@eo...> To: "Gavin King" <ga...@ap...> Sent: Sunday, November 03, 2002 2:13 AM Subject: Re: [Hibernate] Single Identity column support for MSSQL ? > - bummer :( > > It would just make my testing much easier if I could run (almost) all tests > on my mssql server. > > Well - i'll try to live without... > > IF I try to make my own local copy of hibernate generate "good" mssql sql > have I understood it correctly that it > is only in the generateInsertString of EntityPersister that there need to be > some changes ? > > AND the specific mssql stuff should only be activated when identiyString == > true && propertyColumns == false , or ? > > /max > > ----- Original Message ----- > From: "Gavin King" <ga...@ap...> > To: "Max Rydahl Andersen" <ma...@eo...> > Cc: "hibernate list" <hib...@li...> > Sent: Saturday, November 02, 2002 4:06 PM > Subject: Re: [Hibernate] Single Identity column support for MSSQL ? > > > > I wanna leave this 'til after we have a proper SQL statement hierarchy; > > which I would like to get done ASAP and am considering spinning off as a > new > > project. > > > > ----- Original Message ----- > > From: "Max Rydahl Andersen" <ma...@eo...> > > To: <hib...@li...> > > Sent: Sunday, November 03, 2002 1:55 AM > > Subject: [Hibernate] Single Identity column support for MSSQL ? > > > > > > > As seen in http://sourceforge.net/forum/message.php?msg_id=1718579 it is > > > actually possible to have MSSQL support that a has only a single > identity > > > column which is the > > > case in many of the JUnit tests, but.... > > > > > > I've looked into the query generation and I don't see any calls to the > > > Dialect 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 currently > > > generated) > > > > > > Can someone? ;) > > > > > > /max > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: See the NEW Palm > > > Tungsten T handheld. Power & Color in a compact size! > > > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > > > _______________________________________________ > > > hibernate-devel mailing list > > > hib...@li... > > > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > > > |
From: Gavin K. <ga...@ap...> - 2002-11-02 15:07:13
|
I wanna leave this 'til after we have a proper SQL statement hierarchy; which I would like to get done ASAP and am considering spinning off as a new project. ----- Original Message ----- From: "Max Rydahl Andersen" <ma...@eo...> To: <hib...@li...> Sent: Sunday, November 03, 2002 1:55 AM Subject: [Hibernate] Single Identity column support for MSSQL ? > As seen in http://sourceforge.net/forum/message.php?msg_id=1718579 it is > actually possible to have MSSQL support that a has only a single identity > column which is the > case in many of the JUnit tests, but.... > > I've looked into the query generation and I don't see any calls to the > Dialect 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 currently > generated) > > Can someone? ;) > > /max > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel |
From: Max R. A. <ma...@eo...> - 2002-11-02 14:55:32
|
As seen in http://sourceforge.net/forum/message.php?msg_id=1718579 it is actually possible to have MSSQL support that a has only a single identity column which is the case in many of the JUnit tests, but.... I've looked into the query generation and I don't see any calls to the Dialect 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 currently generated) Can someone? ;) /max |
From: Gavin K. <ga...@ap...> - 2002-11-02 14:20:04
|
Thanks Max :) ----- Original Message ----- From: "Max Rydahl Andersen" <ma...@eo...> To: "Gavin King" <ga...@ap...> Sent: Sunday, November 03, 2002 1:13 AM Subject: Re: [Hibernate] CodeGenerator bug > > > The codegenerator assumes there are at least ONE attribute on each > > > persistent class, and in this case it sees none > > > because of the above mentioned "error". > > > > Theoretically Hibernate can persist a class with no properties ... > > CodeGenerator should handle the *possibility* at least. > > I've submitted a small patch that handles that *possibility* > > > > I can easily fix the problem of an incomplete constructor, but it will > > only > > > hide the true error - that > > > you have not created a hbm.xml that can be codegenerated (except if we > add > > a > > > new feature to the codegenerator to > > > insert af default java type for properties without a type?) > > > > Nah, lets not assume any default property types. > > Thus the codegenerator will still generate a class, but it will not contain > properties without > provided types.. > > /max |
From: Gavin K. <ga...@ap...> - 2002-11-01 00:10:40
|
> The codegenerator assumes there are at least ONE attribute on each > persistent class, and in this case it sees none > because of the above mentioned "error". Theoretically Hibernate can persist a class with no properties ... CodeGenerator should handle the *possibility* at least. > I can easily fix the problem of an incomplete constructor, but it will only > hide the true error - that > you have not created a hbm.xml that can be codegenerated (except if we add a > new feature to the codegenerator to > insert af default java type for properties without a type?) Nah, lets not assume any default property types. |
From: Max R. A. <ma...@eo...> - 2002-10-31 21:23:29
|
Ok - I've found the exact problem. The hbm.xml file does not state a type for any of the property names in the SubDetail class - thus the codegenerator cannot give it any sensible class name (maybe we should just insert java.lang.Object or java.lang.String then ?) The codegenerator assumes there are at least ONE attribute on each persistent class, and in this case it sees none because of the above mentioned "error". I can easily fix the problem of an incomplete constructor, but it will only hide the true error - that you have not created a hbm.xml that can be codegenerated (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" <ga...@ap...> To: <hib...@li...> Sent: Thursday, October 31, 2002 6:37 PM Subject: [Hibernate] CodeGenerator bug > This bug is still in the current codebase: > > public SubDetai) { > } > > I had been under the impression it was fixed already..... I know someone > else knew what was going on there.... > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > |
From: Max R. A. <ma...@eo...> - 2002-10-31 20:27:09
|
Hi! I wanna be able to develop on my laptop (Don't wanna have a full blown db installed on it's slow disk) So, while trying to make most of the junit tests run on a Hypersonic db I found the following and was wondering if this is common knowledge or/and expected behavior: ABCProxyTest and ABCTest - Uses count as a property, that is a preserved word in Hypersonic DemoTest - there is a thread.sleep which is not reliable, it always timesout before the datastore is setup. Maybe we should make a more explict synchronization n the datastore ? MasterDetailTest relies on the dialect having support for sequences - should we maybe have an expected exception if dialect is hibernate (or any other without support for dialects ? MultiTable fails with a cirrus.hibernate.QueryException: Incorrect query syntax [from s in class Simple where s.count>0] at cirrus.hibernate.query.QueryTranslator.compile(QueryTranslator.java:148) at cirrus.hibernate.query.QueryTranslator.compile(QueryTranslator.java:123) at cirrus.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:30 5) at cirrus.hibernate.impl.SessionFactoryImpl.getScalarQuery(SessionFactoryImpl.j ava:287) at cirrus.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:1092) at cirrus.hibernate.impl.SessionImpl.iterate(SessionImpl.java:1120) at cirrus.hibernate.impl.SessionImpl.iterate(SessionImpl.java:1110) at cirrus.hibernate.impl.SessionImpl.iterate(SessionImpl.java:1102) at cirrus.hibernate.test.MultiTableTest.testMultiTable(MultiTableTest.java:79) It seems as it cannot parse "s.count" in "from s in class Simple where s.count>0" .... can the newly quote patch have messed something up ? ODMGTest only passes if hibernate.jdbc.use_streams_for_binary is set to false (because hsqldb presumably cannot handle binary's that has a Null value (it creates a binarystream on a null buffer) (Is this documented somewhare ?) In ParentChildTest the tables are not created ? ;( Many "Unsuccessful: Wrong data type: CONTAINER_ID in statement [create table Contained (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 |
From: Max R. A. <ma...@eo...> - 2002-10-31 18:01:38
|
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" <ga...@ap...> To: <hib...@li...> Sent: Thursday, October 31, 2002 6:37 PM Subject: [Hibernate] CodeGenerator bug > This bug is still in the current codebase: > > public SubDetai) { > } > > I had been under the impression it was fixed already..... I know someone > else knew what was going on there.... > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > |
From: Gavin K. <ga...@ap...> - 2002-10-31 17:35:50
|
This bug is still in the current codebase: public SubDetai) { } I had been under the impression it was fixed already..... I know someone else knew what was going on there.... |
From: Gavin K. <ga...@ap...> - 2002-10-31 09:25:53
|
> i wonder what u would call that level :-) ummmmm..... log.BE_CAREFUL_AND_MAKE_SURE_YOU_ARE_DOING_THIS_INTENTIONALLY > in my case, our apps always programatically configure hibernate (no > hibernate.properties, hibernate.cfg.xml) as we have our own little > configuration library that enables us to keep the configuration of our app > itself and the configuration of libraries all in the one place. so in this > scenario, the hibernate.properties not found message is only informational. > likewise for the JNDI binding message, when u actually don't want hibernate > bound to JNDI. Yeah, i know, you guys are right about this. I just wanted something that would grab the attention of new users..... |
From: Gavin K. <ga...@ap...> - 2002-10-31 08:46:51
|
See this feature request: https://sourceforge.net/tracker/index.php?func=detail&aid=612849&group_id=40 712&atid=428711 The new branch is called dynamic_update I need input on this.... TIA Gavin |
From: Alexander S. <ale...@gm...> - 2002-10-31 08:28:19
|
Hello, does anybody here have any experiences with UNICODE-String handling in hibernate ? I'm currently working in a bigger internet project where we have some related problems in different handling of preparedStatements and NON-preparedStatements in M$ SQL Server. Thanks in advance Ciao Alexander -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! |
From: Brad C. <bra...@wo...> - 2002-10-30 20:08:40
|
a readme would be fine. ----- Original Message -----=20 From: Gavin King=20 To: Brad Clow=20 Cc: hib...@li...=20 Sent: Wednesday, October 30, 2002 10:37 PM Subject: Re: [Hibernate] jar versions The trouble with b is that the name of the file has to change each = time we upgrade to a new version. How bout adding a readme file which = lists the jar versions? ----- Original Message -----=20 From: Brad Clow=20 To: hib...@li...=20 Sent: Wednesday, October 30, 2002 6:19 PM Subject: [Hibernate] jar versions when dealing with all of the library dependencies of an application, = it is important to know the version of each required library. can we = identify the versions of the libraries hibernate depends on either by: a) cvs comment/label b) name of each library jar includes it's version eg. = commons-collections-2.1.jar i would prefer option b. brad |
From: Gavin K. <ga...@ap...> - 2002-10-30 12:37:28
|
Yeah thats fine, trouble is that there are a whole 3 log levels which correspond to "errors" and only one that indicates normal behaviour. I would have preferred something else between info and warn... ----- Original Message ----- From: "Brad Clow" <bra...@wo...> To: "Brad Clow" <bra...@wo...> Cc: <hib...@li...> Sent: Wednesday, October 30, 2002 6:36 PM Subject: Re: [Hibernate] semantic of log WARN > i have changed the levels of these two messages to info now. > > brad > > > > > 12:25:15,787 (SocketListener-2) [WARN:hibernate.Environment -- > > hibernate.properties not found] > > 12:25:20,854 (SocketListener-2) > > [WARN:impl.SessionFactoryObjectFactory -- no > > JDNI name configured] > > > > These are not pathological conditions, and it seems to me > > that INFO would be > > more appropriate in this setting. > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel |
From: Gavin K. <ga...@ap...> - 2002-10-30 12:35:38
|
The trouble with b is that the name of the file has to change each time = we upgrade to a new version. How bout adding a readme file which lists = the jar versions? ----- Original Message -----=20 From: Brad Clow=20 To: hib...@li...=20 Sent: Wednesday, October 30, 2002 6:19 PM Subject: [Hibernate] jar versions when dealing with all of the library dependencies of an application, = it is important to know the version of each required library. can we = identify the versions of the libraries hibernate depends on either by: a) cvs comment/label b) name of each library jar includes it's version eg. = commons-collections-2.1.jar i would prefer option b. brad |
From: Joseph P. <joe...@ho...> - 2002-10-30 07:56:36
|
Go with b). We already use that convention on our project ;) Joseph Panico joe...@ho... >From: "Brad Clow" <bra...@wo...> >Reply-To: "Brad Clow" <bra...@wo...> >To: <hib...@li...> >Subject: [Hibernate] jar versions >Date: Wed, 30 Oct 2002 17:19:48 +1000 > >when dealing with all of the library dependencies of an application, it is >important to know the version of each required library. can we identify >the versions of the libraries hibernate depends on either by: > >a) cvs comment/label >b) name of each library jar includes it's version eg. >commons-collections-2.1.jar > >i would prefer option b. > >brad _________________________________________________________________ Get faster connections -- switch to MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp |
From: Brad C. <bra...@wo...> - 2002-10-30 07:37:05
|
i have changed the levels of these two messages to info now. brad > > 12:25:15,787 (SocketListener-2) [WARN:hibernate.Environment -- > hibernate.properties not found] > 12:25:20,854 (SocketListener-2) > [WARN:impl.SessionFactoryObjectFactory -- no > JDNI name configured] > > These are not pathological conditions, and it seems to me > that INFO would be > more appropriate in this setting. > |
From: Brad C. <bra...@wo...> - 2002-10-30 07:20:01
|
when dealing with all of the library dependencies of an application, it = is important to know the version of each required library. can we = identify the versions of the libraries hibernate depends on either by: a) cvs comment/label b) name of each library jar includes it's version eg. = commons-collections-2.1.jar i would prefer option b. brad |
From: max <ma...@eo...> - 2002-10-29 20:12:56
|
Ok - now sf.net has responded that they should have fixed the problem (a simple dos2unix syncmail > syncmail did the trick) - so NOW we should get notifications of cvs commits. So, beware, everybody will be able to see your commit messages :) I have not verified that it works yet - as i'm at a computer from which I cannot make commits, but I trust the sf.netters :) So signup on the hibernate-commits list if you want to be bother by cvs notifications :) /max ----- Original Message ----- From: "Max Rydahl Andersen" <ma...@eo...> To: <hib...@li...> Sent: Tuesday, October 29, 2002 6:55 PM Subject: [Hibernate] cvs mail notifications > Hi! > > Im in the process of making sf.net's cvs server send us notifications on the > hibernate-commits list when > someone commits to the list. > > Just one problem, I've followed the instructions on > http://sourceforge.net/docman/display_doc.php?docid=772&group_id=1#support > very carefully, but for some reason whenever you are doing a cvs commit you > will get the folloowing error message: > "sh: /cvsroot/hibernate/CVSROOT/syncmail: No such file or directory" > > But don't worry -- your commit will truly commit, it is just syncmail > complaining over something. > I've sent a support-request to sf.net concerning the matter - and I'll > inform you when something happens (either good or bad :) > > Sorry - for the inconvenience! > > /max > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > |