-
1. Re: Oracle generated entities failure
maxandersen Sep 15, 2008 11:02 AM (in response to ipazmino)oracle exposes many weird things in their default metadata ;)
you can work around it by setting hibernate.default_schema and we will only look at that. -
2. Re: Oracle generated entities failure
ipazmino Sep 16, 2008 10:36 AM (in response to ipazmino)Hi,
I tried adding the database name in the Generate entities dialog box, and also modified the connection string to TESTUSER@localhost:1521:XE
But, as you can see, there is not exactly a db name, but a user that can access some tables in a table space.
So, I'm not really sure what should I set on the database field: the tablespace, the user, or, modifying the connection string. -
3. Re: Oracle generated entities failure
maxandersen Sep 16, 2008 11:14 AM (in response to ipazmino)In oracle username == schema
-
4. Re: Oracle generated entities failure
ipazmino Sep 16, 2008 1:34 PM (in response to ipazmino)Thanks for your time. I still can't get it to function, but I get the error notification much faster than before.
I have set the following config for the driver:
conn url = jdbc:oracle:thin:@localhost:1521:XE
db name = TESTUSER
driver class = oracle.jdbc.driver.OracleDriver
user id = TESTUSER
and for the jdbc conn properties
db = TESTUSER
url = jdbc:oracle:thin:@localhost:1521:XE
user = TESTUSER
the jar where is pointing to the driver is oracles ojdbc14.jar -
5. Re: Oracle generated entities failure
maxandersen Sep 16, 2008 3:04 PM (in response to ipazmino)im not talking about the database connection - i'm talking about the default schema setting in hibernate.
hibernate.default_schema in cfg.xml or persistence.xml. -
6. Re: Oracle generated entities failure
ipazmino Sep 16, 2008 4:04 PM (in response to ipazmino)Thank you a lot!!!
I didn't understand it was a property,
but now it worked perfectly!!! -
7. Re: Oracle generated entities failure
maxandersen Sep 16, 2008 5:27 PM (in response to ipazmino)glad to be of help