Dear all,
I'm using hibernate and oracle 11g2 in one of my projects. I had to upgrade
recently to a new version of hibernate, first from 3.6.1 to 3.6.10 and then
to 4.1.8. However after migrating to 4.1.8 now my oracle sessions are never
closed even after I close SessionFactory and I don't underst
Dear all,
After upgrading JPA from 3.6.1 to 4.1.8 I start getting the following error:
"Error: registry contains more than one (2) entity manager factories:
PERSISTENCE_UNIT_NAME"
Below you can find a brief summary of our specification requirements.
- User logins in the web application using th
rote:
> I would like to see the exception call stack from when the "registry
> contains more than one" error is thrown. You can copy it to a website like
> pastie.org or pastebin.com and paste the link here.
>
> Scott
>
> On 12/20/2012 05:38 AM, Teresa Batista Neto
e? Perhaps you could try setting it to:
>
> "newt" + username
>
> Scott
>
>
> On 01/08/2013 08:03 AM, Teresa Batista Neto wrote:
>
>> Hello,
>>
>> I just copy/past the exception call stack from when the "registry
>> contains m
Dear all,
I'm having problems adding hibernate timeout. Sessions are not closed after
timeout. One of the requirements is not to use connection pool.
Below you can find a brief summary of our specification requirements.
- User logins in the web application using his own oracle database account;
ny of you can help me
with those issues.
Thanks for your help.
Best Regards,
Teresa
On Wed, Jan 9, 2013 at 11:45 AM, Teresa Batista Neto <
teresa.batista.n...@gmail.com> wrote:
> Hi Scott,
>
> Thanks a lot for your help. I'm going to try what you suggest. I'm also
> go
Dear all,
I'm trying to use cascading deletion but it doesn't seem to work.
"
If you can guarantee that no other object (or row in any other table) holds
a reference to these bids, you can make the deletion transitive.
Hibernate (and JPA) offer a cascading option for this purpose. You can
enable
Dear all,
We have a java class that contains a list of names of type A, a list of
names of type B, and a preferred name. We would like to map this list of
names and the preferred name in a single table called names that contains
id, name and type. I already had a look in hibernate documentation bu