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. <Gav...@ex...> - 2002-12-27 02:56:27
|
> Here is a query in HQL: > SELECT foo FROM foo IN CLASS Foo > WHERE foo.color=3D'green' AND (foo.bar=3D? OR foo.bar.someValue=3D'happy') >=20 [snip] > The generated SQL-Code produces the cartesian product between=20 > Foo and Bar: SELECT ... FROM Foo foo, Bar sim0 WHERE=20 > (foo.color=3D'green')AND((foo.barId=3D[id of the bar that I=20 > provided] ) OR(sim0_.someValue=3D'happy' and foo.barId=3Dsim0_.id)) >=20 > Thats what I want: > SELECT ... FROM Foo foo, Bar sim0 > WHERE (foo.color=3D'green')AND((foo.barId=3D[id of the bar that I=20 > provided] ) > OR(sim0_.someValue=3D'happy')) AND foo.barId=3Dsim0_.id >=20 > Any comments? Hmmmmmm, yeah this is very interesting. I certainly wouldn't characterize it as a "bug" (because the generated SQL is exactly what is intended) but I agree it *is* counterintuitive that=20 FROM foo IN CLASS Foo WHERE foo.color=3D'green'=20 OR foo.bar.baz=3D'somethingThatBazIsNeverEqualTo' and FROM foo IN CLASS Foo WHERE foo.color=3D'green'=20 would have *completely* different result sets. Note that with the addition of a DISTINCT clause, they give the same results, ie. SELECT DISTINCT foo FROM foo IN CLASS Foo WHERE foo.color=3D'green'=20 OR foo.bar.baz=3D'somethingThatBazIsNeverEqualTo' and SELECT DISTINCT foo FROM foo IN CLASS Foo WHERE foo.color=3D'green' have exactly the same result sets.=20 On the other hand, your proposal is no good either, since it does not return green Foos with bar=3Dnull. So it seems to me like both are imperfect, but existing functionality is better, because we can force what we mean by adding "distinct". I'm sure an OODB could handle this much more elegantly but for a relational database, I don't think we can do much better..... ********** CAUTION - Disclaimer ********** This message may contain privileged and confidential information. If you are not the intended recipient of this message (or responsible for delivery of the message to such person) you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error, you should destroy it and kindly notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Expert Information Services Pty Ltd ("The Company") shall be understood as neither given nor endorsed by it. The Company advises that this e-mail and any attached files should be scanned to detect viruses. The Company accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. **EIS******** End of Disclaimer ********** |
From: Sven W. <s_...@in...> - 2002-12-27 02:24:56
|
Ok, here are some tables. CREATE TABLE Foo ( id int PRIMARY KEY, color VARCHAR, barId int, FOREIGN KEY (barId) REFERENCES Bar ) CREATE TABLE Bar ( id int PRIMARY KEY, someValue VARCHAR ) In the mapping there is a <many-to-one> association between Foo and Bar. Here is a query in HQL: SELECT foo FROM foo IN CLASS Foo WHERE foo.color='green' AND (foo.bar=? OR foo.bar.someValue='happy') What I mean: Give me all the green foos that have a link to a happy bar or have a link to a bar that I provide. The generated SQL-Code produces the cartesian product between Foo and Bar: SELECT ... FROM Foo foo, Bar sim0 WHERE (foo.color='green')AND((foo.barId=[id of the bar that I provided] ) OR(sim0_.someValue='happy' and foo.barId=sim0_.id)) Thats what I want: SELECT ... FROM Foo foo, Bar sim0 WHERE (foo.color='green')AND((foo.barId=[id of the bar that I provided] ) OR(sim0_.someValue='happy')) AND foo.barId=sim0_.id Any comments? ciao Sven |
From: Ara A. <ar...@ya...> - 2002-12-26 21:39:16
|
It's a piece of cake: superclasses="true" in forAllMethods/forAllFields. Ara. > -----Original Message----- > From: hib...@li... [mailto:hibernate-devel- > ad...@li...] On Behalf Of Gavin King > Sent: Thursday, December 26, 2002 10:28 AM > To: Pablo I. Lalloni > Cc: hib...@li... > Subject: RE: [Hibernate] Hibernate XDoclet task > > > This is a known limitation of the current Hibernate XDoclet > module. Now, I think XDoclet can support remote methods defined > on superclasses in its ejb module, so it must be possible to > add support for persistent properties defined on superclasses > to the Hibernate module. > > Anyone know how to attack this problem? > > > -----Original Message----- > > From: Pablo I. Lalloni [mailto:pi...@gm...] > > Sent: Tuesday, 24 December 2002 3:53 PM > > To: hib...@li... > > Subject: [Hibernate] Hibernate XDoclet task > > > > > > Hola, > > > > How do I map a superclass attribute using hibernate xdoclet task? > > > > Say you have: > > > > class X { > > private String _something; > > public String getSomething() { > > return _something; > > } > > public void setSomething(String something) { > > _something = something; > > } > > } > > > > class Y extends X { > > private String _another; > > public String getAnother() { > > return _another; > > } > > public void setAnother(String another) { > > _another = another; > > } > > > > } > > > > And want to map class Y to a single table with fields for > > "something" and for "another"... > > > > In Y.hbm.xml you would have: > > > > <class name="Y"> > > <property name="something"/> > > <property name="another"/> > > </class> > > > > How do I generate that mapping with HibernateDoclet? > > > > I this accomplishable? > > > > -- > > Saludos, > > Pablo mailto:pi...@ie... > > > > "The only thing that interferes with my learning is my > > education." Albert Einstein > > > > > > > > > > ------------------------------------------------------- > > 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 > > > > > ********** CAUTION - Disclaimer ********** > This message may contain privileged and confidential > information. If you are not the intended recipient of this > message (or responsible for delivery of the message to > such person) you are hereby notified that any use, > dissemination, distribution or reproduction of this message > is prohibited. If you have received this message in error, > you should destroy it and kindly notify the sender by reply > e-mail. Please advise immediately if you or your employer > do not consent to Internet e-mail for messages of this kind. > Opinions, conclusions and other information in this > message that do not relate to the official business of > Expert Information Services Pty Ltd ("The Company") > shall be understood as neither given nor endorsed by it. > > The Company advises that this e-mail and any attached > files should be scanned to detect viruses. The Company > accepts no liability for loss or damage (whether caused > by negligence or not) resulting from the use of any > attached files. > **EIS******** End of Disclaimer ********** > > > > ------------------------------------------------------- > 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: Raible, M. <Mat...@ca...> - 2002-12-26 18:32:32
|
Is it possible to create the following with xdoclet tags? <composite-id> <key-property column="HEADEND_ID" length="22" name="headendId" type="java.lang.Long"/> <key-property column="MSO_ID" length="22" name="msoId" type="java.lang.Long"/> <key-property column="USERID" length="16" name="userid" type="java.lang.String"/> </composite-id> I generated this from our database, and now want to map back to it using XDoclet. Thanks, Matt |
From: Gavin K. <Gav...@ex...> - 2002-12-26 07:08:16
|
Cool. Looks good - I will add a link from the Hibernate Wiki. One comment: > _sessionFactory =3D ( cirrus.hibernate.SessionFactory )=20 > PortableRemoteObject.narrow( ic.lookup( "java:/hibernate/Samples" ),=20 > cirrus.hibernate.SessionFactory.class ); It shouldn't be necessary to use PortableRemoteObject here, right? The SesionFactory is always a local object, so we can just typecast. Thanks Gavin > -----Original Message----- > From: Konstantin Priblouda [mailto:kpr...@ya...]=20 > Sent: Wednesday, 25 December 2002 12:13 AM > To: hibernate-devel > Cc: xdoclet-devel > Subject: [Hibernate] XMass-gift ( hibernate/xdoclet/jboss demo ) >=20 >=20 > Hi all,=20 > demo finally works as intendet.=20 > Download it at: > http://www.pribluda.de/hibernate-test.tar.gz >=20 > merry xmass... >=20 >=20 >=20 > =3D=3D=3D=3D=3D > Konstantin Priblouda ( ko5tik ) Freelance Software developer > < http://www.pribluda.de > < play java games ->=20 http://www.yook.de > < render charts online -> http://www.pribluda.de/povray/ > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ------------------------------------------------------- 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 ********** CAUTION - Disclaimer ********** This message may contain privileged and confidential information. If you are not the intended recipient of this message (or responsible for delivery of the message to such person) you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error, you should destroy it and kindly notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Expert Information Services Pty Ltd ("The Company") shall be understood as neither given nor endorsed by it. The Company advises that this e-mail and any attached files should be scanned to detect viruses. The Company accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. **EIS******** End of Disclaimer ********** |
From: Gavin K. <Gav...@ex...> - 2002-12-26 06:58:26
|
This is a known limitation of the current Hibernate XDoclet=20 module. Now, I think XDoclet can support remote methods defined on superclasses in its ejb module, so it must be possible to add support for persistent properties defined on superclasses to the Hibernate module. Anyone know how to attack this problem? > -----Original Message----- > From: Pablo I. Lalloni [mailto:pi...@gm...]=20 > Sent: Tuesday, 24 December 2002 3:53 PM > To: hib...@li... > Subject: [Hibernate] Hibernate XDoclet task >=20 >=20 > Hola, >=20 > How do I map a superclass attribute using hibernate xdoclet task? >=20 > Say you have: >=20 > class X { > private String _something; > public String getSomething() { > return _something; > } > public void setSomething(String something) { > _something =3D something; > } > } >=20 > class Y extends X { > private String _another; > public String getAnother() { > return _another; > } > public void setAnother(String another) { > _another =3D another; > } > =20 > } >=20 > And want to map class Y to a single table with fields for > "something" and for "another"... >=20 > In Y.hbm.xml you would have: >=20 > <class name=3D"Y"> > <property name=3D"something"/> > <property name=3D"another"/> > </class> >=20 > How do I generate that mapping with HibernateDoclet? > =20 > I this accomplishable? >=20 > --=20 > Saludos, > Pablo mailto:pi...@ie... >=20 > "The only thing that interferes with my learning is my=20 > education." Albert Einstein >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf=20 > _______________________________________________ > hibernate-devel mailing list hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel >=20 ********** CAUTION - Disclaimer ********** This message may contain privileged and confidential information. If you are not the intended recipient of this message (or responsible for delivery of the message to such person) you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error, you should destroy it and kindly notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Expert Information Services Pty Ltd ("The Company") shall be understood as neither given nor endorsed by it. The Company advises that this e-mail and any attached files should be scanned to detect viruses. The Company accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. **EIS******** End of Disclaimer ********** |
From: <no...@so...> - 2002-12-26 06:19:30
|
Feature Requests item #651407, was opened at 2002-12-10 23:47 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428711&aid=651407&group_id=40712 Category: None Group: None >Status: Closed Priority: 5 Submitted By: Alex Chudnovsky (chud73) >Assigned to: Gavin King (oneovthafew) Summary: Unique fields Initial Comment: Have the ability to specify unique fields in the mapping descriptor. ---------------------------------------------------------------------- >Comment By: Gavin King (oneovthafew) Date: 2002-12-26 17:19 Message: Logged In: YES user_id=384580 I have implemented this and comitted to CVS. Enjoy :) ---------------------------------------------------------------------- Comment By: Alex Chudnovsky (chud73) Date: 2002-12-11 23:32 Message: Logged In: YES user_id=453581 I apologize for the ambiguity, Yes exactly, I mean multiple- column unique constraint. ---------------------------------------------------------------------- Comment By: Gavin King (oneovthafew) Date: 2002-12-11 20:05 Message: Logged In: YES user_id=384580 A single <column> can be specified as unique....do you mean the ability to specify a multiple-column unique constraint? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428711&aid=651407&group_id=40712 |
From: <no...@so...> - 2002-12-25 10:51:34
|
Bugs item #652053, was opened at 2002-12-11 15:39 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=652053&group_id=40712 Category: None Group: None Status: Closed Resolution: Fixed Priority: 7 Submitted By: Andrea Aime (aaime) Assigned to: Nobody/Anonymous (nobody) Summary: Code generator doesn't work with Bag Initial Comment: It seems that the code generator won't generate property and accessor methods for bags... the following snippet: <class name="it.satanet.ketpl.model.PriceListInventory" table="pricelist_inventory"> <id name="id" column="id" type="long" unsaved-value="null"> <generator class="sequence"/> </id> <property name="date" column="pli_date" type="date"/> <property name="revision" type="integer"/> <bag role="lists" table="pl_inventory"> <key column="inventory_id"/> <many-to-many class="it.satanet.ketpl.model.PriceList" column="pricelist_id" not-null="true"/> </list> </class> is not code generated properly. Also, note that the code generator forgets to add an emtpy line after setters, so that setter and getter method for the same property are contiguous (just a readability problem) ---------------------------------------------------------------------- >Comment By: Max R. Andersen (maxcsaucdk) Date: 2002-12-25 11:51 Message: Logged In: YES user_id=18119 To Gavin: This patch was so small (a one-liner) that i did not bother (lazy me :). But yes - if something "bigger" comes up i'll ofcourse make patches against the current CVS instead of just CVS+mymetaattribpatch. Merry Xmas ---------------------------------------------------------------------- Comment By: Gavin King (oneovthafew) Date: 2002-12-25 05:47 Message: Logged In: YES user_id=384580 Fixed in CVS. P.S. Max, are your maintaining your codegen patch against current development? I hope so ... because we still have to integrate this at some stage ..... ---------------------------------------------------------------------- Comment By: Max R. Andersen (maxcsaucdk) Date: 2002-12-22 23:53 Message: Logged In: YES user_id=18119 This is easily fixed. Add this line: doCollections(classElement, "bag", "java.util.Collection", "java.util.ArrayList"); into ClassMapping.java after the 3 other doCollections line. Gavin, is this enough or do you want a patch ? (I haven't made the patch because my local codegenerator contains the not yet integrated codegen patch) ---------------------------------------------------------------------- Comment By: Andrea Aime (aaime) Date: 2002-12-11 15:43 Message: Logged In: YES user_id=617186 Ah ehm, sorry, the correct mapping is: <class name="it.satanet.ketpl.model.PriceListInventory" table="pricelist_inventory"> <id name="id" column="id" type="long" unsaved-value="null"> <generator class="sequence"/> </id> <property name="date" column="pli_date" type="date"/> <property name="revision" type="integer"/> <bag role="lists" table="pl_inventory"> <key column="inventory_id"/> <many-to-many class="it.satanet.ketpl.model.PriceList" column="pricelist_id" not-null="true"/> </bag> </class> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=652053&group_id=40712 |
From: Juozas B. <ba...@ce...> - 2002-12-25 07:53:42
|
Hi, Iam afraid security stuff is undocumented but try this: grant permissions in policy configuration, I see hibernate doe's not have permissions to read system properties: >at java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1259) > at java.lang.System.getProperties(System.java:500) > at cirrus.hibernate.Environment.<clinit>(Environment.java:298) > It needs reflect permission too ( "setAccessable", "getDeclaredMethod", .... ). hibernate doe's not use Privileged actions, you will need "global" settings and I think security stuff will decrease performance. ----- Original Message ----- From: "Renato" <rew...@ya...> To: <hib...@li...> Sent: Tuesday, December 24, 2002 5:54 PM Subject: [Hibernate] Problems with hibernate.jar on a shared webapp > > Hi, > > I'd like to report a problem regarding a shared webapp environment ( on Tomcat 4.1.x ). Since we do not allow users to change the System.properties environment, when somebody puts hibernate.jar on a webapp we got a security constraint violation: > > 2002-12-24 12:43:03 StandardContext[/teste]: Servlet /teste threw load() exception > javax.servlet.ServletException: Servlet.init() for servlet startupservlet threw exception > at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:95 2) > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813) > at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 3341) > at org.apache.catalina.core.StandardContext.start(StandardContext.java:3535) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) > at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) > at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) > at org.apache.catalina.core.StandardService.start(StandardService.java:497) > at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) > at org.apache.catalina.startup.Catalina.start(Catalina.java:510) > at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) > at org.apache.catalina.startup.Catalina.process(Catalina.java:180) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) > ----- Root Cause ----- > java.lang.ExceptionInInitializerError > at cirrus.hibernate.impl.DatastoreImpl.buildSessionFactory(DatastoreImpl.java:3 79) > at cirrus.hibernate.impl.DatastoreImpl.buildSessionFactory(DatastoreImpl.java:3 69) > at br.com.grafset.business.ObjectHandler.buildSessionFactory(ObjectHandler.java :48) > at br.com.grafset.StartupServlet.initPersistence(StartupServlet.java:49) > at br.com.grafset.StartupServlet.init(StartupServlet.java:29) > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:92 4) > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813) > at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 3341) > at org.apache.catalina.core.StandardContext.start(StandardContext.java:3535) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) > at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) > at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) > at org.apache.catalina.core.StandardService.start(StandardService.java:497) > at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) > at org.apache.catalina.startup.Catalina.start(Catalina.java:510) > at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) > at org.apache.catalina.startup.Catalina.process(Catalina.java:180) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) > Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission * read,write) > at java.security.AccessControlContext.checkPermission(AccessControlContext.java :270) > at java.security.AccessController.checkPermission(AccessController.java:401) > at java.lang.SecurityManager.checkPermission(SecurityManager.java:542) > at java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1259) > at java.lang.System.getProperties(System.java:500) > at cirrus.hibernate.Environment.<clinit>(Environment.java:298) > > > Is it really necessary to modify the System.Properties ? If it is, is there any workaround to this problem, so somebody could use hibernate on a shared environment ? > > Thanks for your time > > Renato. > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now |
From: <no...@so...> - 2002-12-25 05:05:53
|
Bugs item #653858, was opened at 2002-12-15 08:33 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=653858&group_id=40712 Category: None Group: None Status: Open Resolution: None >Priority: 3 Submitted By: Alex Staubo (byzantium) Assigned to: Nobody/Anonymous (nobody) Summary: Line feeds in queries parsed incorrectly Initial Comment: The following query does not work: select o1 from o1 in class ICategory where o1.url = 'type:rootcat' Hibernate will complain that the class name "Foo" does not exist. The following query does work: select o1 from o1 in class ICategory where o1.url = 'type:rootcat' Looks like line feed handling is out of whack. ---------------------------------------------------------------------- >Comment By: Gavin King (oneovthafew) Date: 2002-12-25 16:05 Message: Logged In: YES user_id=384580 I can't reproduce this problem; would you please have a closer look (try stepping through code) to figure out whats wrong. TIA Gavin ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=653858&group_id=40712 |
From: <no...@so...> - 2002-12-25 04:48:40
|
Bugs item #650943, was opened at 2002-12-10 03:17 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=650943&group_id=40712 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Benoit Menendez (bmenendez) Assigned to: Nobody/Anonymous (nobody) Summary: Incomplete index creation Initial Comment: I have a many-to-many relationship defined bidirectionaly as Class A has a Set of B and class B has a set of A... I declared one of the two sets as readonly (as the documentation says) and only one of the two indices is created ---------------------------------------------------------------------- >Comment By: Gavin King (oneovthafew) Date: 2002-12-25 15:48 Message: Logged In: YES user_id=384580 This was fixed. ---------------------------------------------------------------------- Comment By: Gavin King (oneovthafew) Date: 2002-12-16 17:46 Message: Logged In: YES user_id=384580 Is this bug now fixed (by your patch)? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=650943&group_id=40712 |
From: <no...@so...> - 2002-12-25 04:47:58
|
Bugs item #652053, was opened at 2002-12-12 01:39 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=652053&group_id=40712 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 7 Submitted By: Andrea Aime (aaime) Assigned to: Nobody/Anonymous (nobody) Summary: Code generator doesn't work with Bag Initial Comment: It seems that the code generator won't generate property and accessor methods for bags... the following snippet: <class name="it.satanet.ketpl.model.PriceListInventory" table="pricelist_inventory"> <id name="id" column="id" type="long" unsaved-value="null"> <generator class="sequence"/> </id> <property name="date" column="pli_date" type="date"/> <property name="revision" type="integer"/> <bag role="lists" table="pl_inventory"> <key column="inventory_id"/> <many-to-many class="it.satanet.ketpl.model.PriceList" column="pricelist_id" not-null="true"/> </list> </class> is not code generated properly. Also, note that the code generator forgets to add an emtpy line after setters, so that setter and getter method for the same property are contiguous (just a readability problem) ---------------------------------------------------------------------- >Comment By: Gavin King (oneovthafew) Date: 2002-12-25 15:47 Message: Logged In: YES user_id=384580 Fixed in CVS. P.S. Max, are your maintaining your codegen patch against current development? I hope so ... because we still have to integrate this at some stage ..... ---------------------------------------------------------------------- Comment By: Max R. Andersen (maxcsaucdk) Date: 2002-12-23 09:53 Message: Logged In: YES user_id=18119 This is easily fixed. Add this line: doCollections(classElement, "bag", "java.util.Collection", "java.util.ArrayList"); into ClassMapping.java after the 3 other doCollections line. Gavin, is this enough or do you want a patch ? (I haven't made the patch because my local codegenerator contains the not yet integrated codegen patch) ---------------------------------------------------------------------- Comment By: Andrea Aime (aaime) Date: 2002-12-12 01:43 Message: Logged In: YES user_id=617186 Ah ehm, sorry, the correct mapping is: <class name="it.satanet.ketpl.model.PriceListInventory" table="pricelist_inventory"> <id name="id" column="id" type="long" unsaved-value="null"> <generator class="sequence"/> </id> <property name="date" column="pli_date" type="date"/> <property name="revision" type="integer"/> <bag role="lists" table="pl_inventory"> <key column="inventory_id"/> <many-to-many class="it.satanet.ketpl.model.PriceList" column="pricelist_id" not-null="true"/> </bag> </class> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=652053&group_id=40712 |
From: Renato <rew...@ya...> - 2002-12-24 15:54:57
|
Hi, I'd like to report a problem regarding a shared webapp environment ( on Tomcat 4.1.x ). Since we do not allow users to change the System.properties environment, when somebody puts hibernate.jar on a webapp we got a security constraint violation: 2002-12-24 12:43:03 StandardContext[/teste]: Servlet /teste threw load() exception javax.servlet.ServletException: Servlet.init() for servlet startupservlet threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:952) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3341) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3535) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) at org.apache.catalina.startup.Catalina.start(Catalina.java:510) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) ----- Root Cause ----- java.lang.ExceptionInInitializerError at cirrus.hibernate.impl.DatastoreImpl.buildSessionFactory(DatastoreImpl.java:379) at cirrus.hibernate.impl.DatastoreImpl.buildSessionFactory(DatastoreImpl.java:369) at br.com.grafset.business.ObjectHandler.buildSessionFactory(ObjectHandler.java:48) at br.com.grafset.StartupServlet.initPersistence(StartupServlet.java:49) at br.com.grafset.StartupServlet.init(StartupServlet.java:29) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:924) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3341) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3535) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189) at org.apache.catalina.startup.Catalina.start(Catalina.java:510) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission * read,write) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270) at java.security.AccessController.checkPermission(AccessController.java:401) at java.lang.SecurityManager.checkPermission(SecurityManager.java:542) at java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1259) at java.lang.System.getProperties(System.java:500) at cirrus.hibernate.Environment.<clinit>(Environment.java:298) Is it really necessary to modify the System.Properties ? If it is, is there any workaround to this problem, so somebody could use hibernate on a shared environment ? Thanks for your time Renato. --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now |
From: <no...@so...> - 2002-12-24 13:50:06
|
Bugs item #650276, was opened at 2002-12-08 14:30 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=650276&group_id=40712 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Stephen Bate (sbate) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect documentation Initial Comment: The reference manual states that interceptors will fire "before [an object] is saved, updated or deleted and after it is loaded". However, the Javadocs say the interceptor will fire *before* an object is loaded rather than afterwards. The source code appears to support the Javadocs rather than the reference manual. Also, what is the purpose of the boolean return from onLoad()? It doesn't appear to be used anywhere in the Hibernate implementation. Steve ---------------------------------------------------------------------- >Comment By: Gavin King (oneovthafew) Date: 2002-12-25 00:50 Message: Logged In: YES user_id=384580 Fixed! ---------------------------------------------------------------------- Comment By: Gavin King (oneovthafew) Date: 2002-12-09 09:33 Message: Logged In: YES user_id=384580 Excuse me .... posted that in the wrong window! ---------------------------------------------------------------------- Comment By: Gavin King (oneovthafew) Date: 2002-12-09 09:33 Message: Logged In: YES user_id=384580 http://sourceforge.net/forum/forum.php?thread_id=776590&forum_id=128638 You should be able to export tables by giving only a .cfg.xml file. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=650276&group_id=40712 |
From: <no...@so...> - 2002-12-24 13:45:53
|
Patches item #657927, was opened at 2002-12-24 05:19 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=657927&group_id=40712 Category: None Group: None >Status: Closed >Resolution: Accepted Priority: 5 Submitted By: J. Russell Smyth (drfish) Assigned to: Nobody/Anonymous (nobody) Summary: make Query.setMaxResults work for SAPDB Initial Comment: Some databases do not fully support PreparedStatement.setMaxRows() (Notably SAPDB when using scrollable result sets, as indicated by the workaround in SQLFunctionsTest) This patch will allow Query.setMaxResults to work even if the database in question does not correctly support PreparedStatement.setMaxRows() ---------------------------------------------------------------------- >Comment By: Gavin King (oneovthafew) Date: 2002-12-25 00:45 Message: Logged In: YES user_id=384580 Applied to CVS. please confirm that this is working on SAPDB. Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=657927&group_id=40712 |
From: <no...@so...> - 2002-12-24 13:42:08
|
Patches item #657080, was opened at 2002-12-21 12:34 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=657080&group_id=40712 Category: None Group: None >Status: Closed >Resolution: Accepted Priority: 5 Submitted By: Max R. Andersen (maxcsaucdk) Assigned to: Nobody/Anonymous (nobody) Summary: Better messages in FromParser Initial Comment: While looking into outer join i found that by adding a few lines to the possible thrown exceptions the user would be better informed. So here are those changes. ---------------------------------------------------------------------- >Comment By: Gavin King (oneovthafew) Date: 2002-12-25 00:42 Message: Logged In: YES user_id=384580 applied to CVS ---------------------------------------------------------------------- Comment By: Gavin King (oneovthafew) Date: 2002-12-21 16:18 Message: Logged In: YES user_id=384580 Cool, thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=657080&group_id=40712 |
From: Konstantin P. <kpr...@ya...> - 2002-12-24 13:13:20
|
Hi all, demo finally works as intendet. Download it at: http://www.pribluda.de/hibernate-test.tar.gz merry xmass... ===== Konstantin Priblouda ( ko5tik ) Freelance Software developer < http://www.pribluda.de > < play java games -> http://www.yook.de > < render charts online -> http://www.pribluda.de/povray/ > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Konstantin P. <kpr...@ya...> - 2002-12-24 10:51:03
|
--- Gavin King <Gav...@ex...> wrote: > > > Current xdoclet stuff is not very intuitive. > > Please feel free to make improvements :) Doing this all the time :) I'm xdoclet committer :) > > For example it needs 3 tags to specify > > bag - hibernate.bag, > hibernate.collection-one-to-many > > & hibernate.collection-key ( and maybe about jca > cache > > ) - "this sux" (c) Burt Simpson :) > > Yeah I had felt that that was suboptimal myself. > There > is one thing it has going for it though: it reflects > the structure of the mapping DTD. Well, reflecting structure of DTD is a good thing. But since <bag> et al do need those one-to-may or many to many anyway... I'll think about improving it. > > > > > 3. strictly, you are supposed to call > > > session.flush() even after a > > > save(). In this very simple case you can get > away > > > with it but in > > > other cases, and when any other style of id > > > generation than > > > "native" is used, its needed. > > > > Well, already doing this. > > There was one spot it was missing. > > > > Otherwise, this is turning into a very useful > demo. > > > > Not yet. Updating customer with collection opf > > addresses does not work, also deleting... > > It works if everything is mapped correctly, esp. you > need to specify unsaved-value. Well, yesterday I got the demo to work correctly. I will upload this in half-hour as small cristmass gift :) Usual place: http://www.pribluda.de/hibernate-test.tar.gz regards, ===== Konstantin Priblouda ( ko5tik ) Freelance Software developer < http://www.pribluda.de > < play java games -> http://www.yook.de > < render charts online -> http://www.pribluda.de/povray/ > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Pablo I. L. <pi...@gm...> - 2002-12-24 04:54:29
|
Hola, How do I map a superclass attribute using hibernate xdoclet task? Say you have: class X { private String _something; public String getSomething() { return _something; } public void setSomething(String something) { _something = something; } } class Y extends X { private String _another; public String getAnother() { return _another; } public void setAnother(String another) { _another = another; } } And want to map class Y to a single table with fields for "something" and for "another"... In Y.hbm.xml you would have: <class name="Y"> <property name="something"/> <property name="another"/> </class> How do I generate that mapping with HibernateDoclet? I this accomplishable? -- Saludos, Pablo mailto:pi...@ie... "The only thing that interferes with my learning is my education." Albert Einstein |
From: Gavin K. <Gav...@ex...> - 2002-12-24 00:43:00
|
Thanks Max; that is useful :) > -----Original Message----- > From: Max Rydahl Andersen [mailto:ma...@eo...]=20 > Sent: Monday, 23 December 2002 11:54 PM > To: hib...@li... > Subject: Re: [Hibernate] Patch/Bug tracking suggestion... >=20 >=20 > 14 hours and no objections - it is hereby done :) >=20 > Postings at Patches, Bug reports, feature and support request=20 > will now be send to the devel list. >=20 > /max >=20 > ----- Original Message ----- > From: "Max Rydahl Andersen" <ma...@eo...> > To: <hib...@li...> > Sent: Monday, December 23, 2002 12:03 AM > Subject: [Hibernate] Patch/Bug tracking suggestion... >=20 >=20 > > I would like to suggest that we configure Sourceforge to send any=20 > > submissions in the Patch and Bug tracking system to the=20 > > hibernate-devel list, just so we can keep track of it. > > > > Anyone against this ? (If noone objects in the next 12 hours, i'll=20 > > make > the > > change happen :) > > > > (If the burden at some time gets to high we can always create a=20 > > separete patchbug mailinglist) > > > > /max > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf=20 > > _______________________________________________ > > hibernate-devel mailing list hib...@li... > > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > >=20 >=20 >=20 > ------------------------------------------------------- > 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 >=20 ********** CAUTION - Disclaimer ********** This message may contain privileged and confidential information. If you are not the intended recipient of this message (or responsible for delivery of the message to such person) you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error, you should destroy it and kindly notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Expert Information Services Pty Ltd ("The Company") shall be understood as neither given nor endorsed by it. The Company advises that this e-mail and any attached files should be scanned to detect viruses. The Company accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. **EIS******** End of Disclaimer ********** |
From: Gavin K. <Gav...@ex...> - 2002-12-24 00:41:16
|
Currently the map-parsing code is badly designed. Trouble is I'm not sure what a good design would look like. I do know a few people have found it to be a limitation. Unfortunately I don't personally enough spare cycles to expend any on this problem. If someone wants to redesign / reimplement this stuff they are *very* welcome. It is quite a mess presently. > -----Original Message----- > From: Juozas Baliuka [mailto:ba...@ma...]=20 > Sent: Monday, 24 December 2001 5:30 AM > To: hib...@li... > Subject: [Hibernate] mapping >=20 >=20 > Is it possible to use some "custom" format for mapping=20 > without transformations to XML ? I want to implement some=20 > experimental definition language and use it with hibernate,=20 > but can't find ways to plug mapping layer without code modifications. >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf=20 > _______________________________________________ > hibernate-devel mailing list hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel >=20 ********** CAUTION - Disclaimer ********** This message may contain privileged and confidential information. If you are not the intended recipient of this message (or responsible for delivery of the message to such person) you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error, you should destroy it and kindly notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Expert Information Services Pty Ltd ("The Company") shall be understood as neither given nor endorsed by it. The Company advises that this e-mail and any attached files should be scanned to detect viruses. The Company accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. **EIS******** End of Disclaimer ********** |
From: Gavin K. <Gav...@ex...> - 2002-12-24 00:36:43
|
Thanks. I will apply this asap :) > -----Original Message----- > From: Russell Smyth [mailto:rs...@co...]=20 > Sent: Tuesday, 24 December 2002 5:31 AM > To: Hibernate-Devel (E-mail) > Subject: [Hibernate] [PATCH] make Query.setMaxResults() work=20 > for all databases >=20 >=20 > I have submitted a patch to the SF patch manager which allows > Query.setMaxResults() to work > even on databases which do not support=20 > PreparedStatement.setMaxRows(), such as SAPDB (which we must=20 > work with). >=20 > The change is small, but it should increase compatablity greatly. >=20 > My patch also includes removing the workaround from the test=20 > for this feature for SAPDB. >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf=20 > _______________________________________________ > hibernate-devel mailing list hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel >=20 ********** CAUTION - Disclaimer ********** This message may contain privileged and confidential information. If you are not the intended recipient of this message (or responsible for delivery of the message to such person) you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error, you should destroy it and kindly notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Expert Information Services Pty Ltd ("The Company") shall be understood as neither given nor endorsed by it. The Company advises that this e-mail and any attached files should be scanned to detect viruses. The Company accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. **EIS******** End of Disclaimer ********** |
From: Gavin K. <Gav...@ex...> - 2002-12-24 00:36:02
|
=20 > Current xdoclet stuff is not very intuitive.=20 Please feel free to make improvements :) > For example it needs 3 tags to specify=20 > bag - hibernate.bag, hibernate.collection-one-to-many > & hibernate.collection-key ( and maybe about jca cache > ) - "this sux" (c) Burt Simpson :) Yeah I had felt that that was suboptimal myself. There is one thing it has going for it though: it reflects the structure of the mapping DTD. > Toplevel collections are difficult for xdoclet -=20 > xdoclet works with source classes, so I'm not sure=20 > where they shall be defined.=20 Ignore them. We are getting rid of them anyway. >=20 > > 3. strictly, you are supposed to call > > session.flush() even after a=20 > > save(). In this very simple case you can get away > > with it but in > > other cases, and when any other style of id > > generation than > > "native" is used, its needed. >=20 > Well, already doing this.=20 There was one spot it was missing. > > Otherwise, this is turning into a very useful demo. >=20 > Not yet. Updating customer with collection opf > addresses does not work, also deleting... It works if everything is mapped correctly, esp. you need to specify unsaved-value. ********** CAUTION - Disclaimer ********** This message may contain privileged and confidential information. If you are not the intended recipient of this message (or responsible for delivery of the message to such person) you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error, you should destroy it and kindly notify the sender by reply e-mail. Please advise immediately if you or your employer do not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Expert Information Services Pty Ltd ("The Company") shall be understood as neither given nor endorsed by it. The Company advises that this e-mail and any attached files should be scanned to detect viruses. The Company accepts no liability for loss or damage (whether caused by negligence or not) resulting from the use of any attached files. **EIS******** End of Disclaimer ********** |
From: <no...@so...> - 2002-12-23 22:47:34
|
Patches item #652500, was opened at 2002-12-12 16:41 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=652500&group_id=40712 Category: None Group: None >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: Jeffery Cann (jccann) Assigned to: Nobody/Anonymous (nobody) Summary: Shell scripts to run hibernate tools Initial Comment: Awesome library! Here's some shell scripts for the hibernate1.2/bin. I tested them on Mandrake Linux, but they should work for most any Bourne-ish shell (ksh, sh, bash)... These will unzip / untar into hibernate-1.2/bin hibernate-1.2/bin/CodeGenerator.sh hibernate-1.2/bin/MapGenerator.sh hibernate-1.2/bin/ReverseGenerator.sh hibernate-1.2/bin/SchemaExport.sh hibernate-1.2/bin/SchemaUpdate.sh Later ---------------------------------------------------------------------- Comment By: Gavin King (oneovthafew) Date: 2002-12-12 21:35 Message: Logged In: YES user_id=384580 Woops! You forgot to attach the files! ;) ---------------------------------------------------------------------- Comment By: Gavin King (oneovthafew) Date: 2002-12-12 20:43 Message: Logged In: YES user_id=384580 Thanks! I will add them to the build ASAP. :) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=652500&group_id=40712 |
From: Juozas B. <ba...@ma...> - 2002-12-23 18:29:38
|
Is it possible to use some "custom" format for mapping without transformations to XML ? I want to implement some experimental definition language and use it with hibernate, but can't find ways to plug mapping layer without code modifications. |