13

Pimping SQL Developer and Data Modeler

Embed Size (px)

DESCRIPTION

Every development shop is unique, and sometimes that uniqueness can hinder using tools. SQL Developer and Data Modeler have multiple mechanisms that allow for customizations. These customizations can range from simple to complex and can help tailor the tooling to any environment. Some are as simple as colored warning to remind the user what is production vs. development. Some could auto-generate code by walking over a data model. The most complex can change anything at all in the tool. Ever think of a command that should be in SQL Plus scripting? Want to auto-generate table APIs?

Citation preview

Page 1: Pimping SQL Developer and Data Modeler
Page 2: Pimping SQL Developer and Data Modeler

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted

Extending ( pimping ) SQL Developer and Data Modeler

Kris [email protected] || @krisriceSenior Director of DevelopmentDatabase Development Tools Group

Page 3: Pimping SQL Developer and Data Modeler

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Agenda

Simple and Easy changes Custom xml N Level reporting Actionable Reports Data Modeler and Javascript

Page 4: Pimping SQL Developer and Data Modeler

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

PreferencesLinkable sql results

• Fonts, Colors, Gutters, Look and Feel, Colored highlighting, Tab Spacing, Blink Rates, Insight timings, …

Page 5: Pimping SQL Developer and Data Modeler

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Grid EnhancementsLinkable sql results

• Link sql results to other objects

• Link to source code with line numbers

Page 6: Pimping SQL Developer and Data Modeler

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

XML Based Enhancements

• If you can write xml, you can enhance the tool.• Many places in SQL Developer can be modified with xml• Documented XML Schemas are provided on OTN

Page 7: Pimping SQL Developer and Data Modeler

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Customize Menus

• Customize with xml– Tree Navigation– Editors– Menu Actions

• Shared from a central file server or host on a webserver

Page 8: Pimping SQL Developer and Data Modeler

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Substititions from Dialogs

• replace #0# with value • replace #"0"# with ,"value"• replace #,0# with ,value when not null and nothing when null• replace #,"0"# with ,"value" when not null and nothing when null• replace #esc(0)# with value with sql escaped chars

Page 9: Pimping SQL Developer and Data Modeler

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Advanced Reports

• Version aware reports• Access specific sql• Nested Reports• Actions on Rows

Page 10: Pimping SQL Developer and Data Modeler

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Modeler Transformations

• Interact with the model programmatically• Javascript included within the JDK• Multiple languages to choose from with JSR223

Page 11: Pimping SQL Developer and Data Modeler

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Modeler Transformations

• Interact with the model programmatically• Javascript included within the JDK• Multiple languages to choose from with JSR223

Page 12: Pimping SQL Developer and Data Modeler

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Java Extensions

• Built from jDeveloper SDK– http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index-

091862.html

• Soon to be publishing a jumpstart extension

Page 13: Pimping SQL Developer and Data Modeler

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

3rd Party Extensions

• DBmaestro– http://www.dbmaestro.com/– http://www.dbmaestro.com/products-solutions/dbmaestro-teamwork-features/

• Fourth Elephant– http://www.fourthelephant.com/insider/demo/

• Keep Alive– https://bitbucket.org/scristalli/sql-developer-4-keepalive