[jboss-jira] [JBoss JIRA] Updated: (JBAS-2113) Tables creation problem on Oracle

Dimitris Andreadis (JIRA) jira-events at jboss.com
Wed Jul 26 05:32:11 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-2113?page=all ]

Dimitris Andreadis updated JBAS-2113:
-------------------------------------

    Fix Version/s: JBossAS-4.0.6.CR1
                       (was: JBossAS-4.0.5.CR1)

> Tables creation problem on Oracle
> ---------------------------------
>
>                 Key: JBAS-2113
>                 URL: http://jira.jboss.com/jira/browse/JBAS-2113
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB2
>    Affects Versions: JBossAS-4.0.1 Final, JBossAS-4.0.2 Final,  JBossAS-4.0.2RC1, JBossAS-4.0.1 SP1,  JBossAS-4.0.3RC1
>         Environment: WindowsXp, Oracle 9i
>            Reporter: Martin Cerba
>             Fix For: JBossAS-4.0.6.CR1
>
>
> When Jboss is configured to use Oracle 9i DB for tables TIMERS table is not created when user for logging is changed.
> I found problem in org.jboss.ejb.plugins.cmp.jdbc.SQLUtil class in function 
> public static boolean tableExists(String tableName, DataSource dataSource) 
> This function use JDBC3 functionality getTables(catalog, schema, tableName, null) to check for table existence where schema parameter is set to null.
> On Oracle this function check all schemas (users) for table existence (user had DBA privilegies set) and may find TIMERS table under different user.
> Then jboss assume TIMERS as existing.
> I put username to schema parameter and it repairs problem on oracle but then it not works under hypersonic.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list