logo       


RE: Why is JBoss *creating* tables?: msg#00008

Subject: RE: Why is JBoss *creating* tables?
I've certainly read a reasonable amount.  All references will be
gratefully followed up.


> Have you read anything about j2ee?  Rtfm.
>
> -----Original Message-----
> From: middlegen-user-admin@xxxxxxxxxxxxxxxxxxxxx
> [mailto:middlegen-user-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Gavin
> Sinclair
> Sent: Wednesday, October 01, 2003 6:56 PM
> To: Eivind Waaler
> Subject: Re: [Middlegen-user] Why is JBoss *creating* tables?
>
> Really?  Create them if it can't find them?  I wasn't aware of that, and
> don't like it at all.  Hmmm... it's posible that I didn't specify a
> schema in the datasource descriptor in JBoss.  Thanks!
>
> Gavin
>
>
> On Wednesday, October 1, 2003, 6:39:17 PM, Eivind wrote:
>
>> Doesn't JBoss create the tables if it can't find them? Could it be
> that
>> your jdbc connection in JBoss is not set up with the same schema etc.
> as
>> the one Middlegen uses?
>
>> Just guessing here really, have not had this problem myself.
>
>> .eivind
>
>> On Wed, 1 Oct 2003, Gavin Sinclair wrote:
>
>>> Hi,
>>>
>>> I have spent a lot of time playing with the Middlegen demo, and am
>>> grateful for the effort that has been put into it.
>>>
>>> I have spent even more time trying to adapt it to the EJB situation I
> have
>>> at work, where about 10 tables in an Oracle database need to have
> entity
>>> beans modelled on them.  So I have adapted the sample's build.xml, as
> is
>>> intended, and have been mostly successful.  However, when I run
> JBoss, I
>>> get the following error message:
>>>
>>> org.jboss.deployment.DeploymentException: Error while creating table;
> -
>>> nested throwable: (java.sql.
>>> SQLException: [DataDirect][Oracle JDBC Driver][Oracle]ORA-00904:
> invalid
>>> column name
>>> )
>>>         at
>>>
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createTable(JDBCStartCom
> mand.java:178)
>>>         .....
>>>
>>>
>>> Now I understand that in the demo, hsqldb is used and it creates
> tables
>>> all the time.  Well, I think I understand.  Anyway, I don't see why
> this
>>> would carry over to Oracle.  And having scoured the build script,
>>> configuration files, generated code, etc., I don't see what is
> directing
>>> JBoss (3.2.1) to exhibit this behaviour.
>>>
>>> Does anyone have a possible explanation for this?  I haven't given
> much
>>> detailed information, because it appears to be an artifact of the
> demo
>>> that hopefully someone will recognise.  However, if build.xml or
> anything
>>> else is required, I'll be happy to provide it.  Some baseline
> information:
>>>  - I have removed the airline.ear file and the hsqldb-ds.xml files
>>>    from the deploy directory, so there should be no influence from
> them
>>>  - I'm using middlegen v2.0-b1
>>>
>>> Thanks very much for any help provided,
>>> Gavin
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> This sf.net email is sponsored by:ThinkGeek
>>> Welcome to geek heaven.
>>> http://thinkgeek.com/sf
>>> _______________________________________________
>>> middlegen-user mailing list
>>> middlegen-user@xxxxxxxxxxxxxxxxxxxxx
>>> https://lists.sourceforge.net/lists/listinfo/middlegen-user
>>>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> middlegen-user mailing list
> middlegen-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/middlegen-user
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> middlegen-user mailing list
> middlegen-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/middlegen-user





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe