Skip to content

pljava.ddr This script file related issues #491

Open
@BruceBaiz

Description

When I import the Pljava-API dependency into java, at which point I can use some of the features of pljava in java, I can then type my project into a jar package with maven and install the jar package into the postgresql database using the install_jar method.
My first problem is that some of the annotations in the pljava-api dependencies, such as @function, @MappedUDT, @BaseUDT, etc., I can't figure out how to use them.
My second problem is that I don't understand what the pljava.ddr file is for. Will the contents of the.ddr script file be automatically executed when I install the jar package into postgresql? If so, some of the methods I defined in java or some of the entity types I defined in java such as Complex need to be used in postgresql, then how do I properly generate the.ddr file, How to correctly map a Complex class and its methods in java to a postgresql database. If not, how am I supposed to install some of the entity types, methods, operators, and cast I defined in java properly into postgresql for use?

I'm very new to pljava. Any help would be really appreciated.

java version - 11
postgresql version -14
apache maven - 3.9.6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions