Re: how to re-read repository.xml file without restarting software?

2008-02-03 Thread Armin Waibel
Hi Joose, Joose Vettenranta wrote: Hi, How to re-read repository.xml file without restarting software? This would nice to have when developing software. This is not intended. Anyway it could be possible when using object metadata profiles - but I never tried this. Start OJB

how to re-read repository.xml file without restarting software?

2008-02-01 Thread Joose Vettenranta
Hi, How to re-read repository.xml file without restarting software? This would nice to have when developing software. Thanks, Joose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Can't read repository file 'repository.xml

2006-09-11 Thread Tino Schöllhorn
Hi, read: http://db.apache.org/ojb/docu/guides/ojb-properties.html. Have a look at the examples. You don't explicitly load the repository.xml file. Tino Sergio del Amo Caballero wrote: Hi all, I am getting an error while trying to retrieve my repository.xml file. My repository.xml

Can't read repository file 'repository.xml

2006-09-10 Thread Sergio del Amo Caballero
Hi all, I am getting an error while trying to retrieve my repository.xml file. My repository.xml is under the WEB-INF/classes directory of my struts web application. Exactly the line is where i try to read it is: PBKey pbKey = new PBKey(repository.xml); I tried with relative url-path: PBKey

Re: Utility for Forward engineering from repository.xml

2006-05-16 Thread Armin Waibel
on a project using Apache OJB. In the course of working on this project I developed a code generator tool which reads in the repository.xml and generates the Java bean stub source as well as schema definitions for tables. OJB site mentions that there are no tools which do Forward generation from

Re: Utility for Forward engineering from repository.xml

2006-05-15 Thread Tom Antony
on a project using Apache OJB. In the course of working on this project I developed a code generator tool which reads in the repository.xml and generates the Java bean stub source as well as schema definitions for tables. OJB site mentions that there are no tools which do Forward generation from

Re: Utility for Forward engineering from repository.xml

2006-05-10 Thread Thomas Dudziak
On 5/10/06, Armin Waibel [EMAIL PROTECTED] wrote: Seems the apache server kills your attachment. Yep, ZIP attachements (among others) are not allowed for Apache mailing lists. You could open an issue in JIRA http://issues.apache.org/jira/browse/OJB and attach the source to this issue.

Re: Utility for Forward engineering from repository.xml

2006-05-10 Thread Tom Antony
. In the course of working on this project I developed a code generator tool which reads in the repository.xml and generates the Java bean stub source as well as schema definitions for tables. OJB site mentions that there are no tools which do Forward generation from repository.xml

Re: Utility for Forward engineering from repository.xml

2006-05-09 Thread Armin Waibel
Hi Tom, thanks for OJB tool support. Tom Antony wrote: Hi All, Recently I started working on a project using Apache OJB. In the course of working on this project I developed a code generator tool which reads in the repository.xml and generates the Java bean stub source as well as schema

Utility for Forward engineering from repository.xml

2006-05-08 Thread Tom Antony
Hi All, Recently I started working on a project using Apache OJB. In the course of working on this project I developed a code generator tool which reads in the repository.xml and generates the Java bean stub source as well as schema definitions for tables. OJB site mentions

Re: Utility for Forward engineering from repository.xml

2006-05-08 Thread Tom Antony
of working on this project I developed a code generator tool which reads in the repository.xml and generates the Java bean stub source as well as schema definitions for tables. OJB site mentions that there are no tools which do Forward generation from repository.xml. This is what I do except

A tool to generate an uml2 model based on repository.xml

2005-10-31 Thread Claude . Glauser
Hi OJB cummunity, here a link to a tool wich generates a model based on a OJB repository: http://www.claude-glauser.ch/j2ee/ojb/repository2uml2/index.html http://www.claude-glauser.ch/j2ee/ojb/repository2uml2/index.html here a link to an article about object-serialization (ojb):

Re: Problem with repository.xml outside war-File

2005-08-17 Thread christine . gerstenmayer
Hi Tom, Guillaume, Bobby, Eric, sorry for the late answer, I was in holiday. We will use the jndi-datasources as described. Many thanks for your quick and helpful support ! Christine PS: Don't worry about the mark untrusted mail, it's only Lotus Notes :-))

Problem with repository.xml outside war-File

2005-08-03 Thread christine . gerstenmayer
Hi all, I have the following problem: We use OJB 1.0.1 in a web-app under JBOSS 3.2.6 and with Oracle 9i. If I pack repository.xml into the war-File, all works fine. But in production the database-settings are changed one or two times a year. For example, if they change the password of the db

Re: Problem with repository.xml outside war-File

2005-08-03 Thread Bobby Lawrence
Look in OJB.properties. There is a setting in that file stating the location of the repository file. --Bobby [EMAIL PROTECTED] wrote: Hi all, I have the following problem: We use OJB 1.0.1 in a web-app under JBOSS 3.2.6 and with Oracle 9i. If I pack repository.xml into the war-File, all

Re: Problem with repository.xml outside war-File

2005-08-03 Thread Thomas Dudziak
We use OJB 1.0.1 in a web-app under JBOSS 3.2.6 and with Oracle 9i. If I pack repository.xml into the war-File, all works fine. But in production the database-settings are changed one or two times a year. For example, if they change the password of the db-user, which we use to connect, we

Re: Problem with repository.xml outside war-File

2005-08-03 Thread christine . gerstenmayer
[EMAIL PROTECTED]@inet schrieb am 03.08.2005 16:20:12: We use OJB 1.0.1 in a web-app under JBOSS 3.2.6 and with Oracle 9i. If I pack repository.xml into the war-File, all works fine. But in production the database-settings are changed one or two times a year. For example

RE: Problem with repository.xml outside war-File

2005-08-03 Thread Eric Kelm
You can pass the username/password to the application at runtime through the broker. No need to store it in the repository.xml file. See http://db.apache.org/ojb/docu/faq.html#userPasswordNeeded And http://db.apache.org/ojb/docu/faq.html#differentDBUsers - Eric Kelm Developer, VSG

Re: Problem with repository.xml outside war-File

2005-08-03 Thread Guillaume Laforge
On 03/08/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: But when I regard this example, it does not solve the problem with the password-change of the db-user: jdbc-connection-descriptor jcd-alias=default default-connection=true platform=Sapdb jdbc-level=2.0

Re: Problem with repository.xml outside war-File

2005-08-03 Thread Bobby Lawrence
Christine - Tom is correct. Use a JNDI datasource defined in the repository.xml file. Leave out the username/password and OJB will use the username/password configured by you app server (JBoss). This way, you chance the username/password in the JBoss configuration and OJB will have the new

Re: Pool Settings: ojb.properties vs repository.xml

2005-07-07 Thread Armin Waibel
#--- - # PersistenceBroker pool configuration # This pool uses the jakarta-commons-pool api. # There you can find things described in detail. # # maximum number of brokers that can be borrowed from the # pool at one time. When non-positive, there is no limit. maxActive=21 -- repository.xml -- connection

Pool Settings: ojb.properties vs repository.xml

2005-07-06 Thread OJB Dev
in detail. # # maximum number of brokers that can be borrowed from the # pool at one time. When non-positive, there is no limit. maxActive=21 -- repository.xml -- connection-pool maxActive=21 / As well as the other properties such as whenExhaustedAction,maxIdle,maxWait, etc

Re: Location of repository.xml

2005-06-20 Thread Martin Kalén
Hiller, Frank RD-AS2 wrote: I found out, temporarily setting of user.dir as follows: System.setProperty(user.dir, MyConfigDir + /); resolves the problem. I don't think you have to do this. When deploying OJB as a JAR to Tomcat webapps, just make sure repository.xml is in the root

Re: repository.xml extending

2005-06-20 Thread Martin Kalén
Stas Ostapenko wrote: I need to add some custom XML code into repository.xml. OJB begin to work without problems only after patching org.apache.ojb.broker.metadata.RepositoryTags. What is the best way to implement it ? Could you describe a bit more detailed what custom XML you need to add

repository.xml extending

2005-06-15 Thread Stas Ostapenko
Hi ! I need to add some custom XML code into repository.xml. OJB begin to work without problems only after patching org.apache.ojb.broker.metadata.RepositoryTags. What is the best way to implement it ? Thanks.

Re: Location of repository.xml

2005-06-14 Thread Danilo Tommasina
Hi, In OJB.properties you can specify the location of the repository.xml. The default is just 'repository.xml' so that the file will be searched at the root of your classpath entries. In this case java will try to load the repository.xml from your web-application classpath, then from

AW: Location of repository.xml

2005-06-14 Thread Hiller, Frank RD-AS2
of my webapp. I added the config directory to the classpath, but this does not help. So I think I have two choices: 1. Let the installer set repositoryFile in OJB.properties to the correct path. 2. Put the repository.xml into WEB-INF/classes, as you suggested. Or is there a third one? Thanks

Re: AW: Location of repository.xml

2005-06-14 Thread Danilo Tommasina
Hi Frank, I do not see why it should make a difference if your app is delivered in a WAR file, if you put your OJB.properties and repository.xml in the WEB-INF/classes you will not need any extra configuration, it is up to the servlet container to load the files directly from the WAR file

AW: AW: Location of repository.xml

2005-06-14 Thread Hiller, Frank RD-AS2
Hi Tom, yes, this is an additional alternative. I didn't check yet what my installer guy says. The most elegant way would be OJB first searches for repository.xml in the same directory where OJB.properties is located. Cheers..Frank -Ursprüngliche Nachricht- Von: Thomas Dudziak

Location of repository.xml

2005-06-13 Thread Hiller, Frank RD-AS2
Hi, I'm using OJB 1.0.3 with Tomcat 5.0.28. In my servlet I set System.setProperty(OJB.properties, D:/jakarta-tomcat-5.0.28/webapps/MyWebAppConfig/OJB.properties); Doing this loads OJB.properties without problems. But repository.xml is not found though it is located in the same directory. OJB

Re: Location of repository.xml

2005-06-13 Thread Thomas Dudziak
On 6/13/05, Hiller, Frank RD-AS2 [EMAIL PROTECTED] wrote: I'm using OJB 1.0.3 with Tomcat 5.0.28. In my servlet I set System.setProperty(OJB.properties, D:/jakarta-tomcat-5.0.28/webapps/MyWebAppConfig/OJB.properties); Doing this loads OJB.properties without problems. But repository.xml

repository.xml partially read

2005-03-18 Thread Bruno CROS
Hello, I setup a repository.xml as ojb-blank project description of my file is below. This file works very well on Tomcat over windows, but not at all on AIX ! AIX log tells me that No repository is loaded, the parsing seems to stop in a subfile !! (see below) so OJB starts with empty

Re: repository.xml partially read

2005-03-18 Thread Thomas Dudziak
Might be that the XML parser has problems with entities. You can try changing the XML parser, e.g. putting Xerces into the lib folder. Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: repository.xml partially read

2005-03-18 Thread Martin Kalén
Bruno CROS wrote: I setup a repository.xml as ojb-blank project description of my file is below. This file works very well on Tomcat over windows, but not at all on AIX ! This is the third subject on the same issue in a pretty short time, the other two were resolved by changing DTD declaration

Re: repository.xml partially read

2005-03-18 Thread Bruno CROS
repository.dtd is in classpath, and i tried to declare it in repository.xml with SYSTEM repository.dtd. No way. I think the failure occurs because i have 2 jdbc-descriptors, and dtd allows only one connector (according to doc in file). But what i cannot understand, is that it works fine

Re: repository.xml partially read

2005-03-18 Thread Thomas Dudziak
No, you can have multiple jdbc-connection-descriptor elements, but they need to differ in the jcd-alias. Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: repository.xml partially read

2005-03-18 Thread Bruno CROS
Waouh, was just an awful bad naming. I had forgotten than Windows is not case sensitive !!! Unix is... argh the xml database in my repository.xml was named repository_database_rushDB instead of repository_database_rushDb. So confuseD. So sorrY. Thanks again for your help. ++ On Fri, 18 Mar

AW: New OJB Generator3.0 based on JET Framework of Eclipse with repository.xml view

2005-01-19 Thread Matthias Roth
of Eclipse with repository.xml view hi matthias, are you working for BIT.admin ? jakob Matthias Roth schrieb: Hello there is a new OJB generator with source and structure of a Eclipse Plug-in Project: http://www.impart.ch/download.htm What's new what's different: - New

Re: AW: New OJB Generator3.0 based on JET Framework of Eclipse with repository.xml view

2005-01-19 Thread Jakob Braeuchi
PROTECTED] Gesendet: Mittwoch, 19. Januar 2005 19:14 An: OJB Users List Betreff: Re: New OJB Generator3.0 based on JET Framework of Eclipse with repository.xml view hi matthias, are you working for BIT.admin ? jakob Matthias Roth schrieb: Hello there is a new OJB generator with source and structure

New OJB Generator3.0 based on JET Framework of Eclipse with repository.xml view

2005-01-18 Thread Matthias Roth
Hello there is a new OJB generator with source and structure of a Eclipse Plug-in Project: http://www.impart.ch/download.htm What's new what's different: - New repository.xml Tree View - The generator part is now based on the JET Framework of eclipse. So it is possible to change now easily

Re: repository.xml datasource

2004-12-16 Thread Thomas Dudziak
liooil wrote: OK. Thanks for your advice about where to put my OJB.properties in my war. But, i'm confused about the following trace. Is that mean, it found my repository.xml or not. Or is just not properly coded? I'm trying to rech a data source ... 16:36:28,484 INFO [RepositoryPersistor] OJB

repository.xml performance tuning best practice

2004-11-18 Thread Jin Bal
Hi I have an OJB project in poroduction which runs fairly well. I am now interested in tuning OJB's performance / efficiency as I know that my vanilla mapping is not as optimised as it should be (i.e. lazy loading etc). Are there any general (I understand that this issue is quite specific to

Repository.xml question

2004-07-30 Thread Noureddine BEKRAR
Hi all; I want to put by an automatic way the generated idProjectVersion on the projectversions table as id of the versions related to the projectVersion. Is it possible only by changing the repository.xml or should i change the structure of the Database? Thank you in advance

Re: Repository.xml question

2004-07-30 Thread Noureddine BEKRAR
- From: Noureddine BEKRAR [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 30, 2004 12:06 PM Subject: Repository.xml question Hi all; I want to put by an automatic way the generated idProjectVersion on the projectversions table as id of the versions related to the projectVersion

Re: repository.xml in a jar

2004-03-29 Thread Stefan Schlösser
in other applications. The thing is, I want to keep the OJB.properties and repository.xml inside the jar, since it does not change. If the application that will house this jar has mappings of its own, how do I make OJB see both sets of configurations? Is there way to do this? Can I give

repository.xml in a jar

2004-03-26 Thread Charles N. Harvey III
Hello. I am trying to build an interface to a particular database and package it all up in a jar. Then have this jar included in other applications. The thing is, I want to keep the OJB.properties and repository.xml inside the jar, since it does not change. If the application that will house

Create table based on repository.xml information

2004-03-05 Thread Oleg Lebedev
Hi. I have an existing database and I am using a plug-in to generate repository.xml file for all the tables in this database. Now, I want to be able to connect to a different database via OJB and create the same tables based on the repository.xml. Is it possible to drop/create a table based

RE: XSD to Repository.xml or Torque.xml

2004-02-13 Thread Guillaume Nodet
fevrier 2004 23:27 A : [EMAIL PROTECTED] Objet : XSD to Repository.xml or Torque.xml I'm possibly about to work on something to transform an XSD into a Torque database schema XML file (and from there, Torque can generate a respository.xml), and was wondering if anyone has done something like

XSD to Repository.xml or Torque.xml

2004-02-12 Thread David Hooker
I'm possibly about to work on something to transform an XSD into a Torque database schema XML file (and from there, Torque can generate a respository.xml), and was wondering if anyone has done something like this already. I've already generated my Java objects from the XSD, using Castor. I'm

Re: XSD to Repository.xml or Torque.xml

2004-02-12 Thread Brian McCallister
If I were going to do it I would probably start with XMLBeans and use the bean property setters for populating values... but haven't done it. If I had data with a defined xml schema I would probably be looking to store it in an xml database -- though those are of limited supply at the moment

Re: Checking repository.xml with dtd

2004-02-05 Thread Tino Schöllhorn
reference-descriptor, then all collection-descriptor regards, Armin Tino Schöllhorn wrote: Hi, I want to ensure that the repository.xml-file is syntactically (is that english) correct. So I am trying to validate it against its dtd with the following code: DocumentBuilderFactory factory

FYI about Resin 3.0.6 and repository.xml

2004-01-30 Thread Robert S. Sfeir
After much digging around for issues with repository.xml throwing exceptions on init of the OJB repository, I've discovered that the validator in 3.0.6 has some bug in it which causes repository.xml not to parse right and fail startup. Resin 3.0.4 doesn't have this problem. I've made Scott

Re: error parsing repository.xml

2004-01-10 Thread Armin Waibel
files I get a NullPointer exception during the parse due to isolation-level being null. Now this appears to be an internal table lookup, so I'm not sure how it can fail. Also, I copied the repository.xml file from the OJB distribution as my starting point, so the isolation-level attribute

Re: error parsing repository.xml

2004-01-10 Thread Armin Waibel
Hi again, maybe the problem could be the isolation-level set on descriptor-repository element level (repository.xml file), this level is used as default level in class-descriptor. Do you set isolation-level attribute on this level? How does your repository.xml file look like? Should

Re: error parsing repository.xml

2004-01-10 Thread Larry V. Streepy, Jr.
It turns out that my application was picking up an old repository.xml, one that was actually just the user fragment. So, it started with a class-descriptor. Since there was no DTD declared in the file, there was no default value for isolation-level and, thus, the parser returned null

error parsing repository.xml

2004-01-09 Thread Larry V. Streepy, Jr.
directory and add in the directory that contains the properties files I get a NullPointer exception during the parse due to "isolation-level" being null. Now this appears to be an internal table lookup, so I'm not sure how it can fail. Also, I copied the repository.xml file from the OJ

Re: error parsing repository.xml

2004-01-09 Thread Larry V. Streepy, Jr.
"isolation-level" being null. Now this appears to be an internal table lookup, so I'm not sure how it can fail. Also, I copied the repository.xml file from the OJB distribution as my starting point, so the isolation-level attribute is being properly specified. I've attached the debug outp

Re: error parsing repository.xml

2004-01-09 Thread Larry V. Streepy, Jr.
parse due to "isolation-level" being null. Now this appears to be an internal table lookup, so I'm not sure how it can fail. Also, I copied the repository.xml file from the OJB distribution as my starting point, so the isolation-level attribute is being properly specified. I've attac

OJB.properties/repository.xml in a jar file? Was Re: Problems using Tomcat + OJB

2003-12-03 Thread Jason Pyeron
to WEB-INF/classes and worked. Unfortunatelly, in the OJB.properties, I had to write the fully static directory to the repository file running at Tomcat. repositoryFile=../webapps/maritima/WEB-INF/classes/repository.xml I just have: repositoryFile=repository.xml Also you need

Re: OJB.properties/repository.xml in a jar file? Was Re: Problems using Tomcat + OJB

2003-12-03 Thread Gus Heck
Jason Pyeron wrote: We are trying to deploy an application as a single jar file. But we cant seem to get the OJB subsystem to load its files from inside the jar. any suggestions? I suggest you provide the list with error messages and details about what you have tried that didn't work,

repository.xml

2003-11-12 Thread Gus Heck
framework. Is there a way around this? -Gus Gus Heck wrote: This is probably a terribly noob question, but is there a good way to generate my object mappings for the repository.xml? Seems like a lot of tedium to do it for more than one or two classes. -Gus

Re: repository.xml

2003-11-12 Thread Brian McCallister
Right now you need to have both the jdo and the repository.xml mappings. It is a pain =/ A cleaner JDO implementation based around the OTM is under development, but won't be advertised in a release until post 1.0. It is probably the highest priority post-1.0 objective and stubs and partial

Tools to create database schema from 'repository.xml' ?

2003-10-16 Thread Christophe.Demarey
Hi, I had a look in your test application but I don't find how to generate the database schema binding to the repository.xml file. From the repository.xml file, is it possible to : 1) generate a sql file to create tables in the database? 2) execute this sql file in the database to create

RE: Tools to create database schema from 'repository.xml' ?

2003-10-16 Thread Cobble, Tim
How about tools to create the repository.xml from either DDL or database? -Original Message- From: Christophe.Demarey [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 7:45 AM To: OJB Users List Subject: Tools to create database schema from 'repository.xml' ? Hi, I had a look

Re. : RE: Tools to create database schema from 'repository.xml' ?

2003-10-16 Thread stephane . labbe-ext
You have one reverse tool : ant reverse-db De Cobble, Tim : How about tools to create the repository.xml from either DDL or database? -Original Message- From: Christophe.Demarey [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 7:45 AM To: OJB Users List Subject

RE: Tools to create database schema from 'repository.xml' ?

2003-10-16 Thread Antonio Gallardo
Cobble, Tim dijo: How about tools to create the repository.xml from either DDL or database? See Druid - http://druid.sf.net/ . The CVS version include that an OJB generator. You can also wait for the next release that will be today or tomorrow. Druid also has an import tool from a JDBC

RE: Tools to create database schema from 'repository.xml' ?

2003-10-16 Thread Cobble, Tim
Nice, sounds better than the perl script my friend wrote. Will check it out! Tim -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 8:39 AM To: [EMAIL PROTECTED] Subject: RE: Tools to create database schema from 'repository.xml

RE: Tools to create database schema from 'repository.xml' ?

2003-10-16 Thread Antonio Gallardo
Cobble, Tim dijo: Nice, sounds better than the perl script my friend wrote. Will check it out! Nice to hear that! I hope it would help you. If you find a bug please feel free to contact the devel mail list on druid. Best Regards, Antonio Gallardo

Re: Tools to create database schema from 'repository.xml' ?

2003-10-16 Thread Marcus Breese
I actually use a combination of Torque and the ojb-doclet to create the database and the repository.xml file. It also creates a skeleton object model. Let me know if you're interested in my ant scripts and velocity templates... On Thursday, October 16, 2003, at 06:44 AM, Christophe.Demarey

How generate sql from repository.xml file ?

2003-10-15 Thread Christophe.Demarey
Hi, I had a look in your test application but I don't find how to generate the sql file binding to the repository.xml file. From the repository.xml file, is it possible to : 1) generate a sql file to create tables in the database? 2) execute this sql file in the database to create the database

RE: externalize db-props from repository.xml

2003-09-29 Thread Charles Anthony
PROTECTED] Subject: externalize db-props from repository.xml Hi, I want to move the database-alias, username and password from repository.xml to a *.properties-file, because this will make the deploy process (test-/production-environment) much easier. For example : repository.xml

Re: externalize db-props from repository.xml

2003-09-29 Thread Justis Peters
, I want to move the database-alias, username and password from repository.xml to a *.properties-file, because this will make the deploy process (test-/production-environment) much easier. For example : repository.xml: jdbc-connection-descriptor dbalias=${db.alias} password=${db.passwd

serialized repository.xml causes NullPointerException (problems with inheritance?)

2003-09-29 Thread Matthias Huber
Hi OJB users, we are using db-ojb-1.0.rc4 compiled with jdk13 With our repository.xml not serialized everthing works fine. Setting the flag useSerializedRepository=true repository.xml.serialized is created. The next time connecting to ojb (using repository.xml.serialized) the following exception

RE: generating DDL from repository.xml

2003-08-14 Thread Durham David Contr 805 CSS/SCBE
I use the following xsl to convert the repository file to torque-style schema. I'm going to take a look at this. I attempted to write one, but it was a disaster. (my first XSL) Thanks, Dave - To unsubscribe, e-mail:

RE: generating DDL from repository.xml

2003-08-12 Thread John M
it for generating the torque XML file but when I read the documentation it appears to have the functionality you want. On Mon, 2003-08-04 at 16:11, Durham David Contr 805 CSS/SCBE wrote: I would like to generate the DDL from the class-definitions in repository.xml. I see that the unit tests

Re: generating DDL from repository.xml

2003-08-05 Thread Thomas Mahler
in repository.xml. I see that the unit tests that come with OJB use Torque to generate DDL. Is there a way to take the repository.xml and run it through Torque? It seems like a transformation might be in order to take the data from the repository.xml format and put it in Torque's format. (As you

Re: generating DDL from repository.xml

2003-08-05 Thread Eli Anderson
would like to generate the DDL from the class-definitions in repository.xml. I see that the unit tests that come with OJB use Torque to generate DDL. Is there a way to take the repository.xml and run it through Torque? It seems like a transformation might be in order to take the data from

Error reading repository.xml

2003-08-04 Thread Norival Neri Junior
I starting in OJB now and found problems: [BOOT] ERROR: Error in instantiation of PersistenceBrokerFactory class Could not read repository class descriptor data, using repository: repository.xml: no protocol: repository.dtd If file repository.dtd and repository.xml are at the same directory

RE: Error reading repository.xml

2003-08-04 Thread oliver . matz
Hello Norival, -Original Message- From: Norival Neri Junior [mailto:[EMAIL PROTECTED] there was a thread about this issue 5 weeks ago. (search for 'protocol' in the subject). Try the workarounds mentioned there. Olli

generating DDL from repository.xml

2003-08-04 Thread Durham David Contr 805 CSS/SCBE
I would like to generate the DDL from the class-definitions in repository.xml. I see that the unit tests that come with OJB use Torque to generate DDL. Is there a way to take the repository.xml and run it through Torque? It seems like a transformation might be in order to take the data from

Re: Error reading repository.xml

2003-08-04 Thread Ketan Gangatirkar
Neri Junior wrote: I starting in OJB now and found problems: [BOOT] ERROR: Error in instantiation of PersistenceBrokerFactory class Could not read repository class descriptor data, using repository: repository.xml: no protocol: repository.dtd If file repository.dtd and repository.xml

Re: How to serialize repository.xml

2003-07-16 Thread Thomas Mahler
Hi Ricardo Ricardo Tercero Lozano wrote: I've readed than OJB can be configured (through OJB.properties file) to use a serialized version of repository.xml file. That's fine, but... how can I get a serialized version of this file? If you turn on useSerializedRepository=true OJB

R: Problem with repository.xml when upgrading from RC2 to RC3

2003-06-17 Thread Farnea Massimiliano
We haver an app running ok under Tomcat 3.3 JVM 1.3.1, OJB RC2 When we upgrade to OJB RC3, we could not initialize the OJB broker. The error is U should upgrade configuration files too: OJB.properties, repository.dtd and repository.xml. Check the differences with the files released

Re: R: Problem with repository.xml when upgrading from RC2 to RC3

2003-06-17 Thread gfaerman
[EMAIL PROTECTED] 17/06/2003 12:33 p.m. Please respond to OJB Users List [EMAIL PROTECTED] To OJB Users List [EMAIL PROTECTED] cc Subject R: Problem with repository.xml when upgrading from RC2 to RC3 We haver an app running ok under Tomcat 3.3 JVM 1.3.1, OJB RC2 When we upgrade to OJB RC3

Re: R: Problem with repository.xml when upgrading from RC2 to RC3. FIXED!!!

2003-06-17 Thread gfaerman
] cc Subject R: Problem with repository.xml when upgrading from RC2 to RC3 We haver an app running ok under Tomcat 3.3 JVM 1.3.1, OJB RC2 When we upgrade to OJB RC3, we could not initialize the OJB broker. The error is U should upgrade configuration files too: OJB.properties

Re: Using Torque to generate repository.xml, etc...

2003-06-15 Thread Marcus Breese
Here's what we decided to do with our design problem. I'm looking for any feedback. We're going to generate a BaseObject class and create the database using the Torque build scripts using a custom project-schema.xml file. Additionally, we're going to alter the Velocity scripts to add in

Re: Using Torque to generate repository.xml, etc...

2003-06-12 Thread Danilo Tommasina
hi, I've looked at using the OJB-XDoclet project to do the same type of thing, but it seems to have some bugs as well. Plus, I prefer to do my modeling from the DB, and just extend those base classes. yep, we also have to work with reverse engineering, we are using torque because it gives

Re: Using Torque to generate repository.xml, etc...

2003-06-11 Thread Danilo Tommasina
nothing, so I thought I'd just ask... Is anyone out there using the build scripts included with torque to build the repository.xml file(s) and possibly associated classes? I'm currently using them (somewhat modified) to build my object model classes and the repository, but I'm having some

Re: Multiple Databases in one repository.xml?

2003-06-11 Thread Armin Waibel
Hi Dave, - Original Message - From: David C. Hicks [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 4:09 PM Subject: Re: Multiple Databases in one repository.xml? Hey Armin, Thanks for the response. Upon reading through what you've provided I

Multiple Databases in one repository.xml?

2003-06-10 Thread David C. Hicks
From reading through the OJB documentation on repository.xml, I get the impression that it is possible to have connection pools to two different data sources in the same application, however I don't see any way to map which objects are persisted in which data source. Has anyone ever tried

Using Torque to generate repository.xml, etc...

2003-06-10 Thread Marcus Breese
I'm sorry if this has been covered before, a quick search yielded nothing, so I thought I'd just ask... Is anyone out there using the build scripts included with torque to build the repository.xml file(s) and possibly associated classes? I'm currently using them (somewhat modified) to build my

Re: Multiple Databases in one repository.xml?

2003-06-10 Thread Armin Waibel
Hi David, - Original Message - From: David C. Hicks [EMAIL PROTECTED] To: OJB [EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 8:54 PM Subject: Multiple Databases in one repository.xml? From reading through the OJB documentation on repository.xml, I get the impression that it is possible

binary repository.xml

2003-05-28 Thread RBaron-Riege
Hi, I´d like to create a binary form of my repository.xml to increase speed at loading. any Ideas? Thanks in advance for any comment. cheers, Ralf

RE: binary repository.xml

2003-05-28 Thread Mahler Thomas
the startup sequence of OJB. # If set to true changes to the repository.xml file will only be detected # after maually deleting the repository.xml.serialized file. useSerializedRepository=false -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003

Re: binary repository.xml

2003-05-28 Thread Raymond Barlow
if it ain't broke, don't fix it. -Raymond Barlow [EMAIL PROTECTED] wrote: Hi, I´d like to create a binary form of my repository.xml to increase speed at loading. any Ideas? Thanks in advance for any comment. cheers, Ralf

RE: binary repository.xml

2003-05-28 Thread Mahler Thomas
Using the serialized repository can speed up the OJB load phase a lot, as xml parsing is avoided completely! -Original Message- From: Raymond Barlow [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:02 AM To: OJB Users List Subject: Re: binary repository.xml Hi Ralf

Re: binary repository.xml

2003-05-28 Thread Raymond Barlow
. # Setting this flag to true will accelerate the startup sequence of OJB. # If set to true changes to the repository.xml file will only be detected # after maually deleting the repository.xml.serialized file. useSerializedRepository=false -Original Message- From: [EMAIL PROTECTED] [mailto

Re: binary repository.xml

2003-05-28 Thread Armin Waibel
] Sent: Wednesday, May 28, 2003 11:07 AM Subject: Re: binary repository.xml Ah, cool! OJB Rocks :) Mahler Thomas wrote: That's easy: Just use the following flag in OJB.properties: # If the useSerializedRepository entry is set to true, OJB tries to load a # serialized version

Re: repository.xml question

2003-04-04 Thread Armin Waibel
Hi Bonnie, - Original Message - From: Bonnie MacKellar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 04, 2003 12:11 AM Subject: repository.xml question Which of the files in the repository.xml hierarchy do I really need if I am using OJB in a servlet based app under

RE: repository.xml question

2003-04-04 Thread BURT, RANDALL (CONTRACTOR)
Here's my repository.xml: ?xml version=1.0 encoding=UTF-8? !-- This is a sample metadata repository for the ObJectBridge System. Use this file as a template for building your own mappings-- !-- defining entities for include-files -- !DOCTYPE descriptor-repository SYSTEM repository.dtd

  1   2   >