If you want to recreate this feature yourself with different databases
you're going to have to map your entrypoint (initial URL) to your specific
client and from there to the specific database datasource. Once you have
the data source, associate it with the SessionFactory and everything will
work c
Oracle 12c should fit your needs. Unless you want to recreate this feature
by your self.
On Tue, Jul 8, 2014 at 5:36 AM, Kevin Peterson wrote:
> Hi,
>
> We have an application wherein we want to keep separate database for each
> client. We want to achieve this using multi tenancy approach. A wo
Hi,
We have an application wherein we want to keep separate database for each
client. We want to achieve this using multi tenancy approach. A working example
will be highly appreciated.
Thanks,
Kevin Peterson
-
To unsubscri
DOUILLARD David on 03/07/06 08:02, wrote:
Hello,
I'm working on struts and hibernate. J'ai une tache qui est affectée à un
utilisateur.
I have a Actionform named Task.
Private Integer code ;
Private String codeus ; // Login of user
Private String libelle;
I have also a POJO Task
Hello,
I'm working on struts and hibernate. J'ai une tache qui est affectée à un
utilisateur.
I have a Actionform named Task.
Private Integer code ;
Private String codeus ; // Login of user
Private String libelle;
I have also a POJO Task.
Private Integer code;
Private User user;
To unsubscribe, e-mail: [EMAIL PROTECTED]
On 8/25/05, Shajee <[EMAIL PROTECTED]> wrote:
>
> Hi i want to unsubscribe from this group.
>
> Kindly unsubscribe me.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional
Hi i want to unsubscribe from this group.
Kindly unsubscribe me.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Konrad Billewicz wrote:
Lindholm, Greg neom.com> writes:
What I do is use a Hibernate Servlet Filter that closes the Hibernate
session
at the end of the request. This is used in conjunction with the
HibernateUtils
class that stores the Hibernate session in ThreadLocal storage.
An example
Gareth Evans msoft.co.uk> writes:
> http://www.javalobby.org/java/forums/t20533.html
While ago other kind person gave mi a link to the Hibernate web site and I
solved my problem. I'll read this article later. Thank you for it.
Best regards,
Konrad Billewicz
Lindholm, Greg neom.com> writes:
> What I do is use a Hibernate Servlet Filter that closes the Hibernate
> session
> at the end of the request. This is used in conjunction with the
> HibernateUtils
> class that stores the Hibernate session in ThreadLocal storage.
>
> An example of this techni
http://www.javalobby.org/java/forums/t20533.html
Marco Mistroni wrote:
Hello,
Could you tell me more? Which filter? Do you mean Tomcat filters? Which
plugin?
It's a Servlet Filter if I am correct..
Plugin is a Struts plugin
If you check www.hibernate.org in FAQ there should be a link
Hello,
>Could you tell me more? Which filter? Do you mean Tomcat filters? Which
>plugin?
It's a Servlet Filter if I am correct..
Plugin is a Struts plugin
If you check www.hibernate.org in FAQ there should be a link to those
informations..
Regards
marco
-
Nick Heudecker gmail.com> writes:
> The most common way to solve this problem is to use the Open Session
> In View pattern, which leaves the Hibernate session open until the JSP
> has finished rendering. Typically accomplished with a filter, there
> is also a Struts plugin to help with this patt
://www.hibernate.org/43.html)
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Konrad Billewicz
Sent: Tuesday, August 09, 2005 10:11 AM
To: user@struts.apache.org
Subject: Struts and Hibernate lazy
Hello,
I am using Hibernate in my Struts project. A have a problem with
Hibernate
The most common way to solve this problem is to use the Open Session
In View pattern, which leaves the Hibernate session open until the JSP
has finished rendering. Typically accomplished with a filter, there
is also a Struts plugin to help with this pattern.
Google for "Open Session In View" and
Hello,
I am using Hibernate in my Struts project. A have a problem with Hibernate lazy
option. When I am setting it to true, I get an error in my JSPs:
org.apache.jasper.JasperException: could not initialize proxy - the owning
Session was closed
Of course I know why this error occurs. I am clo
Hi,
We are looking for developers with good understanding of Struts and
Hibernate in Hungary and Romania.
If you are interested in please contact me at:
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Carl-Eric Menzel wrote:
> It is possible to reassociate an object from an older session with the
> current session by using the Session.lock() method. See
>
>
http://www.hibernate.org/hib_docs/reference/en/html/manipulatingdata.html#manipulatingdata-update-lock
>
GREAT !!
This is EXACTLY what
> At 1:57 PM +0200 5/5/04, Lionel wrote:
>>The problem is that when I load an object, put the object into HttpSession,
>>close the hibernate Session.
>>If later I call a getter on lazy loaded children, I get a LazyException,
>>connection closed
>>I want to keep the children lazy loaded because
At 2:10 PM +0200 5/5/04, Lionel wrote:
Nicolas de Amorrortu wrote:
Have you tried the following? http://www.hibernate.org/43.html.
this is what I was thinking about when I posted my question...but haven't
tried it yet.
I don't think it will solve my problem as the object I load is put in
session a
Nicolas de Amorrortu wrote:
> Have you tried the following? http://www.hibernate.org/43.html.
this is what I was thinking about when I posted my question...but haven't
tried it yet.
I don't think it will solve my problem as the object I load is put in
session and can be accessed many requests late
Have you tried the following? http://www.hibernate.org/43.html.
Regards,
Nicolás
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Lionel
Sent: Miércoles, 05 de Mayo de 2004 08:58 a.m.
To: [EMAIL PROTECTED]
Subject: Re: Struts and Hibernate Session
Joe Germuska wrote
Joe Germuska wrote:
>> Acutally, I have put the getHibernateSession() on a ActionFormBase.
>> After each SQL action (load, find...) I close the Session.
>> I don't believe this is a good design and would like to improve it.
>
> This is actually how Hibernate is meant to be used. The session
> lif
Where is the best way to keep the current opened Hibernate Session ?
-in the HttpSession of each user ?
-in a singleton ?
-...
When to close this Session ?
-after each request ?
-when the HttpSession closes ?
-...
Acutally, I have put the getHibernateSession() on a ActionFormBase.
After each SQL ac
-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Lionel
Sent: 05 May 2004 11:31
To: [EMAIL PROTECTED]
Subject: Struts and Hibernate Session
Hi !
I use struts 1.2 and Hibernate on Websphere 5.
I use the struts plugin to store the SessionFactory on applicaiton
context.
Where is the best way to keep
Hi !
I use struts 1.2 and Hibernate on Websphere 5.
I use the struts plugin to store the SessionFactory on applicaiton context.
Where is the best way to keep the current opened Hibernate Session ?
-in the HttpSession of each user ?
-in a singleton ?
-...
When to close this Session ?
-after each
sses/com/edhand/whatever.java
Regards,
David
-Original Message-
From: Mario St-Gelais [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 10:14 PM
To: Struts Users Mailing List
Subject: Re: Struts and Hibernate
David Friedman wrote:
>Mario,
>
>Where is your hibernate.properties f
RE: Struts and Hibernate
could the problem lie beneath the different jdbc-drivers you two guys use?
Joe, you are using the newest generation mysql-driver. Mario uses the old
one.
I also experienced strange stuff using the old one. worked after switching
to
the new one...
hth
Alexander
It is actual
Mario,
Where is your hibernate.properties file? in WEB-INF/classes or somewhere
else?
Regards,
David
-Original Message-
From: Jesse Alexander (KXT) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 5:09 AM
To: 'Struts Users Mailing List'
Subject: RE: Struts and Hiberna
: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 8. April 2004 08:08
To: [EMAIL PROTECTED]
Subject: Re: Struts and Hibernate
Mario,
hibernate config look like?
If it's saying the dialect doesn't support identity (and MySQL clearly does --
I use it!), then I'm betting it'
1:08 AM
> To: Struts Users Mailing List
> Subject: Re: Struts and Hibernate
>
>
> David Friedman wrote:
>
> >Nick,
> >
> >Your problem is the "type" set in your tag. From
> (RTFM) the
> >page:
> >http://www.hibernate.org/hib
David Friedman wrote:
Nick,
Your problem is the "type" set in your tag. From (RTFM) the page:
http://www.hibernate.org/hib_docs/reference/html/or-mapping.html#or-mapping-
s1-4--generator
See the "identity" description, which reads:
identity - supports identity columns in DB2, MySQL,
MS SQL
David Friedman wrote:
Nick,
Your problem is the "type" set in your tag. From (RTFM) the page:
http://www.hibernate.org/hib_docs/reference/html/or-mapping.html#or-mapping-
s1-4--generator
See the "identity" description, which reads:
identity - supports identity columns in DB2, MySQL,
MS SQL
Sorry Nick. Hey Mario, read the docs/primer (a nice way to say RTFM. LOL)
Regards,
David
-Original Message-
From: Nick Heudecker [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 12:42 AM
To: Struts Users Mailing List
Subject: Re: Struts and Hibernate
You addressed it to the
; >
> >
> >
> >
> >
> > > type="java.lang.String" />
> >
> >
> >
>
> -Original Message-
> From: Nick Heudecker [mailto:[EMAIL PROTECTED]
> Sent:
e document section just a
few lines lower under the "native" explanation)
Regards,
David
>
>
>
>
>
>
> type="java.lang.String" />
>
>
>
-Original Message-----
From: Nick Heudecker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Apr
The next thing I'll suggest is changing your mapping to:
If that still doesn't work, your best bet is to hit the
Hibernate forums: http://forum.hibernate.org/
>
>
>
>
>
>
>
> type="java.lang.String" />
>
>
>
> Tried both native and identi
Nick Heudecker wrote:
It sounds like you didn't configure the primary key generation
correctly. I believe that MySQL supports identity keys, not
sequences. Your tag should look like:
OR
Go here for more:
http://www.hibernate.org/hib_docs/reference/html/or-mapping.html#or-mapping-s1-4--gene
It sounds like you didn't configure the primary key generation
correctly. I believe that MySQL supports identity keys, not
sequences. Your tag should look like:
OR
Go here for more:
http://www.hibernate.org/hib_docs/reference/html/or-mapping.html#or-mapping-s1-4--generator
On 2004-Apr-07
David Friedman wrote:
What is the contents of your hibernate.properties file (or hibernate.cfg.xml
file) and in what directory did yout place it? Also, how did you
create/instantiate the SessionFactory?
Regards,
David
I used the hibernate.properties file as per the exemple :
==
07, 2004 9:15 PM
To: [EMAIL PROTECTED]
Subject: Struts and Hibernate
Ok for half the day now I have been trying to make a small application
with Hibernate as I am trying to learn it so I can use it with Struts.
I tried an exemple application shown at
http://homepage.mac.com/edahand/projects/java
Ok for half the day now I have been trying to make a small application
with Hibernate as I am trying to learn it so I can use it with Struts.
I tried an exemple application shown at
http://homepage.mac.com/edahand/projects/java/example1.html but I keep
getting an error message :
net.sf.
42 matches
Mail list logo