Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Hibernate + Spring + RCP hibernate error
Hibernate + Spring + RCP hibernate error [message #436919] Tue, 20 September 2005 07:57
Eclipse UserFriend
Originally posted by: heqh.canon-sol.com.cn

This is a multi-part message in MIME format.

------=_NextPart_000_002B_01C5BDFB.FA5FA3E0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_002C_01C5BDFB.FA5FA3E0"


------=_NextPart_001_002C_01C5BDFB.FA5FA3E0
Content-Type: text/plain;
charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit

$B@2E7(BHi all
I am trying to build a working project on the RCP+Spring+Hibernate stack

the project inculde such as book manager sub-project, hardware manager
sub-project and so on.
each sub-project is a plugin proect .so the project can add or delete
sub-project conveniency.
The main sub-project is base information managerment such as person
deptmant . each sub-project may use those base informations. now i have
make a serviceEngine.jar. the jar file includes each sub-projects services .
this services use hibernate dao & spring to implement . each plugin
includes the serviceEngine.jar.

the project can run but has problem : at fisrt open book managerment and
use the person information to borrow book .this no problem . now i open
hardware managerment and use the person information to lend hardware is also
correct . but when i open book managerment and use the person information
to borrow book again .then problem display . no person information ! ( no
persistent classes found for query class: select person from Tperson person
where person.name like ? ) is it osgi problem ?

I am still having trouble to share a singleton instance for each plugin .
Any help on this would be appreciative.

thanks

hqh

------=_NextPart_001_002C_01C5BDFB.FA5FA3E0
Content-Type: text/html;
charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE id=3DridTitle>=1B$B@2E7=1B(B</TITLE><BASE=20
href=3D"file://C:\Program Files\Common Files\Microsoft =
Shared\Stationery\">
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-2022-jp">
<STYLE>BODY {
MARGIN-TOP: 25px; FONT-SIZE: 10pt; MARGIN-LEFT: 10px; COLOR: #0033cc; =
FONT-FAMILY: MS UI Gothic, =1B$B#M#S=1B(B =1B$B#P%4%7%C%/=1B(B
}
</STYLE>

<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY id=3DridBody bgColor=3D#ffffff=20
background=3Dcid:002501c5bdb8$ec32ee00$05c410ac@canonsol.com.cn>
<DIV>Hi&nbsp; all</DIV>
<DIV>I am trying to build a working project on the RCP+Spring+Hibernate=20
stack</DIV>
<DIV>&nbsp;</DIV>
<DIV>the project inculde such as book&nbsp;manager sub-project, hardware =
manager=20
sub-project and so on.</DIV>
<DIV>each sub-project is a plugin proect .so the project can add or =
delete=20
sub-project conveniency.&nbsp; </DIV>
<DIV>The main sub-project &nbsp;is&nbsp; base=20
information&nbsp;managerment&nbsp;such as person&nbsp;deptmant . each=20
sub-project may use those base informations.&nbsp; now i have make a=20
serviceEngine.jar. the jar file includes each sub-projects services . =
this=20
services use&nbsp; hibernate dao&nbsp;&nbsp;&amp;&nbsp;&nbsp;spring to =
implement=20
..&nbsp;&nbsp;&nbsp;each plugin includes the serviceEngine.jar.</DIV>
<DIV>&nbsp;</DIV>
<DIV>the project can run but&nbsp;has problem&nbsp;&nbsp;: at fisrt =
&nbsp;open=20
book managerment and use the person information to borrow book .this no =
problem=20
.. now i open hardware managerment and use the person information to lend =

hardware is also&nbsp;correct &nbsp;. but when i&nbsp; open book =
managerment and=20
use the person information to borrow book again .then problem display . =
no=20
person information ! (&nbsp;&nbsp; no persistent classes found for query =
class:=20
select person from Tperson person where person.name like ?&nbsp; =
)&nbsp;&nbsp;=20
is it osgi problem ? </DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"MS Gothic">I am still having trouble to share a =
singleton&nbsp;=20
instance for each plugin .</FONT></DIV>
<P>Any help on this would be appreciative.</P>
<P>thanks </P>
<P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; =
hqh</P></BODY></HTML>

------=_NextPart_001_002C_01C5BDFB.FA5FA3E0--

------=_NextPart_000_002B_01C5BDFB.FA5FA3E0
Content-Type: image/jpeg;
name="=?iso-2022-jp?B?GyRCQDJFN0dYN0obKEIuanBn?="
Content-Transfer-Encoding: base64
Content-ID: <002501c5bdb8$ec32ee00$05c410ac@canonsol.com.cn>

/9j/4AAQSkZJRgABAgEASABIAAD/7QVoUGhvdG9zaG9wIDMuMAA4QklNA+0A AAAAABAASAAAAAEA
AQBIAAAAAQABOEJJTQPzAAAAAAAIAAAAAAAAAAA4QklNBAoAAAAAAAEAADhC SU0nEAAAAAAACgAB
AAAAAAAAAAI4QklNA/UAAAAAAEgAL2ZmAAEAbGZmAAYAAAAAAAEAL2ZmAAEA oZmaAAYAAAAAAAEA
MgAAAAEAWgAAAAYAAAAAAAEANQAAAAEALQAAAAYAAAAAAAE4QklNA/gAAAAA AHAAAP//////////
//////////////////8D6AAAAAD/////////////////////////////A+gA AAAA////////////
/////////////////wPoAAAAAP////////////////////////////8D6AAA OEJJTQQIAAAAAAAQ
AAAAAQAAAkAAAAJAAAAAADhCSU0ECQAAAAAD9wAAAAEAAACAAAAAgAAAAYAA AMAAAAAD2wAYAAH/
2P/gABBKRklGAAECAQBIAEgAAP/+ACdGaWxlIHdyaXR0ZW4gYnkgQWRvYmUg UGhvdG9zaG9wqCA0
LjAA/+4ADkFkb2JlAGSAAAAAAf/bAIQADAgICAkIDAkJDBELCgsRFQ8MDA8V GBMTFRMTGBEMDAwM
DAwRDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAENCwsNDg0QDg4QFA4O DhQUDg4ODhQRDAwM
DAwREQwMDAwMDBEMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgA gACAAwEiAAIRAQMR
Af/dAAQACP/EAT8AAAEFAQEBAQEBAAAAAAAAAAMAAQIEBQYHCAkKCwEAAQUB AQEBAQEAAAAAAAAA
AQACAwQFBgcICQoLEAABBAEDAgQCBQcGCAUDDDMBAAIRAwQhEjEFQVFhEyJx gTIGFJGh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uqMVdUYq7FXYq1irq4q7FWxgV2FLsUNEV 2xQuQb79sBLIBcSS
SCMCW9sCt7YpawoWmlcVcAK4UNbYqtNKYUNbYodirsKuxV1MCXYUOxV//9Tq G2ZbhuxV2BXYVccV
LWFDRxVrfFDsKtYq2OuKuHfFWx0wK75YpbFMCu2xV2KtbYVbxVv4cCW9sVb2 2wJbwJdhVoVxQ3ir
RxVw98Vawq12xQ44q0cKtHFDWKGsKt4EtiuKt4q//9k=

------=_NextPart_000_002B_01C5BDFB.FA5FA3E0--
Previous Topic:unable to build RCP
Next Topic:Internal Browser and title
Goto Forum:
  


Current Time: Fri Dec 06 17:39:40 GMT 2024

Powered by FUDForum. Page generated in 0.02943 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top