Giter VIP home page Giter VIP logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
"SP_MAIN" - знакомая схема :)
Миша, привет! =) 
--
Антон Решетников

Original comment by [email protected] on 21 Jul 2012 at 9:40

  • Changed state: Accepted

from oracle-ddl2svn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Привет Антон!
Оказывается это твой проект? 
Не знал! Уже давно пользусь, не первый баг 
описываю Ж)
Вижу с ораклом не завязываешь!
Где сам сейчас?  

Original comment by [email protected] on 21 Jul 2012 at 10:42

from oracle-ddl2svn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
Не воспроизводится, разбирайся, почему у 
тебя объект с именем
SYS_PLSQL_77728_DUMMY_1
находится в select * from user_objects
В то время. как создаешь объект PACKAGE PKG_SPB

Original comment by [email protected] on 24 Jul 2012 at 5:44

  • Changed state: WontFix

from oracle-ddl2svn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
судя по всему это присходит в 11-м оракле 
когда делаем невное объявление типов

как в приведенном примере - в пакете
CREATE OR REPLACE PACKAGE PKG_SPB AS
    TYPE tViewRow   IS RECORD(
                                id NUMBER(38),
                                id_parent NUMBER(38),
                                name VARCHAR2(1024),
                                is_leaf NUMBER(1));
    TYPE tViewTable IS TABLE OF tViewRow;    
END PKG_SPB; 

причем если оприделить эти типы явно
create or replace type tViewRow    as object
(
 id NUMBER(38),
 id_parent NUMBER(38),
 name VARCHAR2(1024),
 is_leaf NUMBER(1)
)

create or replace type tViewTable  as table of tViewRow ;

то ошибок не возникает

user_objects - системная вещь и рулить что туда 
оракл засовывает не в моей власти

могу предложить при экспорте типов данных - 
не экспортировать типы по имени с маской
"SYS_PLSQL_%" - они созданы ораклом неявно и 
отдельного определения не имеют



Original comment by [email protected] on 24 Jul 2012 at 10:26

from oracle-ddl2svn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
>не экспортировать типы по имени с маской
>"SYS_PLSQL_%" - они созданы ораклом неявно и 
отдельного определения не имеют

Ясно, в исключениях для выгрузки это можно 
настроить
  <util:map id="exclude_map_pattern">
        <!-- currently only '*' wildcard supported-->

    </util:map>

Original comment by [email protected] on 24 Jul 2012 at 10:59

from oracle-ddl2svn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 24, 2024
ок, перешел на версию oracle-ddl2svn-v1.5.3
прописал исключение
        <entry key="TYPE">
            <set>
                <value>SYS_PLSQL_*</value>
            </set>
        </entry>

пускаю 
java -jar scheme2ddl.jar -url sp_main/[email protected]:1521/one 
-o sheme\sp_main 
получаю
Exception in thread "main" org.springframework.jdbc.BadSqlGrammarException: 
ConnectionCallback; bad SQL grammar []; nested exception is 
java.sql.SQLException: ORA-00942: таблица или 
представление пользователя не существует

полный лог и конфиг прикладываю

Original comment by [email protected] on 24 Jul 2012 at 1:36

Attachments:

from oracle-ddl2svn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.