Questions tagged [junction]

A junction (also called a soft link) is a symbolic link of a special type of file that contains a reference to another file or directory. Junctions can link directories located on different local volumes on the same computer. Otherwise, junctions operate identically to hard links. Junctions are implemented through reparse points.

120 questions
2
votes
1 answer

How to safely remove folder without removing contents of a junction?

I've been search for a shell (cmd) solution for this for a while and haven't found any. So I wanted to create a Junction but first I need remove the folder if it exists (Junction from sysinterals won't let me ovewrite this). My first solution was to…
Nux
  • 9,276
  • 5
  • 59
  • 72
2
votes
2 answers

Multiple tables referencing one table using multiple junction tables

I have the following table that will store a file (image, PDF, etc.) CREATE TABLE `tbl_file` ( `id` INT(10), `size` FLOAT, `name` VARCHAR(45), `type` VARCHAR(16), `content` BLOB, `date_time` TIMESTAMP, PRIMARY KEY (`id`)…
gehad
  • 1,205
  • 3
  • 12
  • 17
2
votes
1 answer

Many-to-many insert query with PHP/mysqli

I have a database with a table of YouTube playlists, a table of video references and a junction table connecting them in a many-to-many relationship. I have been trying to create a PHP/mysqli function that adds a YouTube video reference into the…
Mr.Oz
  • 367
  • 4
  • 16
1
vote
1 answer

How can I query junction table

Hi im tyring to query junction table, but i cant figure it out. how can i find the five students with the highest score in a particular cours CREATE TABLE Students ( StudentID int NOT NULL PRIMARY KEY, LastName varchar(255) NOT NULL, FirstName…
mike colis
  • 13
  • 2
1
vote
1 answer

How to search two tables sharing a foreign key (I think I'm asking this right....)?

Dog entity @Entity(tableName = "dog_table") public class DogEntity { private int mId; private String mName, mBreed; etc.. } Toy entity @Entity(tableName = "toy_table") public class ToyEntity { private int mId; private String mName,…
1
vote
1 answer

Using git submodules as junctions in Windows

If a submodule's directory is a junction (Windows), git doesn't detect it as a repository and cannot work on such submodule. For example, imagine a repository root is in c:\src\root, and that has one submodule subrepo, that is a junction to another…
cbuchart
  • 10,847
  • 9
  • 53
  • 93
1
vote
0 answers

Android ROOM - How can you write a query containing multiple entities, and where is this done?

I am using the room persistence library for the first ever time and I'm trying to build a home workout tracker app. Entity Relations Diagram of Database Basically, I need to run a query which returns: 1. exercise_Name (from exercises entity) 2.…
Josh Brett
  • 77
  • 3
  • 18
1
vote
0 answers

Do I need to consider ownership and / or write permission when using either Window Symbolic Links or Junctions?

I have a Windows application which worked as expected when files that the application uses are actually on C drive (the same drive as the application). I then moved the files to D drive and have tried creating both symbolic links and junctions on C…
st2000
  • 286
  • 1
  • 16
1
vote
0 answers

Assets as directory junction/hardlink - change tracking not working correctly

I have TypeScript files outside of my ASP.NET MVC applications. These TypeScript files are common for multiple web apps. Previously, if one modified a TypeScript file, a watcher automatically built it into js, but after that, one had to build the…
nvirth
  • 1,599
  • 1
  • 13
  • 21
1
vote
0 answers

How can I read the WebSEAL server address from request?

I have a java enterprise application running on a websphere server. The application is only accessible through different webseal servers that do load balancing and authentication from different zones of the intranet. Intranet-URL:…
Joko
  • 600
  • 3
  • 15
1
vote
2 answers

SELECT query including a junction table

I have three tables: Product Product_ID Name Description Price Supplier Supplier_ID Name Location ProductSupplier Product_ID Supplier_ID ProductSupplier is the junction table instead of having the many to many relationship. I need to create a…
carrybag94
  • 13
  • 3
1
vote
1 answer

How to get the actual directory path on windows using .NET?

My need is simple. Given a Windows directory path all I want is the actual path. I am sure the terminology is wrong, so I am giving an example. Given C:\Documents and Settings\All Users the method should display: C:\ProgramData on windows…
mark
  • 59,016
  • 79
  • 296
  • 580
1
vote
1 answer

Exclude Junction-Points in Get-ChildItem

I'd like to get a list of all user-created folders in the C:\ drive. However I'm getting false results because of junction points. I tried $generalExclude += @("Users", "LocalData", "PerfLogs", "Program Files", "Program Files (x86)", "ProgramData",…
1
vote
1 answer

In a minifilter, how do I get the path the file was opened with?

My minifilter driver uses the post-create callback to communicate the path of the file being opened to a user-mode process. The minifilter uses a reparse point to identify which files need to be processed. PFLT_FILE_NAME_INFORMATION pFNI =…
Wade Brainerd
  • 103
  • 1
  • 6
1
vote
1 answer

junction and join in Realm in swift

I have three models to save Contcacts and Categories. and a junction table to save Contacts in different Categories as CategoryContacts. Category : import UIKit import Foundation import RealmSwift class Category: Object, IEntity { override class…
unos baghaii
  • 2,539
  • 4
  • 25
  • 42