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: Mark V. <ma...@ve...> - 2007-10-27 15:24:20
|
Hello all! I'm new to this maling list and to hibernate so please bear with me (meanin= g=20 you can flame me but not roast me...). And now to business... I noticed that the "@Column" annotation does not have a "description"=20 attribute. This is most saddening since such a description could be used in= =20 many ways. for example: 1. The description could be used for documenting the database structure usi= ng=20 hibernate-tools. 2. The description could be pushed out to the database itself using "CREATE= =20 table () description "This is a table to store customers" or the like. Some= =20 database support this and will actually store the description for you which= =20 makes it easier to use the database even if you don't have documentation fo= r=20 it. 3. Many other ways of which I hadn't tought about (probably the most=20 interesting ones). A few questions: 1. Is such a feature in the works ? Even if this feature will only be=20 supported on some of database engines the documentation could state so and = it=20 would still be useful... 2. If a feature like this is not in the works would you like me to implemen= t=20 it ? I'm a java developer and have had my own database persistency system=20 written in perl so I can handle a task like this. I would be able to do it= =20 only for mysql tough because that is all I have now (maybe for postgresql=20 later on). Other people will need to implement it for other database driver= s. 3. What about translations of such descriptions to other locales ? I need t= o=20 think about that some more and your ideas are welcome... 4. I would assume that if hibernate annotations would support it then first= =20 the change should go in through hibernate core, then support should be adde= d=20 in the XML files, then at the annotation level and finally at the tools=20 level. Am I right ? BTW: I noticed that <hbm2doc> already creates html page= s=20 with "description" on them but the descriptions are empty. Cheers, Mark |
From: Mark V. <ma...@ve...> - 2007-10-27 12:30:32
|
Hello all! I'm new to this maling list and to hibernate so please bear with me (meanin= g=20 you can flame me but not roast me...). And now to business... I noticed that the "@Column" annotation does not have a "description"=20 attribute. This is most saddening since such a description could be used in= =20 many ways. for example: 1. The description could be used for documenting the database structure usi= ng=20 hibernate-tools. 2. The description could be pushed out to the database itself using "CREATE= =20 table () description "This is a table to store customers" or the like. Some= =20 database support this and will actually store the description for you which= =20 makes it easier to use the database even if you don't have documentation fo= r=20 it. 3. Many other ways of which I hadn't tought about (probably the most=20 interesting ones). A few questions: 1. Is such a feature in the works ? Even if this feature will only be=20 supported on some of database engines the documentation could state so and = it=20 would still be useful... 2. If a feature like this is not in the works would you like me to implemen= t=20 it ? I'm a java developer and have had my own database persistency system=20 written in perl so I can handle a task like this. I would be able to do it= =20 only for mysql tough because that is all I have now (maybe for postgresql=20 later on). Other people will need to implement it for other database driver= s. 3. What about translations of such descriptions to other locales ? I need t= o=20 think about that some more and your ideas are welcome... 4. I would assume that if hibernate annotations would support it then first= =20 the change should go in through hibernate core, then support should be adde= d=20 in the XML files, then at the annotation level and finally at the tools=20 level. Am I right ? BTW: I noticed that <hbm2doc> already creates html page= s=20 with "description" on them but the descriptions are empty. Cheers, Mark |
From: <jwb...@ta...> - 2007-08-11 10:40:22
|
The message contains Unicode characters and has been sent as a binary attachment. |
From: Minatee P. <min...@da...> - 2007-07-17 11:43:30
|
Disclaimer: The information contained in this e-mail and attachments if any are privileged and confidential and are intended for the individual(s) or entity(ies) named in this e-mail. If the reader or recipient is not the intended recipient, or employee or agent responsible for delivering to the intended recipient, you are hereby notified that dissemination, distribution or copying of this communication or attachments thereof is strictly prohibited. IF YOU RECEIVE this communication in error, please immediately notify the sender and return the original message. |
From: Ben A. <ben...@st...> - 2007-06-25 11:15:26
|
Hello there I would greatly appreciate a small amount of your time to assist with my doctoral research at The University of Newcastle. The research concerns open source licensing and we're seeking developers working on Java projects. The research is supervised, ethics-approved, anonymous and results will be freely available. Participation will also provide a custom licensing report for your project. To learn more, please visit: http://licensing-research.newcastle.edu.au Thanks for reading this email, and I hope you'll consider participating. Best regards Ben Alex (My apologies for being off-topic; this list will not be emailed again) |
From: Gordon, C. T <Chr...@bo...> - 2007-06-08 16:25:03
|
I'm still looking into the code, but I have been for a while without a whole lot of success, so I'll throw this out there in case someone else has ran into this and conquered it. I am getting a no class def found error. Here is the stack trace. Again, there is a good chance this is an issue with our code, but I'm wondering if I just have an old version of a file or a misplaced file or something like that Thanks, Chris java.lang.NoClassDefFoundError at org.hibernate.event.def.AbstractSaveEventListener.cascadeBeforeSave(Abst ractSaveEventListener.java:431) at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate (AbstractSaveEventListener.java:265) at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSa veEventListener.java:181) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(Ab stractSaveEventListener.java:121) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGenerat edOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequ estedId(DefaultSaveEventListener.java:33) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransie nt(DefaultSaveOrUpdateEventListener.java:172) at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(Def aultSaveEventListener.java:27) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate( DefaultSaveOrUpdateEventListener.java:70) at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519) at com.caci.pdi.core.PersistentObjectFactory.create(PersistentObjectFactory .java:144) at com.caci.pdi.core.DocManager.createJdbcValueObject(DocManager.java:525) at com.caci.pdi.core.DocManager.createValueObject(DocManager.java:750) at com.caci.pdi.core.Manager.saveValueObject(Manager.java:873) at com.caci.pdi.core.DocManager.saveObject(DocManager.java:1010) at com.caci.pdi.core.persist.acquisition.purchaseorder.PurchaseOrderManager .saveObject(PurchaseOrderManager.java:793) at com.caci.pdi.core.Manager.performSave(Manager.java:692) at com.caci.pdi.core.Manager.save(Manager.java:596) at com.caci.core.momapi.client.InsertHelper.insertVOFromInputObjBean(Insert Helper.java:776) at com.caci.core.momapi.client.InsertHelper.createObjectBean(InsertHelper.j ava:706) at com.caci.core.momapi.client.BeanToPdiImpl.perform11(BeanToPdiImpl.java:5 28) at com.ams.adapter.momapi.services.Perform.objectPerform11(Perform.java:114 ) at com.ams.adapter.momapi.services.Perform.objectPerform(Perform.java:99) at com.ams.adapter.momapi.services.Perform.execute(Perform.java:61) at com.wm.adk.cci.interaction.WmInteraction.execute(WmInteraction.java:76) at com.wm.pkg.art.ns.AdapterServiceNode.invokeService(AdapterServiceNode.ja va:338) at com.wm.pkg.art.ns.ARTNSService.baseInvoke(ARTNSService.java:54) at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:61 2) at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProce ssor.java:44) at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceComple tionImpl.java:235) at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor .java:49) at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:198) at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor .java:39) at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:411) at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:521 ) at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:369 ) at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:246) at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:168) at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:324) at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:581) at com.wm.lang.flow.FlowState.step(FlowState.java:438) at com.wm.lang.flow.FlowState.invoke(FlowState.java:403) at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:982) at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:61 2) at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProce ssor.java:44) at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceComple tionImpl.java:235) at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor .java:49) at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:198) at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor .java:39) at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:411) at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:521 ) at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:369 ) at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:246) at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(Def aultServerRequestHandler.java:129) at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java :168) at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:312) at com.wm.util.pool.PooledThread.run(PooledThread.java:105) at java.lang.Thread.run(Thread.java:534) |
From: javed m. <ja...@gm...> - 2007-06-06 06:09:56
|
Hibernate version: 3.1.3 Name and version of the database you are using: Oracle 10 Hi I have a question regarding how many-to-one relationship should be defined where the parent class is same type as the child class. -------------------- Person table --------------------- - name - surname - national_id - (PKey) - passport_id - (PKey) - address - parent_national_id - (Parent -PK) - parent_passport_id - (Parent -PK) ------------------------ Take the case of the table above where a person is defined within a person table and has a composite key national_id and passport_id. Now I want to get the Parent for that person which has composite key parent_national_id and parent_passport_id defined within the Person table. How would the hibernate mapping configuration would look like. When I do a getParent on a Person object i would want to get its parent of type Person. |
From: Jeoff W. <jeo...@gm...> - 2007-06-05 12:23:29
|
My bad. To turn off cglib you need to set it as a system-level property. java -Dhibernate.cglib.use_reflection_optimizer=false http://www.hibernate.org/hib_docs/v3/reference/en/html/session-configuration.html#configuration-misc-properties hibernate.cglib.use_reflection_optimizer=false Enables/disables use of CGLIB instead of runtime reflection (System-level property). Reflection can sometimes be useful when troubleshooting, note that Hibernate always requires CGLIB even if you turn off the optimizer. You can not set this property in hibernate.cfg.xml. On 6/5/07, Jeoff Wilks <jeo...@gm...> wrote: > > > http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch13.html#ch13.config.table > hibernate.cglib.use_reflection_optimizer=false > > Set this in hibernate.properties, as a java system property, or by calling > Configuration#setProperty() directly. > > You can postpone the problem a bit using the java command flag > -XX:MaxPermSize. > e.g. from http://www.caucho.com/support/resin-interest/0512/0022.html > > Of course we can increase the PermGen size by adding -XX:MaxPermSize to > > the command line. Though this only increases N and pushes the problem > > further away, but it will always occur eventually. > > On 6/5/07, John Mitchell < mit...@gm...> wrote: > > > > Jeff, > > > > Thanks for the info! How do I turn off CGLIB? > > > > Thanks, > > > > John Mitchell > > > > On 6/4/07, Jeoff Wilks < jeo...@gm...> wrote: > > > > > > Every time the CGLIB Enhancer generates a new class, that generated > > > class jumps straight to the PermGen (permanent generation) of your java > > > heap. CGLIB Enhancers are faster in terms of performance, but more dangerous > > > in terms of memory consumption. (I ran into this same problem with another > > > product that uses CGLIB.) > > > > > > Try turning off CGLIB and just have hibernate use reflection. If that > > > solves the problem, then you can always work on tuning CGLIB later. > > > > > > > > > On 6/4/07, John Mitchell <mit...@gm...> wrote: > > > > > > > Hi, > > > > > > > > I have been having to restart Apache Tomcat as frequently as once a > > > > day and I suspect the problem is related to hibernate. > > > > > > > > I have attached an error log from apache tomcat: > > > > > > > > I get the following error below > > > > > > > > ERROR BasicLazyInitializer:105 - CBLIB Enhancement failed: > > > > com.insequence.gv.ProductOrder > > > > > > > > then further down the log file > > > > > > > > java.lang.OutOfMemoryError: PermGen space > > > > > > > > I also noticed towards the beginning of the log file > > > > > > > > 13:26:55,625 INFO DriverManagerConnectionProvider:41 - Using > > > > Hibernate built-in connection pool (not for production use!) > > > > 13:26:55,640 INFO DriverManagerConnectionProvider:42 - Hibernate > > > > connection pool size: 1 > > > > > > > > Do I need to switch to a different connection pool and if so what? > > > > Should I change the "Hibernate connection pool size: 1" to a number > > > > higher than 1 for better stability and if so what number? > > > > > > > > Thanks, > > > > > > > > -- > > > > John J. Mitchell > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > _______________________________________________ > > > > hibernate-devel mailing list > > > > hib...@li... > > > > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > > > > > > > > > > > > > > > > > > > > -- > > John J. Mitchell > > > |
From: Jeoff W. <jeo...@gm...> - 2007-06-05 12:15:18
|
http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch13.html#ch13.config.table hibernate.cglib.use_reflection_optimizer=false Set this in hibernate.properties, as a java system property, or by calling Configuration#setProperty() directly. You can postpone the problem a bit using the java command flag -XX:MaxPermSize. e.g. from http://www.caucho.com/support/resin-interest/0512/0022.html > Of course we can increase the PermGen size by adding -XX:MaxPermSize to > the command line. Though this only increases N and pushes the problem > further away, but it will always occur eventually. On 6/5/07, John Mitchell <mit...@gm...> wrote: > > Jeff, > > Thanks for the info! How do I turn off CGLIB? > > Thanks, > > John Mitchell > > On 6/4/07, Jeoff Wilks < jeo...@gm...> wrote: > > > > Every time the CGLIB Enhancer generates a new class, that generated > > class jumps straight to the PermGen (permanent generation) of your java > > heap. CGLIB Enhancers are faster in terms of performance, but more dangerous > > in terms of memory consumption. (I ran into this same problem with another > > product that uses CGLIB.) > > > > Try turning off CGLIB and just have hibernate use reflection. If that > > solves the problem, then you can always work on tuning CGLIB later. > > > > > > On 6/4/07, John Mitchell <mit...@gm...> wrote: > > > > > Hi, > > > > > > I have been having to restart Apache Tomcat as frequently as once a > > > day and I suspect the problem is related to hibernate. > > > > > > I have attached an error log from apache tomcat: > > > > > > I get the following error below > > > > > > ERROR BasicLazyInitializer:105 - CBLIB Enhancement failed: > > > com.insequence.gv.ProductOrder > > > > > > then further down the log file > > > > > > java.lang.OutOfMemoryError: PermGen space > > > > > > I also noticed towards the beginning of the log file > > > > > > 13:26:55,625 INFO DriverManagerConnectionProvider:41 - Using > > > Hibernate built-in connection pool (not for production use!) > > > 13:26:55,640 INFO DriverManagerConnectionProvider:42 - Hibernate > > > connection pool size: 1 > > > > > > Do I need to switch to a different connection pool and if so what? > > > Should I change the "Hibernate connection pool size: 1" to a number > > > higher than 1 for better stability and if so what number? > > > > > > Thanks, > > > > > > -- > > > John J. Mitchell > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > hibernate-devel mailing list > > > hib...@li... > > > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > > > > > > > > > > > > > -- > John J. Mitchell |
From: John M. <mit...@gm...> - 2007-06-05 11:56:23
|
Jeff, Thanks for the info! How do I turn off CGLIB? Thanks, John Mitchell On 6/4/07, Jeoff Wilks <jeo...@gm...> wrote: > > Every time the CGLIB Enhancer generates a new class, that generated class > jumps straight to the PermGen (permanent generation) of your java heap. > CGLIB Enhancers are faster in terms of performance, but more dangerous in > terms of memory consumption. (I ran into this same problem with another > product that uses CGLIB.) > > Try turning off CGLIB and just have hibernate use reflection. If that > solves the problem, then you can always work on tuning CGLIB later. > > > On 6/4/07, John Mitchell <mit...@gm...> wrote: > > > Hi, > > > > I have been having to restart Apache Tomcat as frequently as once a day > > and I suspect the problem is related to hibernate. > > > > I have attached an error log from apache tomcat: > > > > I get the following error below > > > > ERROR BasicLazyInitializer:105 - CBLIB Enhancement failed: > > com.insequence.gv.ProductOrder > > > > then further down the log file > > > > java.lang.OutOfMemoryError: PermGen space > > > > I also noticed towards the beginning of the log file > > > > 13:26:55,625 INFO DriverManagerConnectionProvider:41 - Using Hibernate > > built-in connection pool (not for production use!) > > 13:26:55,640 INFO DriverManagerConnectionProvider:42 - Hibernate > > connection pool size: 1 > > > > Do I need to switch to a different connection pool and if so what? > > Should I change the "Hibernate connection pool size: 1" to a number > > higher than 1 for better stability and if so what number? > > > > Thanks, > > > > -- > > John J. Mitchell > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > hibernate-devel mailing list > > hib...@li... > > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > > > > > > -- John J. Mitchell |
From: Jeoff W. <jeo...@gm...> - 2007-06-04 22:16:06
|
Every time the CGLIB Enhancer generates a new class, that generated class jumps straight to the PermGen (permanent generation) of your java heap. CGLIB Enhancers are faster in terms of performance, but more dangerous in terms of memory consumption. (I ran into this same problem with another product that uses CGLIB.) Try turning off CGLIB and just have hibernate use reflection. If that solves the problem, then you can always work on tuning CGLIB later. On 6/4/07, John Mitchell <mit...@gm...> wrote: > > Hi, > > I have been having to restart Apache Tomcat as frequently as once a day > and I suspect the problem is related to hibernate. > > I have attached an error log from apache tomcat: > > I get the following error below > > ERROR BasicLazyInitializer:105 - CBLIB Enhancement failed: > com.insequence.gv.ProductOrder > > then further down the log file > > java.lang.OutOfMemoryError: PermGen space > > I also noticed towards the beginning of the log file > > 13:26:55,625 INFO DriverManagerConnectionProvider:41 - Using Hibernate > built-in connection pool (not for production use!) > 13:26:55,640 INFO DriverManagerConnectionProvider:42 - Hibernate > connection pool size: 1 > > Do I need to switch to a different connection pool and if so what? > Should I change the "Hibernate connection pool size: 1" to a number > higher than 1 for better stability and if so what number? > > Thanks, > > -- > John J. Mitchell > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > > |
From: John M. <mit...@gm...> - 2007-06-04 21:28:18
|
MTM6MjY6NTUsNjA5ICBJTkZPIEhibUJpbmRlcjozMTEgLSBNYXBwaW5nIGNsYXNzOiBjb20uaW5z ZXF1ZW5jZS5ndi5Qcm9kdWN0IC0+IGd2X3N1cHBsaWVycw0KMTM6MjY6NTUsNjA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zOjI3OjIyLDA0NiAgSU5GTyBIYm1CaW5kZXI6MzExIC0gTWFwcGluZyBjbGFzczog Y29tLmluc2VxdWVuY2UuZ3YuVXNlciAtPiBndl91c2VyDQoxMzoyNzoyMiwwNDYgIElORk8gQ29u ZmlndXJhdGlvbjo0NjAgLSBSZWFkaW5nIG1hcHBpbmdzIGZyb20gcmVzb3VyY2U6IFN0cnVjdHVy ZS5oYm0ueG1sDQoxMzoyNzoyMiwwNjIgIElORk8gSGJtQmluZGVyOjMxMSAtIE1hcHBpbmcgY2xh c3M6IGNvbS5pbnNlcXVlbmNlLmd2LlN0cnVjdHVyZSAtPiBndl9zdHJ1Y3R1cmUNCjEzOjI3OjIy LDA2MiAgSU5GTyBDb25maWd1cmF0aW9uOjEzNTAgLSBDb25maWd1cmVkIFNlc3Npb25GYWN0b3J5 OiBudWxsDQo= |
From: The R. <the...@gm...> - 2007-05-18 14:45:50
|
Hi, Am a newbie to Java Persistence API. In our database, we have a one-to-many relationship between 2 tables, say t1 & t2 i.e. one record of t1 can be associated with multiple records in table t2. Is it possible to delete a row in t2 without doing anything to the associated row in t1? Is this allowed in JPA? I heard that an error saying "parent is null' is thrown in such a case? Thanks. |
From: Yu D. <yud...@gm...> - 2007-05-01 20:30:45
|
Query: 1. from invItem c where c.regularDoc is null; ---no rows return, should be a large number of rows 2. from invItem c where c.regularDoc is not null; --- returned the correct rows, cast (InvDecalItem) to get the rows. 3. from invItem c left join c.regularDoc doc where doc is null; --- returned rows, but I got cast exception (I cast the row to (InvDecalItem) as well as (InvItem) type) when I want to get row information. 4. from invItem c left join c.regularDoc doc where doc is not null; --- returned rows, the same as 3. I think of using join, I want to know that how to cast the result rows? below are related definations and classes: <hibernate-mapping> <class name="InvItem"> <id name="id" column="id"> <generator class="hilo"/> </id> <discriminator column="invType" length="1"/> <many-to-one name="transferredDetails"/> <!-- FK: Points to corresponding entry for transferred inventory items --> <subclass name="InvDecalItem" discriminator-value='D'> <one-to-one name="regularDoc" property-ref="decalNew" access="field" /> <!-- nullable: an item maybe not attach to a document --> </subclass> </class> </hibernate-mapping> </hibernate-mapping> <class name="AbstractRegularDoc" table="RegularDoc"> <id name="id"> <generator class="hilo"/> </id> <many-to-one name="decalNew" index="decalIdx" access="field" unique="true"/> </class> </hibernate-mapping> public abstract class AbstractRegularDoc{ private InvDecalItem decalNew; ... public InvDecalItem getDecalNew() { return decalNew; } public void setDecalNew(InvDecalItem decalNewParam) { if (decalNewParam != null) decalNewParam.setRegularDoc(this); } } public class InvDecalItem extends InvItem { private AbstractRegularDoc regularDoc; public AbstractRegularDoc getRegularDoc() { return regularDoc; } public void setRegularDoc(AbstractRegularDoc regulardocs) { if (this.regularDoc != null) this.regularDoc.setDecalNew(this); } } |
From: Yu D. <yud...@gm...> - 2007-05-01 20:26:46
|
Query: 1. from invItem c where c.regularDoc is null; ---no rows return, should be a large number of rows 2. from invItem c where c.regularDoc is not null; --- returned the correct rows, cast (InvDecalItem) to get the rows. 3. from invItem c left join c.regularDoc doc where doc is null; --- returned rows, but I got cast exception (I cast the row to (InvDecalItem) as well as (InvItem) type) when I want to get row information. 4. from invItem c left join c.regularDoc doc where doc is not null; --- returned rows, the same as 3. I think of using join, I want to know that how to cast the result rows? <hibernate-mapping> <class name="InvItem"> <id name="id" column="id"> <generator class="hilo"/> </id> <discriminator column="invType" length="1"/> <many-to-one name="transferredDetails"/> <!-- FK: Points to corresponding entry for transferred inventory items --> <subclass name="InvDecalItem" discriminator-value='D'> <one-to-one name="regularDoc" property-ref="decalNew" access="field" /> <!-- nullable: an item maybe not attach to a document --> </subclass> </class> </hibernate-mapping> </hibernate-mapping> <class name="AbstractRegularDoc" table="RegularDoc"> <id name="id"> <generator class="hilo"/> </id> <many-to-one name="decalNew" index="decalIdx" access="field" unique="true"/> </class> </hibernate-mapping> public abstract class AbstractRegularDoc{ private InvDecalItem decalNew; ... public InvDecalItem getDecalNew() { return decalNew; } public void setDecalNew(InvDecalItem decalNewParam) { if (decalNewParam != null) decalNewParam.setRegularDoc(this); } } public class InvDecalItem extends InvItem { private AbstractRegularDoc regularDoc; public AbstractRegularDoc getRegularDoc() { return regularDoc; } public void setRegularDoc(AbstractRegularDoc regulardocs) { if (this.regularDoc != null) this.regularDoc.setDecalNew(this); } } |
From: The R. <the...@gm...> - 2007-04-25 13:25:01
|
Thanks to all for your replies. Lazy loading does the trick! On 4/24/07, Dmitri Colebatch <di...@co...> wrote: > > Hi, > > I think you'd be better off here: http://forum.hibernate.org/ > > The answer to your question is lazy loading, see http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#performance-fetching-lazy > > > cheers, > dim > > > On 4/23/07, The Rhythmic <the...@gm...> wrote: > > > Hi, > > > > Am using Hibernate with Java Persistence API. > > > > The question, in short is: > > How do I restrict the Java Persistence API to access rows only from one > > table & not from any other table i.e. Even though it might require > > access to other tables, it should access rows only from one particular > > table. How to enforce this? > > > > In detail, this' the problem: > > > > We have a data model like this: > > > > Level 1 class > > ......within this there is Level 2 class > > ............within Level 2, there is Level 3 class > > > > it's just like XML data where we have a tag within another tag & so on. > > The root tag is Level1 & the tags in the next level are Level2, let's > > assume...and so on. > > > > i.e. an instance of Level1 class can contain many objects of Level2 > > within it. And an instance of Level2 class can contain many objects of > > Level3 within it. Within the Level1 class, we have methods to fetch > > corresponding objects from Level2. & the same for Level2 class. So, using > > Java Persistence API, when accessing instances of Level1, they automatically > > fetch corresponding instances of Level2 & Level3. Level1 has a corresponding > > table in the database called Level1. & the same with Level2 & Level3. How do > > I restrict the Java Persistence API to fetch objects only from Level1 table > > & not from other tables? > > > > Thanks. > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > hibernate-devel mailing list > > hib...@li... > > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > > > > |
From: Dmitri C. <di...@co...> - 2007-04-23 20:57:56
|
Hi, I think you'd be better off here: http://forum.hibernate.org/ The answer to your question is lazy loading, see http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#performance-fetching-lazy cheers, dim On 4/23/07, The Rhythmic <the...@gm...> wrote: > > Hi, > > Am using Hibernate with Java Persistence API. > > The question, in short is: > How do I restrict the Java Persistence API to access rows only from one > table & not from any other table i.e. Even though it might require access > to other tables, it should access rows only from one particular table. How > to enforce this? > > In detail, this' the problem: > > We have a data model like this: > > Level 1 class > ......within this there is Level 2 class > ............within Level 2, there is Level 3 class > > it's just like XML data where we have a tag within another tag & so on. > The root tag is Level1 & the tags in the next level are Level2, let's > assume...and so on. > > i.e. an instance of Level1 class can contain many objects of Level2 within > it. And an instance of Level2 class can contain many objects of Level3 > within it. Within the Level1 class, we have methods to fetch corresponding > objects from Level2. & the same for Level2 class. So, using Java Persistence > API, when accessing instances of Level1, they automatically fetch > corresponding instances of Level2 & Level3. Level1 has a corresponding table > in the database called Level1. & the same with Level2 & Level3. How do I > restrict the Java Persistence API to fetch objects only from Level1 table & > not from other tables? > > Thanks. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > > |
From: The R. <the...@gm...> - 2007-04-23 10:56:36
|
Hi, Am using Hibernate with Java Persistence API. The question, in short is: How do I restrict the Java Persistence API to access rows only from one table & not from any other table i.e. Even though it might require access to other tables, it should access rows only from one particular table. How to enforce this? In detail, this' the problem: We have a data model like this: Level 1 class ......within this there is Level 2 class ............within Level 2, there is Level 3 class it's just like XML data where we have a tag within another tag & so on. The root tag is Level1 & the tags in the next level are Level2, let's assume...and so on. i.e. an instance of Level1 class can contain many objects of Level2 within it. And an instance of Level2 class can contain many objects of Level3 within it. Within the Level1 class, we have methods to fetch corresponding objects from Level2. & the same for Level2 class. So, using Java Persistence API, when accessing instances of Level1, they automatically fetch corresponding instances of Level2 & Level3. Level1 has a corresponding table in the database called Level1. & the same with Level2 & Level3. How do I restrict the Java Persistence API to fetch objects only from Level1 table & not from other tables? Thanks. |
From: The R. <the...@gm...> - 2007-03-24 05:51:48
|
Hi, Can someone point me to some good tutorial about using Hibernate in conjuction with the Java Persistence API. I use the Eclipse IDE. Thanks. |
From: Jordan <jo...@re...> - 2007-03-21 05:25:45
|
As the Hibernate devs will often sarcastically remind you, the dev list = is NOT a user forum. Check hibernate.org for a link to the forums, where = people are more apt to help. That said, access to mapping information for a persistent class is = usually done through the SessionFactory. In Hibernate 2 one goes: SessionFactory factory =3D *YOUR SESSION FACTORY* Class cls =3D *YOUR PERSISTENT OBJECT CLASS* BasicEntityPersister classMetadata =3D = (BasicEntityPersister)factory.getClassMetadata(cls); Once you have access to classMetaData, you can get the table name = through: classMetadata.getTableName() -JL ----- Original Message -----=20 From: Hess Yvan=20 To: hib...@li...=20 Sent: Tuesday, March 20, 2007 3:46 AM Subject: [Hibernate] Getting mapped table name to a persistent object Hi, I am using Hibernate V 2.1.8, and I have to do a bulk update using a = direct SQL connection. This is due to the fact that Hibernate V2.1.8 = doesn't support Query.update(). As the database mapping table can change = into my Hibernate mapping, I would like to retrieve it dynamicly.=20 How can retrieve the name of the database table that is used to store = a given persisent object ? Thanks for your answer. Regards. Yvan Hess Yvan Hess Chief Software Architect e-mail: yva...@im... phone : +41 (0)26 460 66 66=20 fax : +41 (0)26 460 66 60=20 Informatique-MTF SA Route du Bleuet 1=20 CH-1762 Givisiez=20 Excellence in Compliance and Document Management http://www.imtf.com DISCLAIMER=20 This message is intended only for use by the person to whom it is = addressed. It may contain information that is privileged and = confidential. Its content does not constitute a formal commitment by = IMTF. If you are not the intended recipient of this message, kindly = notify the sender immediately and destroy this message. Thank You. -------------------------------------------------------------------------= ----- = -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to = share your opinions on IT & business topics through brief surveys-and earn cash = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV -------------------------------------------------------------------------= ----- _______________________________________________ hibernate-devel mailing list hib...@li... https://lists.sourceforge.net/lists/listinfo/hibernate-devel |
From: Hess Y. <Yva...@im...> - 2007-03-20 10:46:32
|
Hi, =20 I am using Hibernate V 2.1.8, and I have to do a bulk update using a direct SQL connection. This is due to the fact that Hibernate V2.1.8 doesn't support Query.update(). As the database mapping table can change into my Hibernate mapping, I would like to retrieve it dynamicly.=20 =20 How can retrieve the name of the database table that is used to store a given persisent object ? =20 Thanks for your answer. =20 Regards. Yvan Hess =20 Yvan Hess Chief Software Architect =20 e-mail: yva...@im... phone : +41 (0)26 460 66 66=20 fax : +41 (0)26 460 66 60=20 =20 Informatique-MTF SA Route du Bleuet 1=20 CH-1762 Givisiez=20 Excellence in Compliance and Document Management http://www.imtf.com <http://www.imtf.com/>=20 =20 DISCLAIMER=20 This message is intended only for use by the person to whom it is addressed. It may contain information that is privileged and confidential. Its content does not constitute a formal commitment by IMTF. If you are not the intended recipient of this message, kindly notify the sender immediately and destroy this message. Thank You. =20 |
From: Francesco P. <ce...@gm...> - 2007-03-19 14:08:57
|
2007/3/19, Max Rydahl Andersen <max...@re...>: > > jdk5 does autoboxing, older jdk's does not. > > So int into an Integer fails. > (please note i'm an unexperienced java dev) I produced the patch (using "svn diff"), at least it compiles now. Probably the same function toWrapperClass() in BasicPOJOClass.java is not needed but i didn't understand how it does work getJavaTypeClass in that class so i was more conservative (you surely know how to cut it and retain only the version of Cfg2JavaTool.java). I have 2 more question, if you have time to respond me: 1) Now that compiles, can i trust this interface? Is there some usage documentation about it (can't found it in hibernate manuals)? 2) I see that a "List findAll()" method is not provided (sort of "select * from Table"). How can i obtain it in the right (and quick) way? For the patch, if it's ok, license is obviously lgpl and i give the copyright to you. Thanks, Francesco |
From: Francesco P. <ce...@gm...> - 2007-03-19 11:05:29
|
2007/3/19, Max Rydahl Andersen <max...@re...>: > > I'ts always been the case. Feel free to submit a patch; but the dao > generation > has and still is considered "in progress". > > /max > Ok, i can take a look at the dao generation templates (i extremely need it). If i succeed, i can surely send a patch. But please, can you point me to the reason it doesn't compile? Maybe i'm blind, but i can't understand why it doesn't. This is the incriminated dao interface: http://www.webalice.it/ceztko/ProvinciaHome.java Thanks, Francesco |
From: Francesco P. <ce...@gm...> - 2007-03-19 10:48:58
|
2007/3/19, Max Rydahl Andersen <max...@re...>: > answered in tools forum many times before. > > use jdk5 to compile or use latest version of tools. > > /max > > Compiled latest version from http://anonsvn.jboss.org/repos/hibernate/branches/Branch_3_2/HibernateExt (where appears to be the latest development), and the code is still uncompilable by jdk 1.4. Unfortunately, i'm constrained to jdk 1.4 for my project. However, Isn't this a bug (or a regression), also considering that the default parameter for jdk5 is "false"? Francesco |
From: Francesco P. <ce...@gm...> - 2007-03-18 23:33:22
|
I'm sorry to post on dev list for this that probably is a user problem, but i got no feedback on user forum, and google has no answer for this strange problem. Hibernate version: 3.2.2 JDK: 1.4 The problem: i was able to generate and compile pojos files with hbm2java ant target but trying to compile dao interfaces (created with hbm2dao) i got a bunch of these: /home/ceztko/development/thgroup/visionehrcv/src/com/thgroup/visionehrcv/model/StatoValutazioneHome.java:99: cannot resolve symbol symbol : method get (java.lang.String,int) location: interface org.hibernate.classic.Session StatoValutazione instance = (StatoValutazione) sessionFactory.getCurrentSession().get("com.thgroup.visionehrcv.model.StatoValutazione", id); ^ The same error is on all dao classes, all at line 99. My classpath is ok (surely it see hibernate3.jar, most recent stable version). Trying to recompile hibernate3 from source, and trying to recompile the project with all hibernate3 source bundled libs in the classpath give me the same error. Looked hibernate sources and get method with parameters String and int is there, in the org.hibernate.Session superclass! So seems no problem there too... Here you can find an example class of the generated sources, pojo (that compile) and daos (that doesn't), and the config.hbm.xml: http://www.webalice.it/ceztko/Provincia.java http://www.webalice.it/ceztko/ProvinciaHome.java http://www.webalice.it/ceztko/config.hbm.xml Thanks for your attention. Forgive me if was a my oversight. Francesco |