DBRE « Development « Spring Q&A





1. ERROR: DBRE with multiple relationships between same tables    forum.springsource.org

ERROR: DBRE with multiple relationships between same tables Hello, I have two tables(type and type_group) in database that have multiple relationships(one-to-many many-to-many) between each other: type --< type_group type >-< type_group ...

2. DBRE leaving out _DbManaged and _ToString    forum.springsource.org

DBRE leaving out _DbManaged and _ToString Hi, I ran DBRE against a live mysql db with approximately 100 tables. I now have all the entities in their ITD managed forms - ...

3. DBRE fkey: Type for table * could not be found but was referenced by table *    forum.springsource.org

DBRE fkey: Type for table * could not be found but was referenced by table * When running the command: Code: reverse engineer --schema konakart --package ~.domain I am getting the ...

4. How to ignore a table in DBRE    forum.springsource.org

This is probably obvious, but I seem to be missing it. I've reverse engineered a table, but one table is causing me problems. It's not a table I need, so is ...

5. weird dbre.xml    forum.springsource.org

Hello, I have a mysql db and I issued the followings from roo command line database introspect --schema dbo database reverse engineer --schema dbo --package domain The generated xml has many ...

6. Undo manage and DBRE    forum.springsource.org

Undo manage and DBRE All, We have been playing around with ROO 1.1.3 and DBRE. We have reversed engineered some of the tables. While doing so we forgot to add one ...

7. DBRE: how avoid bidirectiona association?    forum.springsource.org

DBRE: how avoid bidirectiona association? Ok now I'm near to spamming.. :P How I avoid to generate bi-directional association? I have to generate only few entities for some tables.. One of ...

8. Change fields created by DBRE Add on    forum.springsource.org

Hi, I am using DBRE Add on in my application. I have to change some default generated fields, like Change input box to Check box and store 1 or 0 into ...

9. Using DBRE for Lists    forum.springsource.org

Using DBRE for Lists Hello, I have used the DBRE feature to create an entity ~.domain.Person from mysql database which has a table called "person". Now I made another entity called ...





10. Clarrification needed on DBRE verses manual method    forum.springsource.org

Clarrification needed on DBRE verses manual method Hi, I have a small project working using DBRE, it generates many files, which match what I have read in the manual DBRE would ...

11. dbre generated wrong type    forum.springsource.org

dbre generated wrong type dbre.xml

12. dbre generated wrong pk    forum.springsource.org

dbre generated wrong pk [ERROR] intertype declaration from com.ijqg.pos.domain.OrderDetail_Roo_Jpa_Entity conflicts with intertype declaration: java.lang.String com.ijqg.pos. domain.OrderDetail.getId() from com.ijqg.pos.domain.OrderDetail_Roo_DbManaged detail is: [WARNING] inter-type constructor does not contain explicit constructor call: field initializers ...

13. Can DBRE differentiate between joined-subclasses vs 1-many relationships?    forum.springsource.org

I know I can manually tweak the class files once generated and add inheritance annotations....but what can make DBRE mechanism detect inheritance automatically? Say I have a Dept-to-Employee 1-to-many relation. And ...

14. Question on generating many-to-many relationship generation via DBRE    forum.springsource.org

Hi all: In reading the Roo documentation, I observed this: Many-to-many associations are created if a join table is detected by DBRE. To be identified as a many-to-many join table, the ...

15. DBRE Custom field names    forum.springsource.org

Is it possible to override the naming strategy that Roo dbre uses when creating Roo_DbManaged ITDs? For example, we have a database which uses 2 char prefixes on column names to ...

16. Problem getting started with DBRE    forum.springsource.org

Problem getting started with DBRE I am using Roo 1.2.0.M1 [rev 1fa252f] I have some troubles getting started with DBRE; I can't make Roo accept H2 as my database. Here's what ...





17. DBRE - Null pointer    forum.springsource.org

Hi, I have setup a oracle database and updated the database.properties to point to the database. When i run database reverse engineer, i get this dbre roo> database reverse engineer --schema ...

18. Awesome DBRE    forum.springsource.org

Hello I just DBREalized one off my 1.1.0M1 apps... It worked fantastic. It is out of this world!. Thx Roo team jD

19. DBRE generates incorrect 'mappedBy' name in 1-to-many    forum.springsource.org

DBRE generates incorrect 'mappedBy' name in 1-to-many DBRE generates incorrect mappedBy. The bug seems to be in using foreign key/field sequence: Example: One the one-2-many side (Course): @OneToMany(mappedBy = "course") private ...

20. addon-dbre issues    forum.springsource.org

CLOB(Types.CLOB, new JavaType("java.lang.Byte", 1, DataType.PRIMITIVE, null, null)), -> CLOB(Types.CLOB, JavaType.STRING_OBJECT),

21. DBRE and DB2400    forum.springsource.org

I'm hoping Alan Stewart can help me here. I'm attempting DBRE on my DB2400 datasource. Alan you added support for DB2400 back in August when I showed you there was an ...

22. DBRE introspect command creates an xml file with no table    forum.springsource.org

DBRE introspect command creates an xml file with no table I have created a Roo project to test DBRE feature of Roo. However when I typed in the database introspect command ...

23. DBRE -> trying to understand how things work    forum.springsource.org

DBRE -> trying to understand how things work Hi, I am playing a lot with DBRE these days and think it is a great tool, although I face some things that ...

24. Question about DBRE and Sequences    forum.springsource.org

Question about DBRE and Sequences Hi, I'm using the database reverse engineering, and I'm running into problems getting the generated code to work after I compile and run it. It's failing ...