Joined: Wed Aug 01, 2007 9:26 am Posts: 2
|
I have two different database in Sql Server:
the first one is a general user / permissions dataBase named userDataBase and the second one is my Application DataBase named aplDataBase
I'm using jtds 1.2 with hibernate 3.2.1 and in my persistence.xml I have my url :
<property name="hibernate.connection.url" value="jdbc:jtds:sqlserver://myServerName:1433/aplDataBase" />
I'm trying to map a table through annotations in userDataBase :
@Entity
@Table(name="USER", schema="userDataBase")
When I run my application I receive the following error :
Invalid object name 'userDataBase.USER'
|
|