• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Erro while commit transaction

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So, good afternoon guys, i'm have a little problem. I'm trying to access 2 different databases. One is PostgreSQL and is localhost, the other is SQLServer and is in address 172.31.128.25. Here is my code.

my persistence.xml



So, i have many tables into my db. And i'm testing one that. But it isn't work.

Here my test



Here my methods.







.. The StackTrace



Here says " Caused by: java.sql.SQLException: Invalid object name 'teste.tbsisc_usuario'. "

But this table "teste.tbsisc_usuario" exist.

Anyone understand my problem ?

Just to complet. If i use

...

It work !!! ...

i don“t know ... why !!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic