|
From: Claudio D'A. <cla...@ob...> - 2004-06-28 09:54:49
|
Hi, we are using spring 1.0.2 in our project but we've an eccentric client requirement. We use ibatis (with spring integration) to perform the db query and we have separeted backend and frontend. When the user execute a request, a controller use a manager (be) to execute the query to DB. The requirement is: An user have associated to a locale (nation) The system must execute query using datasource that vary in base of locale. I.E. The user Mark has associated the locale ES The user Claudio has associated the locale IT the insert for Mark user must go to the datasource DataSource_es the insert for Claudio user must go to the datasource DataSource_it Is there an system in spring (or can you help me) to elab this requirement? Thank's much Grazie e buon lavoro ---------- Claudio D'Angelo Software Consultant ObjectWay S.p.A. Via G.A. Boltraffio 7 20159 Milano (MI) http://www.objectway.it -- La presente comunicazione, che potrebbe contenere informazioni riservate e/o protette da segreto professionale, è indirizzata esclusivamente ai destinatari della medesima qui indicati. Le opinioni, le conclusioni e le altre informazioni qui contenute, che non siano relative alla nostra attività caratteristica, devono essere considerate come non inviate né avvalorate da noi. Tutti i pareri e le informazioni qui contenuti sono soggetti ai termini ed alle condizioni previsti dagli accordi che regolano il nostro rapporto con il cliente. Nel caso in cui abbiate ricevuto per errore la presente comunicazione, vogliate cortesemente darcene immediata notizia, rispondendo a questo stesso indirizzo di e-mail, e poi procedere alla cancellazione di questo messaggio dal Vostro sistema. E' strettamente proibito e potrebbe essere fonte di violazione di legge qualsiasi uso, comunicazione, copia o diffusione dei contenuti di questa comunicazione da parte di chi la abbia ricevuta per errore o ! in violazione degli scopi della presente. Il messaggio e' stato analizzato alla ricerca di virus o contenuti pericolosi ed e' risultato NON infetto. This communication, that may contain confidential and/or legally privileged information, is intended solely for the use of the intended addresses. Opinions, conclusions and other information contained in this message, that do not relate to the official business of this firm, shall be considered as not given or endorsed by it. Every opinion or advice contained in this communication is subject to the terms and conditions provided by the agreement governing the engagement with such a client. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Any use, disclosure, copying or distribution of the contents of this communication by a not-intended recipient or in violation of the purposes of this communication is strictly prohibited and may be unlawful. The message has been verified for virus and malaware and is safe. (MI) |